Class LookupApiHubInstanceResponse.Builder (0.1.0)

public static final class LookupApiHubInstanceResponse.Builder extends GeneratedMessageV3.Builder<LookupApiHubInstanceResponse.Builder> implements LookupApiHubInstanceResponseOrBuilder

The LookupApiHubInstance method's response.`

Protobuf type google.cloud.apihub.v1.LookupApiHubInstanceResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupApiHubInstanceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides

build()

public LookupApiHubInstanceResponse build()
Returns
Type Description
LookupApiHubInstanceResponse

buildPartial()

public LookupApiHubInstanceResponse buildPartial()
Returns
Type Description
LookupApiHubInstanceResponse

clear()

public LookupApiHubInstanceResponse.Builder clear()
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides

clearApiHubInstance()

public LookupApiHubInstanceResponse.Builder clearApiHubInstance()

API Hub instance for a project if it exists, empty otherwise.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;

Returns
Type Description
LookupApiHubInstanceResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public LookupApiHubInstanceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupApiHubInstanceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides

clone()

public LookupApiHubInstanceResponse.Builder clone()
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides

getApiHubInstance()

public ApiHubInstance getApiHubInstance()

API Hub instance for a project if it exists, empty otherwise.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;

Returns
Type Description
ApiHubInstance

The apiHubInstance.

getApiHubInstanceBuilder()

public ApiHubInstance.Builder getApiHubInstanceBuilder()

API Hub instance for a project if it exists, empty otherwise.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;

Returns
Type Description
ApiHubInstance.Builder

getApiHubInstanceOrBuilder()

public ApiHubInstanceOrBuilder getApiHubInstanceOrBuilder()

API Hub instance for a project if it exists, empty otherwise.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;

Returns
Type Description
ApiHubInstanceOrBuilder

getDefaultInstanceForType()

public LookupApiHubInstanceResponse getDefaultInstanceForType()
Returns
Type Description
LookupApiHubInstanceResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasApiHubInstance()

public boolean hasApiHubInstance()

API Hub instance for a project if it exists, empty otherwise.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;

Returns
Type Description
boolean

Whether the apiHubInstance field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiHubInstance(ApiHubInstance value)

public LookupApiHubInstanceResponse.Builder mergeApiHubInstance(ApiHubInstance value)

API Hub instance for a project if it exists, empty otherwise.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;

Parameter
Name Description
value ApiHubInstance
Returns
Type Description
LookupApiHubInstanceResponse.Builder

mergeFrom(LookupApiHubInstanceResponse other)

public LookupApiHubInstanceResponse.Builder mergeFrom(LookupApiHubInstanceResponse other)
Parameter
Name Description
other LookupApiHubInstanceResponse
Returns
Type Description
LookupApiHubInstanceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupApiHubInstanceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LookupApiHubInstanceResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupApiHubInstanceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides

setApiHubInstance(ApiHubInstance value)

public LookupApiHubInstanceResponse.Builder setApiHubInstance(ApiHubInstance value)

API Hub instance for a project if it exists, empty otherwise.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;

Parameter
Name Description
value ApiHubInstance
Returns
Type Description
LookupApiHubInstanceResponse.Builder

setApiHubInstance(ApiHubInstance.Builder builderForValue)

public LookupApiHubInstanceResponse.Builder setApiHubInstance(ApiHubInstance.Builder builderForValue)

API Hub instance for a project if it exists, empty otherwise.

.google.cloud.apihub.v1.ApiHubInstance api_hub_instance = 1;

Parameter
Name Description
builderForValue ApiHubInstance.Builder
Returns
Type Description
LookupApiHubInstanceResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LookupApiHubInstanceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LookupApiHubInstanceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupApiHubInstanceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupApiHubInstanceResponse.Builder
Overrides