public static final class LookupDiscoveredWorkloadResponse.Builder extends GeneratedMessageV3.Builder<LookupDiscoveredWorkloadResponse.Builder> implements LookupDiscoveredWorkloadResponseOrBuilder
Response for LookupDiscoveredWorkload.
Protobuf type google.cloud.apphub.v1.LookupDiscoveredWorkloadResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LookupDiscoveredWorkloadResponse.BuilderImplements
LookupDiscoveredWorkloadResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupDiscoveredWorkloadResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
build()
public LookupDiscoveredWorkloadResponse build()
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse |
buildPartial()
public LookupDiscoveredWorkloadResponse buildPartial()
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse |
clear()
public LookupDiscoveredWorkloadResponse.Builder clear()
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
clearDiscoveredWorkload()
public LookupDiscoveredWorkloadResponse.Builder clearDiscoveredWorkload()
Discovered Workload if exists, empty otherwise.
.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public LookupDiscoveredWorkloadResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupDiscoveredWorkloadResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
clone()
public LookupDiscoveredWorkloadResponse.Builder clone()
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
getDefaultInstanceForType()
public LookupDiscoveredWorkloadResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDiscoveredWorkload()
public DiscoveredWorkload getDiscoveredWorkload()
Discovered Workload if exists, empty otherwise.
.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;
Returns | |
---|---|
Type | Description |
DiscoveredWorkload |
The discoveredWorkload. |
getDiscoveredWorkloadBuilder()
public DiscoveredWorkload.Builder getDiscoveredWorkloadBuilder()
Discovered Workload if exists, empty otherwise.
.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;
Returns | |
---|---|
Type | Description |
DiscoveredWorkload.Builder |
getDiscoveredWorkloadOrBuilder()
public DiscoveredWorkloadOrBuilder getDiscoveredWorkloadOrBuilder()
Discovered Workload if exists, empty otherwise.
.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;
Returns | |
---|---|
Type | Description |
DiscoveredWorkloadOrBuilder |
hasDiscoveredWorkload()
public boolean hasDiscoveredWorkload()
Discovered Workload if exists, empty otherwise.
.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the discoveredWorkload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDiscoveredWorkload(DiscoveredWorkload value)
public LookupDiscoveredWorkloadResponse.Builder mergeDiscoveredWorkload(DiscoveredWorkload value)
Discovered Workload if exists, empty otherwise.
.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;
Parameter | |
---|---|
Name | Description |
value |
DiscoveredWorkload |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
mergeFrom(LookupDiscoveredWorkloadResponse other)
public LookupDiscoveredWorkloadResponse.Builder mergeFrom(LookupDiscoveredWorkloadResponse other)
Parameter | |
---|---|
Name | Description |
other |
LookupDiscoveredWorkloadResponse |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LookupDiscoveredWorkloadResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LookupDiscoveredWorkloadResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupDiscoveredWorkloadResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
setDiscoveredWorkload(DiscoveredWorkload value)
public LookupDiscoveredWorkloadResponse.Builder setDiscoveredWorkload(DiscoveredWorkload value)
Discovered Workload if exists, empty otherwise.
.google.cloud.apphub.v1.DiscoveredWorkload discovered_workload = 1;
Parameter | |
---|---|
Name | Description |
value |
DiscoveredWorkload |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
DiscoveredWorkload.Builder |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LookupDiscoveredWorkloadResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupDiscoveredWorkloadResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupDiscoveredWorkloadResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LookupDiscoveredWorkloadResponse.Builder |