Class LookupDiscoveredServiceResponse.Builder (0.15.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LookupDiscoveredServiceResponse build()
Returns
Type Description
LookupDiscoveredServiceResponse

buildPartial()

public LookupDiscoveredServiceResponse buildPartial()
Returns
Type Description
LookupDiscoveredServiceResponse

clear()

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

clearDiscoveredService()

public LookupDiscoveredServiceResponse.Builder clearDiscoveredService()

Discovered Service if exists, empty otherwise.

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

Returns
Type Description
LookupDiscoveredServiceResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public LookupDiscoveredServiceResponse getDefaultInstanceForType()
Returns
Type Description
LookupDiscoveredServiceResponse

getDescriptorForType()

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

getDiscoveredService()

public DiscoveredService getDiscoveredService()

Discovered Service if exists, empty otherwise.

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

Returns
Type Description
DiscoveredService

The discoveredService.

getDiscoveredServiceBuilder()

public DiscoveredService.Builder getDiscoveredServiceBuilder()

Discovered Service if exists, empty otherwise.

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

Returns
Type Description
DiscoveredService.Builder

getDiscoveredServiceOrBuilder()

public DiscoveredServiceOrBuilder getDiscoveredServiceOrBuilder()

Discovered Service if exists, empty otherwise.

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

Returns
Type Description
DiscoveredServiceOrBuilder

hasDiscoveredService()

public boolean hasDiscoveredService()

Discovered Service if exists, empty otherwise.

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

Returns
Type Description
boolean

Whether the discoveredService field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value DiscoveredService
Returns
Type Description
LookupDiscoveredServiceResponse.Builder

mergeFrom(LookupDiscoveredServiceResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupDiscoveredServiceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value DiscoveredService
Returns
Type Description
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
Name Description
builderForValue DiscoveredService.Builder
Returns
Type Description
LookupDiscoveredServiceResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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