public final class UpdateWorkstationClusterRequest extends GeneratedMessageV3 implements UpdateWorkstationClusterRequestOrBuilder
Request message for UpdateWorkstationCluster.
Protobuf type google.cloud.workstations.v1.UpdateWorkstationClusterRequest
Static Fields
ALLOW_MISSING_FIELD_NUMBER
public static final int ALLOW_MISSING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WORKSTATION_CLUSTER_FIELD_NUMBER
public static final int WORKSTATION_CLUSTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UpdateWorkstationClusterRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateWorkstationClusterRequest.Builder newBuilder()
newBuilder(UpdateWorkstationClusterRequest prototype)
public static UpdateWorkstationClusterRequest.Builder newBuilder(UpdateWorkstationClusterRequest prototype)
public static UpdateWorkstationClusterRequest parseDelimitedFrom(InputStream input)
public static UpdateWorkstationClusterRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateWorkstationClusterRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationClusterRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateWorkstationClusterRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationClusterRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationClusterRequest parseFrom(CodedInputStream input)
public static UpdateWorkstationClusterRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationClusterRequest parseFrom(InputStream input)
public static UpdateWorkstationClusterRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateWorkstationClusterRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationClusterRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateWorkstationClusterRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAllowMissing()
public boolean getAllowMissing()
If set, and the workstation cluster is not found, a new workstation
cluster will be created. In this situation, update_mask is ignored.
bool allow_missing = 4;
Returns |
---|
Type | Description |
boolean | The allowMissing.
|
getDefaultInstanceForType()
public UpdateWorkstationClusterRequest getDefaultInstanceForType()
getParserForType()
public Parser<UpdateWorkstationClusterRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getValidateOnly()
public boolean getValidateOnly()
If set, validate the request and preview the review, but do not actually
apply it.
bool validate_only = 3;
Returns |
---|
Type | Description |
boolean | The validateOnly.
|
getWorkstationCluster()
public WorkstationCluster getWorkstationCluster()
Required. Workstation cluster to update.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
getWorkstationClusterOrBuilder()
public WorkstationClusterOrBuilder getWorkstationClusterOrBuilder()
Required. Workstation cluster to update.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
hasUpdateMask()
public boolean hasUpdateMask()
Required. Mask that specifies which fields in the workstation cluster
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
hasWorkstationCluster()
public boolean hasWorkstationCluster()
Required. Workstation cluster to update.
.google.cloud.workstations.v1.WorkstationCluster workstation_cluster = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the workstationCluster field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateWorkstationClusterRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateWorkstationClusterRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UpdateWorkstationClusterRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides