Class GetWorkstationConfigRequest.Builder (0.31.0)

public static final class GetWorkstationConfigRequest.Builder extends GeneratedMessageV3.Builder<GetWorkstationConfigRequest.Builder> implements GetWorkstationConfigRequestOrBuilder

Request message for GetWorkstationConfig.

Protobuf type google.cloud.workstations.v1.GetWorkstationConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetWorkstationConfigRequest build()
Returns
Type Description
GetWorkstationConfigRequest

buildPartial()

public GetWorkstationConfigRequest buildPartial()
Returns
Type Description
GetWorkstationConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetWorkstationConfigRequest.Builder clearName()

Required. Name of the requested resource.

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

Returns
Type Description
GetWorkstationConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetWorkstationConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetWorkstationConfigRequest

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(GetWorkstationConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetWorkstationConfigRequest.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
GetWorkstationConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetWorkstationConfigRequest.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
GetWorkstationConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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