public final class CreateDeploymentResourcePoolRequest extends GeneratedMessageV3 implements CreateDeploymentResourcePoolRequestOrBuilder
Request message for CreateDeploymentResourcePool method.
Protobuf type google.cloud.aiplatform.v1beta1.CreateDeploymentResourcePoolRequest
Static Fields
public static final int DEPLOYMENT_RESOURCE_POOL_FIELD_NUMBER
Field Value
public static final int DEPLOYMENT_RESOURCE_POOL_ID_FIELD_NUMBER
Field Value
public static final int PARENT_FIELD_NUMBER
Field Value
Static Methods
public static CreateDeploymentResourcePoolRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CreateDeploymentResourcePoolRequest.Builder newBuilder()
Returns
public static CreateDeploymentResourcePoolRequest.Builder newBuilder(CreateDeploymentResourcePoolRequest prototype)
Parameter
Returns
public static CreateDeploymentResourcePoolRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CreateDeploymentResourcePoolRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CreateDeploymentResourcePoolRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public CreateDeploymentResourcePoolRequest getDefaultInstanceForType()
Returns
public DeploymentResourcePool getDeploymentResourcePool()
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public String getDeploymentResourcePoolId()
Required. The ID to use for the DeploymentResourcePool, which
will become the final component of the DeploymentResourcePool's resource
name.
The maximum length is 63 characters, and valid characters
are /^a-z?$/
.
string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The deploymentResourcePoolId.
|
public ByteString getDeploymentResourcePoolIdBytes()
Required. The ID to use for the DeploymentResourcePool, which
will become the final component of the DeploymentResourcePool's resource
name.
The maximum length is 63 characters, and valid characters
are /^a-z?$/
.
string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for deploymentResourcePoolId.
|
public DeploymentResourcePoolOrBuilder getDeploymentResourcePoolOrBuilder()
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public String getParent()
Required. The parent location resource where this DeploymentResourcePool
will be created. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
public ByteString getParentBytes()
Required. The parent location resource where this DeploymentResourcePool
will be created. Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<CreateDeploymentResourcePoolRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasDeploymentResourcePool()
Required. The DeploymentResourcePool to create.
.google.cloud.aiplatform.v1beta1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the deploymentResourcePool field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateDeploymentResourcePoolRequest.Builder newBuilderForType()
Returns
protected CreateDeploymentResourcePoolRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CreateDeploymentResourcePoolRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions