public static final class DeployRequest.EndpointConfig extends GeneratedMessageV3 implements DeployRequest.EndpointConfigOrBuilder
The endpoint config to use for the deployment.
Protobuf type google.cloud.aiplatform.v1beta1.DeployRequest.EndpointConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DEDICATED_ENDPOINT_DISABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEDICATED_ENDPOINT_ENABLED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ENDPOINT_DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ENDPOINT_USER_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PRIVATE_SERVICE_CONNECT_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static DeployRequest.EndpointConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static DeployRequest.EndpointConfig.Builder newBuilder()
public static DeployRequest.EndpointConfig.Builder newBuilder(DeployRequest.EndpointConfig prototype)
public static DeployRequest.EndpointConfig parseDelimitedFrom(InputStream input)
public static DeployRequest.EndpointConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeployRequest.EndpointConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static DeployRequest.EndpointConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeployRequest.EndpointConfig parseFrom(ByteString data)
public static DeployRequest.EndpointConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeployRequest.EndpointConfig parseFrom(CodedInputStream input)
public static DeployRequest.EndpointConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeployRequest.EndpointConfig parseFrom(InputStream input)
public static DeployRequest.EndpointConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeployRequest.EndpointConfig parseFrom(ByteBuffer data)
public static DeployRequest.EndpointConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<DeployRequest.EndpointConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public boolean getDedicatedEndpointDisabled()
Optional. By default, if dedicated endpoint is enabled and private
service connect config is not set, the endpoint will be exposed through a
dedicated DNS [Endpoint.dedicated_endpoint_dns]. If private service
connect config is set, the endpoint will be exposed through private
service connect. Your request to the dedicated DNS will be isolated from
other users' traffic and will have better performance and reliability.
Note: Once you enabled dedicated endpoint, you won't be able to send
request to the shared DNS {region}-aiplatform.googleapis.com. The
limitations will be removed soon.
If this field is set to true, the dedicated endpoint will be disabled
and the deployed model will be exposed through the shared DNS
{region}-aiplatform.googleapis.com.
bool dedicated_endpoint_disabled = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The dedicatedEndpointDisabled.
|
public boolean getDedicatedEndpointEnabled()
Deprecated. google.cloud.aiplatform.v1beta1.DeployRequest.EndpointConfig.dedicated_endpoint_enabled
is deprecated. See google/cloud/aiplatform/v1beta1/model_garden_service.proto;l=282
Optional. Deprecated. Use dedicated_endpoint_disabled instead.
If true, the endpoint will be exposed through a
dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the
dedicated DNS will be isolated from other users' traffic and will have
better performance and reliability. Note: Once you enabled dedicated
endpoint, you won't be able to send request to the shared DNS
{region}-aiplatform.googleapis.com. The limitations will be removed soon.
bool dedicated_endpoint_enabled = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The dedicatedEndpointEnabled.
|
public DeployRequest.EndpointConfig getDefaultInstanceForType()
public String getEndpointDisplayName()
Optional. The user-specified display name of the endpoint. If not set, a
default name will be used.
string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The endpointDisplayName.
|
public ByteString getEndpointDisplayNameBytes()
Optional. The user-specified display name of the endpoint. If not set, a
default name will be used.
string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for endpointDisplayName.
|
public String getEndpointUserId()
Optional. Immutable. The ID to use for endpoint, which will become the
final component of the endpoint resource name. If not provided, Vertex AI
will generate a value for this ID.
If the first character is a letter, this value may be up to 63
characters, and valid characters are [a-z0-9-]
. The last character must
be a letter or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9]
with no leading zeros.
When using HTTP/JSON, this field is populated
based on a query string argument, such as ?endpoint_id=12345
. This is
the fallback for fields that are not included in either the URI or the
body.
string endpoint_user_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The endpointUserId.
|
public ByteString getEndpointUserIdBytes()
Optional. Immutable. The ID to use for endpoint, which will become the
final component of the endpoint resource name. If not provided, Vertex AI
will generate a value for this ID.
If the first character is a letter, this value may be up to 63
characters, and valid characters are [a-z0-9-]
. The last character must
be a letter or number.
If the first character is a number, this value may be up to 9 characters,
and valid characters are [0-9]
with no leading zeros.
When using HTTP/JSON, this field is populated
based on a query string argument, such as ?endpoint_id=12345
. This is
the fallback for fields that are not included in either the URI or the
body.
string endpoint_user_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for endpointUserId.
|
public Parser<DeployRequest.EndpointConfig> getParserForType()
Overrides
public PrivateServiceConnectConfig getPrivateServiceConnectConfig()
Optional. Configuration for private service connect. If set, the endpoint
will be exposed through private service connect.
.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 5 [(.google.api.field_behavior) = OPTIONAL];
public PrivateServiceConnectConfigOrBuilder getPrivateServiceConnectConfigOrBuilder()
Optional. Configuration for private service connect. If set, the endpoint
will be exposed through private service connect.
.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 5 [(.google.api.field_behavior) = OPTIONAL];
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public boolean hasPrivateServiceConnectConfig()
Optional. Configuration for private service connect. If set, the endpoint
will be exposed through private service connect.
.google.cloud.aiplatform.v1beta1.PrivateServiceConnectConfig private_service_connect_config = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the privateServiceConnectConfig field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DeployRequest.EndpointConfig.Builder newBuilderForType()
protected DeployRequest.EndpointConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public DeployRequest.EndpointConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides