Class LookupDiscoveredServiceResponse.Builder (0.47.0)

public static final class LookupDiscoveredServiceResponse.Builder extends GeneratedMessage.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

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

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 GeneratedMessage.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

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