Class LookupDiscoveredServiceResponse.Builder (0.4.0)

public static final class LookupDiscoveredServiceResponse.Builder extends GeneratedMessageV3.Builder<LookupDiscoveredServiceResponse.Builder> implements LookupDiscoveredServiceResponseOrBuilder

Response for LookupDiscoveredService.

Protobuf type google.cloud.apphub.v1.LookupDiscoveredServiceResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupDiscoveredServiceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides

build()

public LookupDiscoveredServiceResponse build()
Returns
TypeDescription
LookupDiscoveredServiceResponse

buildPartial()

public LookupDiscoveredServiceResponse buildPartial()
Returns
TypeDescription
LookupDiscoveredServiceResponse

clear()

public LookupDiscoveredServiceResponse.Builder clear()
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides

clearDiscoveredService()

public LookupDiscoveredServiceResponse.Builder clearDiscoveredService()

Discovered Service if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredService discovered_service = 1;

Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public LookupDiscoveredServiceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupDiscoveredServiceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides

clone()

public LookupDiscoveredServiceResponse.Builder clone()
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides

getDefaultInstanceForType()

public LookupDiscoveredServiceResponse getDefaultInstanceForType()
Returns
TypeDescription
LookupDiscoveredServiceResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiscoveredService()

public DiscoveredService getDiscoveredService()

Discovered Service if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredService discovered_service = 1;

Returns
TypeDescription
DiscoveredService

The discoveredService.

getDiscoveredServiceBuilder()

public DiscoveredService.Builder getDiscoveredServiceBuilder()

Discovered Service if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredService discovered_service = 1;

Returns
TypeDescription
DiscoveredService.Builder

getDiscoveredServiceOrBuilder()

public DiscoveredServiceOrBuilder getDiscoveredServiceOrBuilder()

Discovered Service if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredService discovered_service = 1;

Returns
TypeDescription
DiscoveredServiceOrBuilder

hasDiscoveredService()

public boolean hasDiscoveredService()

Discovered Service if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredService discovered_service = 1;

Returns
TypeDescription
boolean

Whether the discoveredService field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDiscoveredService(DiscoveredService value)

public LookupDiscoveredServiceResponse.Builder mergeDiscoveredService(DiscoveredService value)

Discovered Service if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredService discovered_service = 1;

Parameter
NameDescription
valueDiscoveredService
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder

mergeFrom(LookupDiscoveredServiceResponse other)

public LookupDiscoveredServiceResponse.Builder mergeFrom(LookupDiscoveredServiceResponse other)
Parameter
NameDescription
otherLookupDiscoveredServiceResponse
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupDiscoveredServiceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LookupDiscoveredServiceResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupDiscoveredServiceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides

setDiscoveredService(DiscoveredService value)

public LookupDiscoveredServiceResponse.Builder setDiscoveredService(DiscoveredService value)

Discovered Service if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredService discovered_service = 1;

Parameter
NameDescription
valueDiscoveredService
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder

setDiscoveredService(DiscoveredService.Builder builderForValue)

public LookupDiscoveredServiceResponse.Builder setDiscoveredService(DiscoveredService.Builder builderForValue)

Discovered Service if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredService discovered_service = 1;

Parameter
NameDescription
builderForValueDiscoveredService.Builder
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LookupDiscoveredServiceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides

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

public LookupDiscoveredServiceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupDiscoveredServiceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupDiscoveredServiceResponse.Builder
Overrides