Class GetWorkstationClusterRequest.Builder (0.25.0)

public static final class GetWorkstationClusterRequest.Builder extends GeneratedMessageV3.Builder<GetWorkstationClusterRequest.Builder> implements GetWorkstationClusterRequestOrBuilder

Request message for GetWorkstationCluster.

Protobuf type google.cloud.workstations.v1beta.GetWorkstationClusterRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetWorkstationClusterRequest build()
Returns
TypeDescription
GetWorkstationClusterRequest

buildPartial()

public GetWorkstationClusterRequest buildPartial()
Returns
TypeDescription
GetWorkstationClusterRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetWorkstationClusterRequest.Builder clearName()

Required. Name of the requested resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetWorkstationClusterRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetWorkstationClusterRequest getDefaultInstanceForType()
Returns
TypeDescription
GetWorkstationClusterRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the requested resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the requested resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetWorkstationClusterRequest other)

public GetWorkstationClusterRequest.Builder mergeFrom(GetWorkstationClusterRequest other)
Parameter
NameDescription
otherGetWorkstationClusterRequest
Returns
TypeDescription
GetWorkstationClusterRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetWorkstationClusterRequest.Builder setName(String value)

Required. Name of the requested resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetWorkstationClusterRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetWorkstationClusterRequest.Builder setNameBytes(ByteString value)

Required. Name of the requested resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetWorkstationClusterRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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