Class WorkstationCluster.Builder (0.1.0)

public static final class WorkstationCluster.Builder extends GeneratedMessageV3.Builder<WorkstationCluster.Builder> implements WorkstationClusterOrBuilder

A grouping of workstation configurations and the associated workstations in that region.

Protobuf type google.cloud.workstations.v1beta.WorkstationCluster

Static Methods

getDescriptor()

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

Methods

addAllConditions(Iterable<? extends Status> values)

public WorkstationCluster.Builder addAllConditions(Iterable<? extends Status> values)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
WorkstationCluster.Builder

addConditions(Status value)

public WorkstationCluster.Builder addConditions(Status value)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
WorkstationCluster.Builder

addConditions(Status.Builder builderForValue)

public WorkstationCluster.Builder addConditions(Status.Builder builderForValue)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
WorkstationCluster.Builder

addConditions(int index, Status value)

public WorkstationCluster.Builder addConditions(int index, Status value)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
WorkstationCluster.Builder

addConditions(int index, Status.Builder builderForValue)

public WorkstationCluster.Builder addConditions(int index, Status.Builder builderForValue)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
WorkstationCluster.Builder

addConditionsBuilder()

public Status.Builder addConditionsBuilder()

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status.Builder

addConditionsBuilder(int index)

public Status.Builder addConditionsBuilder(int index)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkstationCluster build()
Returns
TypeDescription
WorkstationCluster

buildPartial()

public WorkstationCluster buildPartial()
Returns
TypeDescription
WorkstationCluster

clear()

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

clearAnnotations()

public WorkstationCluster.Builder clearAnnotations()
Returns
TypeDescription
WorkstationCluster.Builder

clearConditions()

public WorkstationCluster.Builder clearConditions()

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkstationCluster.Builder

clearCreateTime()

public WorkstationCluster.Builder clearCreateTime()

Output only. Time when this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkstationCluster.Builder

clearDegraded()

public WorkstationCluster.Builder clearDegraded()

Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the conditions field.

bool degraded = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

clearDeleteTime()

public WorkstationCluster.Builder clearDeleteTime()

Output only. Time when this resource was soft-deleted.

.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkstationCluster.Builder

clearDisplayName()

public WorkstationCluster.Builder clearDisplayName()

Human-readable name for this resource.

string display_name = 2;

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

clearEtag()

public WorkstationCluster.Builder clearEtag()

Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.

string etag = 9;

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public WorkstationCluster.Builder clearLabels()
Returns
TypeDescription
WorkstationCluster.Builder

clearName()

public WorkstationCluster.Builder clearName()

Full name of this resource.

string name = 1;

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

clearNetwork()

public WorkstationCluster.Builder clearNetwork()

Immutable. Name of the Compute Engine network in which instances associated with this cluster will be created.

string network = 10 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateClusterConfig()

public WorkstationCluster.Builder clearPrivateClusterConfig()

Configuration for private cluster.

.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;

Returns
TypeDescription
WorkstationCluster.Builder

clearReconciling()

public WorkstationCluster.Builder clearReconciling()

Output only. Indicates whether this resource is currently being updated to match its intended state.

bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

clearSubnetwork()

public WorkstationCluster.Builder clearSubnetwork()

Immutable. Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. Must be part of the subnetwork specified for this cluster.

string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

clearUid()

public WorkstationCluster.Builder clearUid()

Output only. A system-assigned unique identified for this resource.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

clearUpdateTime()

public WorkstationCluster.Builder clearUpdateTime()

Output only. Time when this resource was most recently updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkstationCluster.Builder

clone()

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

containsAnnotations(String key)

public boolean containsAnnotations(String key)

Client-specified annotations.

map<string, string> annotations = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

public boolean containsLabels(String key)

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

map<string, string> labels = 15;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations()

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()

Client-specified annotations.

map<string, string> annotations = 5;

Returns
TypeDescription
int

getAnnotationsMap()

public Map<String,String> getAnnotationsMap()

Client-specified annotations.

map<string, string> annotations = 5;

Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public String getAnnotationsOrDefault(String key, String defaultValue)

Client-specified annotations.

map<string, string> annotations = 5;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationsOrThrow(String key)

public String getAnnotationsOrThrow(String key)

Client-specified annotations.

map<string, string> annotations = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getConditions(int index)

public Status getConditions(int index)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status

getConditionsBuilder(int index)

public Status.Builder getConditionsBuilder(int index)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

getConditionsBuilderList()

public List<Status.Builder> getConditionsBuilderList()

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<com.google.rpc.Status.Builder>

getConditionsCount()

public int getConditionsCount()

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getConditionsList()

public List<Status> getConditionsList()

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<com.google.rpc.Status>

getConditionsOrBuilder(int index)

public StatusOrBuilder getConditionsOrBuilder(int index)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getConditionsOrBuilderList()

public List<? extends StatusOrBuilder> getConditionsOrBuilderList()

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public WorkstationCluster getDefaultInstanceForType()
Returns
TypeDescription
WorkstationCluster

getDegraded()

public boolean getDegraded()

Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the conditions field.

bool degraded = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The degraded.

getDeleteTime()

public Timestamp getDeleteTime()

Output only. Time when this resource was soft-deleted.

.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The deleteTime.

getDeleteTimeBuilder()

public Timestamp.Builder getDeleteTimeBuilder()

Output only. Time when this resource was soft-deleted.

.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getDeleteTimeOrBuilder()

public TimestampOrBuilder getDeleteTimeOrBuilder()

Output only. Time when this resource was soft-deleted.

.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Human-readable name for this resource.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Human-readable name for this resource.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEtag()

public String getEtag()

Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.

string etag = 9;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.

string etag = 9;

Returns
TypeDescription
ByteString

The bytes for etag.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

map<string, string> labels = 15;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

map<string, string> labels = 15;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

map<string, string> labels = 15;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

map<string, string> labels = 15;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableAnnotations()

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Full name of this resource.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Full name of this resource.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNetwork()

public String getNetwork()

Immutable. Name of the Compute Engine network in which instances associated with this cluster will be created.

string network = 10 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The network.

getNetworkBytes()

public ByteString getNetworkBytes()

Immutable. Name of the Compute Engine network in which instances associated with this cluster will be created.

string network = 10 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for network.

getPrivateClusterConfig()

public WorkstationCluster.PrivateClusterConfig getPrivateClusterConfig()

Configuration for private cluster.

.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;

Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig

The privateClusterConfig.

getPrivateClusterConfigBuilder()

public WorkstationCluster.PrivateClusterConfig.Builder getPrivateClusterConfigBuilder()

Configuration for private cluster.

.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;

Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig.Builder

getPrivateClusterConfigOrBuilder()

public WorkstationCluster.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder()

Configuration for private cluster.

.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;

Returns
TypeDescription
WorkstationCluster.PrivateClusterConfigOrBuilder

getReconciling()

public boolean getReconciling()

Output only. Indicates whether this resource is currently being updated to match its intended state.

bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The reconciling.

getSubnetwork()

public String getSubnetwork()

Immutable. Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. Must be part of the subnetwork specified for this cluster.

string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

Immutable. Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. Must be part of the subnetwork specified for this cluster.

string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for subnetwork.

getUid()

public String getUid()

Output only. A system-assigned unique identified for this resource.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. A system-assigned unique identified for this resource.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time when this resource was most recently updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time when this resource was most recently updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when this resource was most recently updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDeleteTime()

public boolean hasDeleteTime()

Output only. Time when this resource was soft-deleted.

.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the deleteTime field is set.

hasPrivateClusterConfig()

public boolean hasPrivateClusterConfig()

Configuration for private cluster.

.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;

Returns
TypeDescription
boolean

Whether the privateClusterConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time when this resource was most recently updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public WorkstationCluster.Builder mergeCreateTime(Timestamp value)

Output only. Time when this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkstationCluster.Builder

mergeDeleteTime(Timestamp value)

public WorkstationCluster.Builder mergeDeleteTime(Timestamp value)

Output only. Time when this resource was soft-deleted.

.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkstationCluster.Builder

mergeFrom(WorkstationCluster other)

public WorkstationCluster.Builder mergeFrom(WorkstationCluster other)
Parameter
NameDescription
otherWorkstationCluster
Returns
TypeDescription
WorkstationCluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePrivateClusterConfig(WorkstationCluster.PrivateClusterConfig value)

public WorkstationCluster.Builder mergePrivateClusterConfig(WorkstationCluster.PrivateClusterConfig value)

Configuration for private cluster.

.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;

Parameter
NameDescription
valueWorkstationCluster.PrivateClusterConfig
Returns
TypeDescription
WorkstationCluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public WorkstationCluster.Builder mergeUpdateTime(Timestamp value)

Output only. Time when this resource was most recently updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkstationCluster.Builder

putAllAnnotations(Map<String,String> values)

public WorkstationCluster.Builder putAllAnnotations(Map<String,String> values)

Client-specified annotations.

map<string, string> annotations = 5;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
WorkstationCluster.Builder

putAllLabels(Map<String,String> values)

public WorkstationCluster.Builder putAllLabels(Map<String,String> values)

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

map<string, string> labels = 15;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
WorkstationCluster.Builder

putAnnotations(String key, String value)

public WorkstationCluster.Builder putAnnotations(String key, String value)

Client-specified annotations.

map<string, string> annotations = 5;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
WorkstationCluster.Builder

putLabels(String key, String value)

public WorkstationCluster.Builder putLabels(String key, String value)

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

map<string, string> labels = 15;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
WorkstationCluster.Builder

removeAnnotations(String key)

public WorkstationCluster.Builder removeAnnotations(String key)

Client-specified annotations.

map<string, string> annotations = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
WorkstationCluster.Builder

removeConditions(int index)

public WorkstationCluster.Builder removeConditions(int index)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkstationCluster.Builder

removeLabels(String key)

public WorkstationCluster.Builder removeLabels(String key)

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

map<string, string> labels = 15;

Parameter
NameDescription
keyString
Returns
TypeDescription
WorkstationCluster.Builder

setConditions(int index, Status value)

public WorkstationCluster.Builder setConditions(int index, Status value)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
WorkstationCluster.Builder

setConditions(int index, Status.Builder builderForValue)

public WorkstationCluster.Builder setConditions(int index, Status.Builder builderForValue)

Output only. Status conditions describing the current resource state.

repeated .google.rpc.Status conditions = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
WorkstationCluster.Builder

setCreateTime(Timestamp value)

public WorkstationCluster.Builder setCreateTime(Timestamp value)

Output only. Time when this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkstationCluster.Builder

setCreateTime(Timestamp.Builder builderForValue)

public WorkstationCluster.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time when this resource was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkstationCluster.Builder

setDegraded(boolean value)

public WorkstationCluster.Builder setDegraded(boolean value)

Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the conditions field.

bool degraded = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueboolean

The degraded to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setDeleteTime(Timestamp value)

public WorkstationCluster.Builder setDeleteTime(Timestamp value)

Output only. Time when this resource was soft-deleted.

.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkstationCluster.Builder

setDeleteTime(Timestamp.Builder builderForValue)

public WorkstationCluster.Builder setDeleteTime(Timestamp.Builder builderForValue)

Output only. Time when this resource was soft-deleted.

.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkstationCluster.Builder

setDisplayName(String value)

public WorkstationCluster.Builder setDisplayName(String value)

Human-readable name for this resource.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public WorkstationCluster.Builder setDisplayNameBytes(ByteString value)

Human-readable name for this resource.

string display_name = 2;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setEtag(String value)

public WorkstationCluster.Builder setEtag(String value)

Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.

string etag = 9;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public WorkstationCluster.Builder setEtagBytes(ByteString value)

Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.

string etag = 9;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public WorkstationCluster.Builder setName(String value)

Full name of this resource.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setNameBytes(ByteString value)

public WorkstationCluster.Builder setNameBytes(ByteString value)

Full name of this resource.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setNetwork(String value)

public WorkstationCluster.Builder setNetwork(String value)

Immutable. Name of the Compute Engine network in which instances associated with this cluster will be created.

string network = 10 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The network to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setNetworkBytes(ByteString value)

public WorkstationCluster.Builder setNetworkBytes(ByteString value)

Immutable. Name of the Compute Engine network in which instances associated with this cluster will be created.

string network = 10 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for network to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setPrivateClusterConfig(WorkstationCluster.PrivateClusterConfig value)

public WorkstationCluster.Builder setPrivateClusterConfig(WorkstationCluster.PrivateClusterConfig value)

Configuration for private cluster.

.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;

Parameter
NameDescription
valueWorkstationCluster.PrivateClusterConfig
Returns
TypeDescription
WorkstationCluster.Builder

setPrivateClusterConfig(WorkstationCluster.PrivateClusterConfig.Builder builderForValue)

public WorkstationCluster.Builder setPrivateClusterConfig(WorkstationCluster.PrivateClusterConfig.Builder builderForValue)

Configuration for private cluster.

.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;

Parameter
NameDescription
builderForValueWorkstationCluster.PrivateClusterConfig.Builder
Returns
TypeDescription
WorkstationCluster.Builder

setReconciling(boolean value)

public WorkstationCluster.Builder setReconciling(boolean value)

Output only. Indicates whether this resource is currently being updated to match its intended state.

bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueboolean

The reconciling to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

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

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

setSubnetwork(String value)

public WorkstationCluster.Builder setSubnetwork(String value)

Immutable. Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. Must be part of the subnetwork specified for this cluster.

string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The subnetwork to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setSubnetworkBytes(ByteString value)

public WorkstationCluster.Builder setSubnetworkBytes(ByteString value)

Immutable. Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. Must be part of the subnetwork specified for this cluster.

string subnetwork = 11 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for subnetwork to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setUid(String value)

public WorkstationCluster.Builder setUid(String value)

Output only. A system-assigned unique identified for this resource.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The uid to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setUidBytes(ByteString value)

public WorkstationCluster.Builder setUidBytes(ByteString value)

Output only. A system-assigned unique identified for this resource.

string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
WorkstationCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public WorkstationCluster.Builder setUpdateTime(Timestamp value)

Output only. Time when this resource was most recently updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
WorkstationCluster.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public WorkstationCluster.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Time when this resource was most recently updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
WorkstationCluster.Builder