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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WorkstationCluster.BuilderImplements
WorkstationClusterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.rpc.Status> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkstationCluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
build()
public WorkstationCluster build()
Returns | |
---|---|
Type | Description |
WorkstationCluster |
buildPartial()
public WorkstationCluster buildPartial()
Returns | |
---|---|
Type | Description |
WorkstationCluster |
clear()
public WorkstationCluster.Builder clear()
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
clearAnnotations()
public WorkstationCluster.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
WorkstationCluster.Builder |
clearDisplayName()
public WorkstationCluster.Builder clearDisplayName()
Human-readable name for this resource.
string display_name = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
WorkstationCluster.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public WorkstationCluster.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
clearLabels()
public WorkstationCluster.Builder clearLabels()
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
clearName()
public WorkstationCluster.Builder clearName()
Full name of this resource.
string name = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
WorkstationCluster.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkstationCluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
clearPrivateClusterConfig()
public WorkstationCluster.Builder clearPrivateClusterConfig()
Configuration for private cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
WorkstationCluster.Builder |
clone()
public WorkstationCluster.Builder clone()
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Client-specified annotations.
map<string, string> annotations = 5;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
Client-specified annotations.
map<string, string> annotations = 5;
Returns | |
---|---|
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Client-specified annotations.
map<string, string> annotations = 5;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Client-specified annotations.
map<string, string> annotations = 5;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Client-specified annotations.
map<string, string> annotations = 5;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public WorkstationCluster getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Human-readable name for this resource.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Human-readable name for this resource.
string display_name = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for etag. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Full name of this resource.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Full name of this resource.
string name = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
WorkstationCluster.PrivateClusterConfig.Builder |
getPrivateClusterConfigOrBuilder()
public WorkstationCluster.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder()
Configuration for private cluster.
.google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig private_cluster_config = 12;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
mergeFrom(WorkstationCluster other)
public WorkstationCluster.Builder mergeFrom(WorkstationCluster other)
Parameter | |
---|---|
Name | Description |
other | WorkstationCluster |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WorkstationCluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public WorkstationCluster.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
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 | |
---|---|
Name | Description |
value | WorkstationCluster.PrivateClusterConfig |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
putAllAnnotations(Map<String,String> values)
public WorkstationCluster.Builder putAllAnnotations(Map<String,String> values)
Client-specified annotations.
map<string, string> annotations = 5;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
putAnnotations(String key, String value)
public WorkstationCluster.Builder putAnnotations(String key, String value)
Client-specified annotations.
map<string, string> annotations = 5;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
removeAnnotations(String key)
public WorkstationCluster.Builder removeAnnotations(String key)
Client-specified annotations.
map<string, string> annotations = 5;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | boolean The degraded to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
setDisplayName(String value)
public WorkstationCluster.Builder setDisplayName(String value)
Human-readable name for this resource.
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The etag to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public WorkstationCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
setName(String value)
public WorkstationCluster.Builder setName(String value)
Full name of this resource.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public WorkstationCluster.Builder setNameBytes(ByteString value)
Full name of this resource.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The network to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for network to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | WorkstationCluster.PrivateClusterConfig |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | WorkstationCluster.PrivateClusterConfig.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | boolean The reconciling to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
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 | |
---|---|
Name | Description |
value | String The subnetwork to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for subnetwork to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The uid to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |
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 | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
WorkstationCluster.Builder |