Class GetWorkstationRequest.Builder (0.43.0)

public static final class GetWorkstationRequest.Builder extends GeneratedMessageV3.Builder<GetWorkstationRequest.Builder> implements GetWorkstationRequestOrBuilder

Request message for GetWorkstation.

Protobuf type google.cloud.workstations.v1beta.GetWorkstationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetWorkstationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetWorkstationRequest.Builder
Overrides

build()

public GetWorkstationRequest build()
Returns
Type Description
GetWorkstationRequest

buildPartial()

public GetWorkstationRequest buildPartial()
Returns
Type Description
GetWorkstationRequest

clear()

public GetWorkstationRequest.Builder clear()
Returns
Type Description
GetWorkstationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetWorkstationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetWorkstationRequest.Builder
Overrides

clearName()

public GetWorkstationRequest.Builder clearName()

Required. Name of the requested resource.

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

Returns
Type Description
GetWorkstationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetWorkstationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetWorkstationRequest.Builder
Overrides

clone()

public GetWorkstationRequest.Builder clone()
Returns
Type Description
GetWorkstationRequest.Builder
Overrides

getDefaultInstanceForType()

public GetWorkstationRequest getDefaultInstanceForType()
Returns
Type Description
GetWorkstationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetWorkstationRequest other)

public GetWorkstationRequest.Builder mergeFrom(GetWorkstationRequest other)
Parameter
Name Description
other GetWorkstationRequest
Returns
Type Description
GetWorkstationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetWorkstationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetWorkstationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetWorkstationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetWorkstationRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetWorkstationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetWorkstationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetWorkstationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetWorkstationRequest.Builder
Overrides

setName(String value)

public GetWorkstationRequest.Builder setName(String value)

Required. Name of the requested resource.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetWorkstationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetWorkstationRequest.Builder setNameBytes(ByteString value)

Required. Name of the requested resource.

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
GetWorkstationRequest.Builder

This builder for chaining.

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

public GetWorkstationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetWorkstationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetWorkstationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetWorkstationRequest.Builder
Overrides