public final class UpdateWorkstationConfigRequest extends GeneratedMessageV3 implements UpdateWorkstationConfigRequestOrBuilder
Request message for UpdateWorkstationConfig.
Protobuf type google.cloud.workstations.v1.UpdateWorkstationConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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_CONFIG_FIELD_NUMBER
public static final int WORKSTATION_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UpdateWorkstationConfigRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateWorkstationConfigRequest.Builder newBuilder()
newBuilder(UpdateWorkstationConfigRequest prototype)
public static UpdateWorkstationConfigRequest.Builder newBuilder(UpdateWorkstationConfigRequest prototype)
public static UpdateWorkstationConfigRequest parseDelimitedFrom(InputStream input)
public static UpdateWorkstationConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateWorkstationConfigRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateWorkstationConfigRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationConfigRequest parseFrom(CodedInputStream input)
public static UpdateWorkstationConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationConfigRequest parseFrom(InputStream input)
public static UpdateWorkstationConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateWorkstationConfigRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateWorkstationConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateWorkstationConfigRequest> 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 configuration is not found, a new
workstation configuration will be created. In this situation,
update_mask is ignored.
bool allow_missing = 4;
Returns |
---|
Type | Description |
boolean | The allowMissing.
|
getDefaultInstanceForType()
public UpdateWorkstationConfigRequest getDefaultInstanceForType()
getParserForType()
public Parser<UpdateWorkstationConfigRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. Mask specifying which fields in the workstation configuration
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 specifying which fields in the workstation configuration
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.
|
getWorkstationConfig()
public WorkstationConfig getWorkstationConfig()
Required. Config to update.
.google.cloud.workstations.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
getWorkstationConfigOrBuilder()
public WorkstationConfigOrBuilder getWorkstationConfigOrBuilder()
Required. Config to update.
.google.cloud.workstations.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
hasUpdateMask()
public boolean hasUpdateMask()
Required. Mask specifying which fields in the workstation configuration
should be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
hasWorkstationConfig()
public boolean hasWorkstationConfig()
Required. Config to update.
.google.cloud.workstations.v1.WorkstationConfig workstation_config = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the workstationConfig field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateWorkstationConfigRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateWorkstationConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UpdateWorkstationConfigRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides