public static final class GetDiscoveredWorkloadRequest.Builder extends GeneratedMessageV3.Builder<GetDiscoveredWorkloadRequest.Builder> implements GetDiscoveredWorkloadRequestOrBuilder
Request for GetDiscoveredWorkload.
Protobuf type google.cloud.apphub.v1.GetDiscoveredWorkloadRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetDiscoveredWorkloadRequest.BuilderImplements
GetDiscoveredWorkloadRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetDiscoveredWorkloadRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
build()
public GetDiscoveredWorkloadRequest build()
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest |
buildPartial()
public GetDiscoveredWorkloadRequest buildPartial()
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest |
clear()
public GetDiscoveredWorkloadRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GetDiscoveredWorkloadRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
clearName()
public GetDiscoveredWorkloadRequest.Builder clearName()
Required. Value for name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetDiscoveredWorkloadRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
clone()
public GetDiscoveredWorkloadRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
getDefaultInstanceForType()
public GetDiscoveredWorkloadRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Required. Value for name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Value for name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GetDiscoveredWorkloadRequest other)
public GetDiscoveredWorkloadRequest.Builder mergeFrom(GetDiscoveredWorkloadRequest other)
Parameter | |
---|---|
Name | Description |
other | GetDiscoveredWorkloadRequest |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetDiscoveredWorkloadRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GetDiscoveredWorkloadRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetDiscoveredWorkloadRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GetDiscoveredWorkloadRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
setName(String value)
public GetDiscoveredWorkloadRequest.Builder setName(String value)
Required. Value for name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public GetDiscoveredWorkloadRequest.Builder setNameBytes(ByteString value)
Required. Value for name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetDiscoveredWorkloadRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetDiscoveredWorkloadRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GetDiscoveredWorkloadRequest.Builder |