Class LookupDiscoveredWorkloadResponse.Builder (0.1.0)

public static final class LookupDiscoveredWorkloadResponse.Builder extends GeneratedMessageV3.Builder<LookupDiscoveredWorkloadResponse.Builder> implements LookupDiscoveredWorkloadResponseOrBuilder

Response for LookupDiscoveredWorkload.

Protobuf type google.cloud.apphub.v1.LookupDiscoveredWorkloadResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LookupDiscoveredWorkloadResponse build()
Returns
TypeDescription
LookupDiscoveredWorkloadResponse

buildPartial()

public LookupDiscoveredWorkloadResponse buildPartial()
Returns
TypeDescription
LookupDiscoveredWorkloadResponse

clear()

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

clearDiscoveredWorkload()

public LookupDiscoveredWorkloadResponse.Builder clearDiscoveredWorkload()

Discovered workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Returns
TypeDescription
LookupDiscoveredWorkloadResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public LookupDiscoveredWorkloadResponse getDefaultInstanceForType()
Returns
TypeDescription
LookupDiscoveredWorkloadResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiscoveredWorkload()

public DiscoveredWorkload getDiscoveredWorkload()

Discovered workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Returns
TypeDescription
DiscoveredWorkload

The discoveredWorkload.

getDiscoveredWorkloadBuilder()

public DiscoveredWorkload.Builder getDiscoveredWorkloadBuilder()

Discovered workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Returns
TypeDescription
DiscoveredWorkload.Builder

getDiscoveredWorkloadOrBuilder()

public DiscoveredWorkloadOrBuilder getDiscoveredWorkloadOrBuilder()

Discovered workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Returns
TypeDescription
DiscoveredWorkloadOrBuilder

hasDiscoveredWorkload()

public boolean hasDiscoveredWorkload()

Discovered workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Returns
TypeDescription
boolean

Whether the discoveredWorkload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDiscoveredWorkload(DiscoveredWorkload value)

public LookupDiscoveredWorkloadResponse.Builder mergeDiscoveredWorkload(DiscoveredWorkload value)

Discovered workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Parameter
NameDescription
valueDiscoveredWorkload
Returns
TypeDescription
LookupDiscoveredWorkloadResponse.Builder

mergeFrom(LookupDiscoveredWorkloadResponse other)

public LookupDiscoveredWorkloadResponse.Builder mergeFrom(LookupDiscoveredWorkloadResponse other)
Parameter
NameDescription
otherLookupDiscoveredWorkloadResponse
Returns
TypeDescription
LookupDiscoveredWorkloadResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDiscoveredWorkload(DiscoveredWorkload value)

public LookupDiscoveredWorkloadResponse.Builder setDiscoveredWorkload(DiscoveredWorkload value)

Discovered workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Parameter
NameDescription
valueDiscoveredWorkload
Returns
TypeDescription
LookupDiscoveredWorkloadResponse.Builder

setDiscoveredWorkload(DiscoveredWorkload.Builder builderForValue)

public LookupDiscoveredWorkloadResponse.Builder setDiscoveredWorkload(DiscoveredWorkload.Builder builderForValue)

Discovered workload if exists, empty otherwise.

.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;

Parameter
NameDescription
builderForValueDiscoveredWorkload.Builder
Returns
TypeDescription
LookupDiscoveredWorkloadResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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