- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class Endpoint.Builder extends GeneratedMessageV3.Builder<Endpoint.Builder> implements EndpointOrBuilder
Models are deployed into it, and afterwards Endpoint is called to obtain predictions and explanations.
Protobuf type google.cloud.aiplatform.v1.Endpoint
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Endpoint.BuilderImplements
EndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllDeployedModels(Iterable<? extends DeployedModel> values)
public Endpoint.Builder addAllDeployedModels(Iterable<? extends DeployedModel> values)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.DeployedModel> |
Type | Description |
Endpoint.Builder |
addDeployedModels(DeployedModel value)
public Endpoint.Builder addDeployedModels(DeployedModel value)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | DeployedModel |
Type | Description |
Endpoint.Builder |
addDeployedModels(DeployedModel.Builder builderForValue)
public Endpoint.Builder addDeployedModels(DeployedModel.Builder builderForValue)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | DeployedModel.Builder |
Type | Description |
Endpoint.Builder |
addDeployedModels(int index, DeployedModel value)
public Endpoint.Builder addDeployedModels(int index, DeployedModel value)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | DeployedModel |
Type | Description |
Endpoint.Builder |
addDeployedModels(int index, DeployedModel.Builder builderForValue)
public Endpoint.Builder addDeployedModels(int index, DeployedModel.Builder builderForValue)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | DeployedModel.Builder |
Type | Description |
Endpoint.Builder |
addDeployedModelsBuilder()
public DeployedModel.Builder addDeployedModelsBuilder()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
DeployedModel.Builder |
addDeployedModelsBuilder(int index)
public DeployedModel.Builder addDeployedModelsBuilder(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
DeployedModel.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Endpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Endpoint.Builder |
build()
public Endpoint build()
Type | Description |
Endpoint |
buildPartial()
public Endpoint buildPartial()
Type | Description |
Endpoint |
clear()
public Endpoint.Builder clear()
Type | Description |
Endpoint.Builder |
clearCreateTime()
public Endpoint.Builder clearCreateTime()
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Endpoint.Builder |
clearDeployedModels()
public Endpoint.Builder clearDeployedModels()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Endpoint.Builder |
clearDescription()
public Endpoint.Builder clearDescription()
The description of the Endpoint.
string description = 3;
Type | Description |
Endpoint.Builder | This builder for chaining. |
clearDisplayName()
public Endpoint.Builder clearDisplayName()
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];
Type | Description |
Endpoint.Builder | This builder for chaining. |
clearEnablePrivateServiceConnect() (deprecated)
public Endpoint.Builder clearEnablePrivateServiceConnect()
Deprecated. google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1/endpoint.proto;l=125
Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, network or enable_private_service_connect, can be set.
bool enable_private_service_connect = 17 [deprecated = true];
Type | Description |
Endpoint.Builder | This builder for chaining. |
clearEncryptionSpec()
public Endpoint.Builder clearEncryptionSpec()
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;
Type | Description |
Endpoint.Builder |
clearEtag()
public Endpoint.Builder clearEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Type | Description |
Endpoint.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Endpoint.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Endpoint.Builder |
clearLabels()
public Endpoint.Builder clearLabels()
Type | Description |
Endpoint.Builder |
clearModelDeploymentMonitoringJob()
public Endpoint.Builder clearModelDeploymentMonitoringJob()
Output only. Resource name of the Model Monitoring job associated with this
Endpoint if monitoring is enabled by
[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) = { ... }
Type | Description |
Endpoint.Builder | This builder for chaining. |
clearName()
public Endpoint.Builder clearName()
Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Endpoint.Builder | This builder for chaining. |
clearNetwork()
public Endpoint.Builder clearNetwork()
Optional. The full name of the Google Compute Engine
network
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 or
enable_private_service_connect,
can be set.
Format:
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) = { ... }
Type | Description |
Endpoint.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Endpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Endpoint.Builder |
clearPredictRequestResponseLoggingConfig()
public Endpoint.Builder clearPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
Type | Description |
Endpoint.Builder |
clearTrafficSplit()
public Endpoint.Builder clearTrafficSplit()
Type | Description |
Endpoint.Builder |
clearUpdateTime()
public Endpoint.Builder clearUpdateTime()
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Endpoint.Builder |
clone()
public Endpoint.Builder clone()
Type | Description |
Endpoint.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
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;
Name | Description |
key | String |
Type | Description |
boolean |
containsTrafficSplit(String key)
public boolean containsTrafficSplit(String key)
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;
Name | Description |
key | String |
Type | Description |
boolean |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Endpoint getDefaultInstanceForType()
Type | Description |
Endpoint |
getDeployedModels(int index)
public DeployedModel getDeployedModels(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
DeployedModel |
getDeployedModelsBuilder(int index)
public DeployedModel.Builder getDeployedModelsBuilder(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
DeployedModel.Builder |
getDeployedModelsBuilderList()
public List<DeployedModel.Builder> getDeployedModelsBuilderList()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<Builder> |
getDeployedModelsCount()
public int getDeployedModelsCount()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
getDeployedModelsList()
public List<DeployedModel> getDeployedModelsList()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<DeployedModel> |
getDeployedModelsOrBuilder(int index)
public DeployedModelOrBuilder getDeployedModelsOrBuilder(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
DeployedModelOrBuilder |
getDeployedModelsOrBuilderList()
public List<? extends DeployedModelOrBuilder> getDeployedModelsOrBuilderList()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.DeployedModelOrBuilder> |
getDescription()
public String getDescription()
The description of the Endpoint.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The description of the Endpoint.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public 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];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public 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];
Type | Description |
ByteString | The bytes for displayName. |
getEnablePrivateServiceConnect() (deprecated)
public boolean getEnablePrivateServiceConnect()
Deprecated. google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1/endpoint.proto;l=125
Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, network or enable_private_service_connect, can be set.
bool enable_private_service_connect = 17 [deprecated = true];
Type | Description |
boolean | The enablePrivateServiceConnect. |
getEncryptionSpec()
public 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;
Type | Description |
EncryptionSpec | The encryptionSpec. |
getEncryptionSpecBuilder()
public EncryptionSpec.Builder getEncryptionSpecBuilder()
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;
Type | Description |
EncryptionSpec.Builder |
getEncryptionSpecOrBuilder()
public 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;
Type | Description |
EncryptionSpecOrBuilder |
getEtag()
public String getEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Type | Description |
String | The etag. |
getEtagBytes()
public ByteString getEtagBytes()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Type | Description |
ByteString | The bytes for etag. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public 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;
Type | Description |
int |
getLabelsMap()
public Map<String,String> 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;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
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;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
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;
Name | Description |
key | String |
Type | Description |
String |
getModelDeploymentMonitoringJob()
public String getModelDeploymentMonitoringJob()
Output only. Resource name of the Model Monitoring job associated with this
Endpoint if monitoring is enabled by
[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) = { ... }
Type | Description |
String | The modelDeploymentMonitoringJob. |
getModelDeploymentMonitoringJobBytes()
public ByteString getModelDeploymentMonitoringJobBytes()
Output only. Resource name of the Model Monitoring job associated with this
Endpoint if monitoring is enabled by
[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) = { ... }
Type | Description |
ByteString | The bytes for modelDeploymentMonitoringJob. |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getMutableTrafficSplit()
public Map<String,Integer> getMutableTrafficSplit()
Use alternate mutation accessors instead.
Type | Description |
Map<String,Integer> |
getName()
public String getName()
Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getNetwork()
public String getNetwork()
Optional. The full name of the Google Compute Engine
network
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 or
enable_private_service_connect,
can be set.
Format:
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) = { ... }
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
Optional. The full name of the Google Compute Engine
network
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 or
enable_private_service_connect,
can be set.
Format:
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) = { ... }
Type | Description |
ByteString | The bytes for network. |
getPredictRequestResponseLoggingConfig()
public PredictRequestResponseLoggingConfig getPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
Type | Description |
PredictRequestResponseLoggingConfig | The predictRequestResponseLoggingConfig. |
getPredictRequestResponseLoggingConfigBuilder()
public PredictRequestResponseLoggingConfig.Builder getPredictRequestResponseLoggingConfigBuilder()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
Type | Description |
PredictRequestResponseLoggingConfig.Builder |
getPredictRequestResponseLoggingConfigOrBuilder()
public PredictRequestResponseLoggingConfigOrBuilder getPredictRequestResponseLoggingConfigOrBuilder()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
Type | Description |
PredictRequestResponseLoggingConfigOrBuilder |
getTrafficSplit()
public Map<String,Integer> getTrafficSplit()
Use #getTrafficSplitMap() instead.
Type | Description |
Map<String,Integer> |
getTrafficSplitCount()
public 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;
Type | Description |
int |
getTrafficSplitMap()
public Map<String,Integer> 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;
Type | Description |
Map<String,Integer> |
getTrafficSplitOrDefault(String key, int defaultValue)
public int getTrafficSplitOrDefault(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. 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;
Name | Description |
key | String |
defaultValue | int |
Type | Description |
int |
getTrafficSplitOrThrow(String key)
public int getTrafficSplitOrThrow(String key)
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;
Name | Description |
key | String |
Type | Description |
int |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasEncryptionSpec()
public 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;
Type | Description |
boolean | Whether the encryptionSpec field is set. |
hasPredictRequestResponseLoggingConfig()
public boolean hasPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
Type | Description |
boolean | Whether the predictRequestResponseLoggingConfig field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Endpoint.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Endpoint.Builder |
mergeEncryptionSpec(EncryptionSpec value)
public Endpoint.Builder mergeEncryptionSpec(EncryptionSpec value)
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;
Name | Description |
value | EncryptionSpec |
Type | Description |
Endpoint.Builder |
mergeFrom(Endpoint other)
public Endpoint.Builder mergeFrom(Endpoint other)
Name | Description |
other | Endpoint |
Type | Description |
Endpoint.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Endpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Endpoint.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Endpoint.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Endpoint.Builder |
mergePredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)
public Endpoint.Builder mergePredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
Name | Description |
value | PredictRequestResponseLoggingConfig |
Type | Description |
Endpoint.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Endpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Endpoint.Builder |
mergeUpdateTime(Timestamp value)
public Endpoint.Builder mergeUpdateTime(Timestamp value)
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Endpoint.Builder |
putAllLabels(Map<String,String> values)
public Endpoint.Builder putAllLabels(Map<String,String> values)
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;
Name | Description |
values | Map<String,String> |
Type | Description |
Endpoint.Builder |
putAllTrafficSplit(Map<String,Integer> values)
public Endpoint.Builder putAllTrafficSplit(Map<String,Integer> values)
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;
Name | Description |
values | Map<String,Integer> |
Type | Description |
Endpoint.Builder |
putLabels(String key, String value)
public Endpoint.Builder putLabels(String key, String value)
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;
Name | Description |
key | String |
value | String |
Type | Description |
Endpoint.Builder |
putTrafficSplit(String key, int value)
public Endpoint.Builder putTrafficSplit(String key, int value)
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;
Name | Description |
key | String |
value | int |
Type | Description |
Endpoint.Builder |
removeDeployedModels(int index)
public Endpoint.Builder removeDeployedModels(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
Endpoint.Builder |
removeLabels(String key)
public Endpoint.Builder removeLabels(String key)
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;
Name | Description |
key | String |
Type | Description |
Endpoint.Builder |
removeTrafficSplit(String key)
public Endpoint.Builder removeTrafficSplit(String key)
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;
Name | Description |
key | String |
Type | Description |
Endpoint.Builder |
setCreateTime(Timestamp value)
public Endpoint.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Endpoint.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Endpoint.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Endpoint.Builder |
setDeployedModels(int index, DeployedModel value)
public Endpoint.Builder setDeployedModels(int index, DeployedModel value)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | DeployedModel |
Type | Description |
Endpoint.Builder |
setDeployedModels(int index, DeployedModel.Builder builderForValue)
public Endpoint.Builder setDeployedModels(int index, DeployedModel.Builder builderForValue)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
builderForValue | DeployedModel.Builder |
Type | Description |
Endpoint.Builder |
setDescription(String value)
public Endpoint.Builder setDescription(String value)
The description of the Endpoint.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Endpoint.Builder setDescriptionBytes(ByteString value)
The description of the Endpoint.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setDisplayName(String value)
public Endpoint.Builder setDisplayName(String value)
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];
Name | Description |
value | String The displayName to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Endpoint.Builder setDisplayNameBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setEnablePrivateServiceConnect(boolean value) (deprecated)
public Endpoint.Builder setEnablePrivateServiceConnect(boolean value)
Deprecated. google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1/endpoint.proto;l=125
Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, network or enable_private_service_connect, can be set.
bool enable_private_service_connect = 17 [deprecated = true];
Name | Description |
value | boolean The enablePrivateServiceConnect to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setEncryptionSpec(EncryptionSpec value)
public Endpoint.Builder setEncryptionSpec(EncryptionSpec value)
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;
Name | Description |
value | EncryptionSpec |
Type | Description |
Endpoint.Builder |
setEncryptionSpec(EncryptionSpec.Builder builderForValue)
public Endpoint.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
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;
Name | Description |
builderForValue | EncryptionSpec.Builder |
Type | Description |
Endpoint.Builder |
setEtag(String value)
public Endpoint.Builder setEtag(String value)
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Name | Description |
value | String The etag to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Endpoint.Builder setEtagBytes(ByteString value)
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Endpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Endpoint.Builder |
setModelDeploymentMonitoringJob(String value)
public Endpoint.Builder setModelDeploymentMonitoringJob(String value)
Output only. Resource name of the Model Monitoring job associated with this
Endpoint if monitoring is enabled by
[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) = { ... }
Name | Description |
value | String The modelDeploymentMonitoringJob to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setModelDeploymentMonitoringJobBytes(ByteString value)
public Endpoint.Builder setModelDeploymentMonitoringJobBytes(ByteString value)
Output only. Resource name of the Model Monitoring job associated with this
Endpoint if monitoring is enabled by
[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) = { ... }
Name | Description |
value | ByteString The bytes for modelDeploymentMonitoringJob to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setName(String value)
public Endpoint.Builder setName(String value)
Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Endpoint.Builder setNameBytes(ByteString value)
Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setNetwork(String value)
public Endpoint.Builder setNetwork(String value)
Optional. The full name of the Google Compute Engine
network
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 or
enable_private_service_connect,
can be set.
Format:
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) = { ... }
Name | Description |
value | String The network to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public Endpoint.Builder setNetworkBytes(ByteString value)
Optional. The full name of the Google Compute Engine
network
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 or
enable_private_service_connect,
can be set.
Format:
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) = { ... }
Name | Description |
value | ByteString The bytes for network to set. |
Type | Description |
Endpoint.Builder | This builder for chaining. |
setPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)
public Endpoint.Builder setPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
Name | Description |
value | PredictRequestResponseLoggingConfig |
Type | Description |
Endpoint.Builder |
setPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig.Builder builderForValue)
public Endpoint.Builder setPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig.Builder builderForValue)
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
Name | Description |
builderForValue | PredictRequestResponseLoggingConfig.Builder |
Type | Description |
Endpoint.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Endpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Endpoint.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Endpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Endpoint.Builder |
setUpdateTime(Timestamp value)
public Endpoint.Builder setUpdateTime(Timestamp value)
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Endpoint.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Endpoint.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Endpoint.Builder |