Package com.google.cloud.aiplatform.v1
Interface EndpointOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Endpoint,Endpoint.Builder
@Generated
public interface EndpointOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) The labels with user-defined metadata to organize your Endpoints.booleanA map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.Configurations that are applied to the endpoint for online prediction.Configurations that are applied to the endpoint for online prediction.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanIf true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns].getDeployedModels(int index) Output only.intOutput only.Output only.getDeployedModelsOrBuilder(int index) Output only.List<? extends DeployedModelOrBuilder>Output only.The description of the Endpoint.com.google.protobuf.ByteStringThe description of the Endpoint.Required.com.google.protobuf.ByteStringRequired.booleanDeprecated.google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated.Customer-managed encryption key spec for an Endpoint.Customer-managed encryption key spec for an Endpoint.getEtag()Used to perform consistent read-modify-write updates.com.google.protobuf.ByteStringUsed to perform consistent read-modify-write updates.Optional.Optional.Deprecated.intThe labels with user-defined metadata to organize your Endpoints.The labels with user-defined metadata to organize your Endpoints.getLabelsOrDefault(String key, String defaultValue) The labels with user-defined metadata to organize your Endpoints.getLabelsOrThrow(String key) The labels with user-defined metadata to organize your Endpoints.Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Configures the request-response logging for online prediction.Configures the request-response logging for online prediction.booleanIf true, the model server will be isolated from the external internet.Optional.Optional.booleanOutput only.booleanOutput only.Deprecated.intA map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.intgetTrafficSplitOrDefault(String key, int defaultValue) A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.intA map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanConfigurations that are applied to the endpoint for online prediction.booleanOutput only.booleanCustomer-managed encryption key spec for an Endpoint.booleanOptional.booleanConfigures the request-response logging for online prediction.booleanOptional.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Required. The display name of the Endpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Required. The display name of the Endpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()The description of the Endpoint.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()The description of the Endpoint.
string description = 3;- Returns:
- The bytes for description.
-
getDeployedModelsList
List<DeployedModel> getDeployedModelsList()Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeployedModels
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeployedModelsCount
int getDeployedModelsCount()Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeployedModelsOrBuilderList
List<? extends DeployedModelOrBuilder> getDeployedModelsOrBuilderList()Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeployedModelsOrBuilder
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTrafficSplitCount
int getTrafficSplitCount()A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If a DeployedModel's ID is not listed in this map, then it receives no traffic. The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
map<string, int32> traffic_split = 5; -
containsTrafficSplit
A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If a DeployedModel's ID is not listed in this map, then it receives no traffic. The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
map<string, int32> traffic_split = 5; -
getTrafficSplit
Deprecated.UsegetTrafficSplitMap()instead. -
getTrafficSplitMap
A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If a DeployedModel's ID is not listed in this map, then it receives no traffic. The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
map<string, int32> traffic_split = 5; -
getTrafficSplitOrDefault
A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If a DeployedModel's ID is not listed in this map, then it receives no traffic. The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
map<string, int32> traffic_split = 5; -
getTrafficSplitOrThrow
A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If a DeployedModel's ID is not listed in this map, then it receives no traffic. The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
map<string, int32> traffic_split = 5; -
getEtag
String getEtag()Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;- Returns:
- The bytes for etag.
-
getLabelsCount
int getLabelsCount()The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 7; -
containsLabels
The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 7; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 7; -
getLabelsOrDefault
The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 7; -
getLabelsOrThrow
The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
map<string, string> labels = 7; -
hasCreateTime
boolean hasCreateTime()Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasEncryptionSpec
boolean hasEncryptionSpec()Customer-managed encryption key spec for an Endpoint. If set, this Endpoint and all sub-resources of this Endpoint will be secured by this key.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10;- Returns:
- Whether the encryptionSpec field is set.
-
getEncryptionSpec
EncryptionSpec getEncryptionSpec()Customer-managed encryption key spec for an Endpoint. If set, this Endpoint and all sub-resources of this Endpoint will be secured by this key.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10;- Returns:
- The encryptionSpec.
-
getEncryptionSpecOrBuilder
EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()Customer-managed encryption key spec for an Endpoint. If set, this Endpoint and all sub-resources of this Endpoint will be secured by this key.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10; -
getNetwork
String getNetwork()Optional. The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) to which the Endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network. Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is network name.string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()Optional. The full name of the Google Compute Engine [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) to which the Endpoint should be peered. Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network. Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is network name.string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for network.
-
getEnablePrivateServiceConnect
Deprecated.google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1/endpoint.proto;l=128Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set.
bool enable_private_service_connect = 17 [deprecated = true];- Returns:
- The enablePrivateServiceConnect.
-
hasPrivateServiceConnectConfig
boolean hasPrivateServiceConnectConfig()Optional. Configuration for private service connect. [network][google.cloud.aiplatform.v1.Endpoint.network] and [private_service_connect_config][google.cloud.aiplatform.v1.Endpoint.private_service_connect_config] are mutually exclusive.
.google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the privateServiceConnectConfig field is set.
-
getPrivateServiceConnectConfig
PrivateServiceConnectConfig getPrivateServiceConnectConfig()Optional. Configuration for private service connect. [network][google.cloud.aiplatform.v1.Endpoint.network] and [private_service_connect_config][google.cloud.aiplatform.v1.Endpoint.private_service_connect_config] are mutually exclusive.
.google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The privateServiceConnectConfig.
-
getPrivateServiceConnectConfigOrBuilder
PrivateServiceConnectConfigOrBuilder getPrivateServiceConnectConfigOrBuilder()Optional. Configuration for private service connect. [network][google.cloud.aiplatform.v1.Endpoint.network] and [private_service_connect_config][google.cloud.aiplatform.v1.Endpoint.private_service_connect_config] are mutually exclusive.
.google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 21 [(.google.api.field_behavior) = OPTIONAL]; -
getModelDeploymentMonitoringJob
String getModelDeploymentMonitoringJob()Output only. Resource name of the Model Monitoring job associated with this Endpoint if monitoring is enabled by [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob]. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The modelDeploymentMonitoringJob.
-
getModelDeploymentMonitoringJobBytes
com.google.protobuf.ByteString getModelDeploymentMonitoringJobBytes()Output only. Resource name of the Model Monitoring job associated with this Endpoint if monitoring is enabled by [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob]. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for modelDeploymentMonitoringJob.
-
hasPredictRequestResponseLoggingConfig
boolean hasPredictRequestResponseLoggingConfig()Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;- Returns:
- Whether the predictRequestResponseLoggingConfig field is set.
-
getPredictRequestResponseLoggingConfig
PredictRequestResponseLoggingConfig getPredictRequestResponseLoggingConfig()Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;- Returns:
- The predictRequestResponseLoggingConfig.
-
getPredictRequestResponseLoggingConfigOrBuilder
PredictRequestResponseLoggingConfigOrBuilder getPredictRequestResponseLoggingConfigOrBuilder()Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; -
getDedicatedEndpointEnabled
boolean getDedicatedEndpointEnabled()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 limitation will be removed soon.bool dedicated_endpoint_enabled = 24;- Returns:
- The dedicatedEndpointEnabled.
-
getDedicatedEndpointDns
String getDedicatedEndpointDns()Output only. DNS of the dedicated endpoint. Will only be populated if dedicated_endpoint_enabled is true. Depending on the features enabled, uid might be a random number or a string. For example, if fast_tryout is enabled, uid will be fasttryout. Format: `https://{endpoint_id}.{region}-{uid}.prediction.vertexai.goog`.string dedicated_endpoint_dns = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The dedicatedEndpointDns.
-
getDedicatedEndpointDnsBytes
com.google.protobuf.ByteString getDedicatedEndpointDnsBytes()Output only. DNS of the dedicated endpoint. Will only be populated if dedicated_endpoint_enabled is true. Depending on the features enabled, uid might be a random number or a string. For example, if fast_tryout is enabled, uid will be fasttryout. Format: `https://{endpoint_id}.{region}-{uid}.prediction.vertexai.goog`.string dedicated_endpoint_dns = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for dedicatedEndpointDns.
-
hasClientConnectionConfig
boolean hasClientConnectionConfig()Configurations that are applied to the endpoint for online prediction.
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;- Returns:
- Whether the clientConnectionConfig field is set.
-
getClientConnectionConfig
ClientConnectionConfig getClientConnectionConfig()Configurations that are applied to the endpoint for online prediction.
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23;- Returns:
- The clientConnectionConfig.
-
getClientConnectionConfigOrBuilder
ClientConnectionConfigOrBuilder getClientConnectionConfigOrBuilder()Configurations that are applied to the endpoint for online prediction.
.google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23; -
getSatisfiesPzs
boolean getSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The satisfiesPzs.
-
getSatisfiesPzi
boolean getSatisfiesPzi()Output only. Reserved for future use.
bool satisfies_pzi = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The satisfiesPzi.
-
hasGenAiAdvancedFeaturesConfig
boolean hasGenAiAdvancedFeaturesConfig()Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is serving GenAI models, advanced features like native RAG integration can be configured. Currently, only Model Garden models are supported.
.google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig gen_ai_advanced_features_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the genAiAdvancedFeaturesConfig field is set.
-
getGenAiAdvancedFeaturesConfig
GenAiAdvancedFeaturesConfig getGenAiAdvancedFeaturesConfig()Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is serving GenAI models, advanced features like native RAG integration can be configured. Currently, only Model Garden models are supported.
.google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig gen_ai_advanced_features_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The genAiAdvancedFeaturesConfig.
-
getGenAiAdvancedFeaturesConfigOrBuilder
GenAiAdvancedFeaturesConfigOrBuilder getGenAiAdvancedFeaturesConfigOrBuilder()Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is serving GenAI models, advanced features like native RAG integration can be configured. Currently, only Model Garden models are supported.
.google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig gen_ai_advanced_features_config = 29 [(.google.api.field_behavior) = OPTIONAL]; -
getPrivateModelServerEnabled
boolean getPrivateModelServerEnabled()If true, the model server will be isolated from the external internet.
bool private_model_server_enabled = 30;- Returns:
- The privateModelServerEnabled.
-