public final class CreateWorkstationConfigRequest extends GeneratedMessageV3 implements CreateWorkstationConfigRequestOrBuilder
Message for creating a CreateWorkstationConfig.
Protobuf type google.cloud.workstations.v1beta.CreateWorkstationConfigRequest
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_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 | |
WORKSTATION_CONFIG_ID_FIELD_NUMBER
public static final int WORKSTATION_CONFIG_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CreateWorkstationConfigRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateWorkstationConfigRequest.Builder newBuilder()
newBuilder(CreateWorkstationConfigRequest prototype)
public static CreateWorkstationConfigRequest.Builder newBuilder(CreateWorkstationConfigRequest prototype)
public static CreateWorkstationConfigRequest parseDelimitedFrom(InputStream input)
public static CreateWorkstationConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateWorkstationConfigRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateWorkstationConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateWorkstationConfigRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateWorkstationConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateWorkstationConfigRequest parseFrom(CodedInputStream input)
public static CreateWorkstationConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateWorkstationConfigRequest parseFrom(InputStream input)
public static CreateWorkstationConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateWorkstationConfigRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateWorkstationConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateWorkstationConfigRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public CreateWorkstationConfigRequest getDefaultInstanceForType()
getParent()
public String getParent()
Required. Parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Parent resource name.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<CreateWorkstationConfigRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getValidateOnly()
public boolean getValidateOnly()
If set, validate the request and preview the review, but do not actually
apply it.
bool validate_only = 4;
Returns |
---|
Type | Description |
boolean | The validateOnly.
|
getWorkstationConfig()
public WorkstationConfig getWorkstationConfig()
Required. Config to create.
.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 3 [(.google.api.field_behavior) = REQUIRED];
getWorkstationConfigId()
public String getWorkstationConfigId()
Required. ID to use for the config.
string workstation_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The workstationConfigId.
|
getWorkstationConfigIdBytes()
public ByteString getWorkstationConfigIdBytes()
Required. ID to use for the config.
string workstation_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for workstationConfigId.
|
getWorkstationConfigOrBuilder()
public WorkstationConfigOrBuilder getWorkstationConfigOrBuilder()
Required. Config to create.
.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 3 [(.google.api.field_behavior) = REQUIRED];
hasWorkstationConfig()
public boolean hasWorkstationConfig()
Required. Config to create.
.google.cloud.workstations.v1beta.WorkstationConfig workstation_config = 3 [(.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 CreateWorkstationConfigRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateWorkstationConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CreateWorkstationConfigRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides