Class Endpoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
- com.google.cloud.aiplatform.v1beta1.Endpoint.Builder
-
- All Implemented Interfaces:
EndpointOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Endpoint
public static final class Endpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder> implements EndpointOrBuilder
Models are deployed into it, and afterwards Endpoint is called to obtain predictions and explanations.
Protobuf typegoogle.cloud.aiplatform.v1beta1.Endpoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Endpoint.Builder
addAllDeployedModels(Iterable<? extends DeployedModel> values)
Output only.Endpoint.Builder
addDeployedModels(int index, DeployedModel value)
Output only.Endpoint.Builder
addDeployedModels(int index, DeployedModel.Builder builderForValue)
Output only.Endpoint.Builder
addDeployedModels(DeployedModel value)
Output only.Endpoint.Builder
addDeployedModels(DeployedModel.Builder builderForValue)
Output only.DeployedModel.Builder
addDeployedModelsBuilder()
Output only.DeployedModel.Builder
addDeployedModelsBuilder(int index)
Output only.Endpoint.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Endpoint
build()
Endpoint
buildPartial()
Endpoint.Builder
clear()
Endpoint.Builder
clearCreateTime()
Output only.Endpoint.Builder
clearDeployedModels()
Output only.Endpoint.Builder
clearDescription()
The description of the Endpoint.Endpoint.Builder
clearDisplayName()
Required.Endpoint.Builder
clearEnablePrivateServiceConnect()
Deprecated.google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is deprecated.Endpoint.Builder
clearEncryptionSpec()
Customer-managed encryption key spec for an Endpoint.Endpoint.Builder
clearEtag()
Used to perform consistent read-modify-write updates.Endpoint.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Endpoint.Builder
clearLabels()
Endpoint.Builder
clearModelDeploymentMonitoringJob()
Output only.Endpoint.Builder
clearName()
Output only.Endpoint.Builder
clearNetwork()
Optional.Endpoint.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Endpoint.Builder
clearPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.Endpoint.Builder
clearTrafficSplit()
Endpoint.Builder
clearUpdateTime()
Output only.Endpoint.Builder
clone()
boolean
containsLabels(String key)
The labels with user-defined metadata to organize your Endpoints.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.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Endpoint
getDefaultInstanceForType()
DeployedModel
getDeployedModels(int index)
Output only.DeployedModel.Builder
getDeployedModelsBuilder(int index)
Output only.List<DeployedModel.Builder>
getDeployedModelsBuilderList()
Output only.int
getDeployedModelsCount()
Output only.List<DeployedModel>
getDeployedModelsList()
Output only.DeployedModelOrBuilder
getDeployedModelsOrBuilder(int index)
Output only.List<? extends DeployedModelOrBuilder>
getDeployedModelsOrBuilderList()
Output only.String
getDescription()
The description of the Endpoint.com.google.protobuf.ByteString
getDescriptionBytes()
The description of the Endpoint.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.boolean
getEnablePrivateServiceConnect()
Deprecated.google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is deprecated.EncryptionSpec
getEncryptionSpec()
Customer-managed encryption key spec for an Endpoint.EncryptionSpec.Builder
getEncryptionSpecBuilder()
Customer-managed encryption key spec for an Endpoint.EncryptionSpecOrBuilder
getEncryptionSpecOrBuilder()
Customer-managed encryption key spec for an Endpoint.String
getEtag()
Used to perform consistent read-modify-write updates.com.google.protobuf.ByteString
getEtagBytes()
Used to perform consistent read-modify-write updates.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The labels with user-defined metadata to organize your Endpoints.Map<String,String>
getLabelsMap()
The labels with user-defined metadata to organize your Endpoints.String
getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize your Endpoints.String
getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your Endpoints.String
getModelDeploymentMonitoringJob()
Output only.com.google.protobuf.ByteString
getModelDeploymentMonitoringJobBytes()
Output only.Map<String,String>
getMutableLabels()
Deprecated.Map<String,Integer>
getMutableTrafficSplit()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getNetwork()
Optional.com.google.protobuf.ByteString
getNetworkBytes()
Optional.PredictRequestResponseLoggingConfig
getPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.PredictRequestResponseLoggingConfig.Builder
getPredictRequestResponseLoggingConfigBuilder()
Configures the request-response logging for online prediction.PredictRequestResponseLoggingConfigOrBuilder
getPredictRequestResponseLoggingConfigOrBuilder()
Configures the request-response logging for online prediction.Map<String,Integer>
getTrafficSplit()
Deprecated.int
getTrafficSplitCount()
A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.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.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.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.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasEncryptionSpec()
Customer-managed encryption key spec for an Endpoint.boolean
hasPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Endpoint.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Endpoint.Builder
mergeEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key spec for an Endpoint.Endpoint.Builder
mergeFrom(Endpoint other)
Endpoint.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Endpoint.Builder
mergeFrom(com.google.protobuf.Message other)
Endpoint.Builder
mergePredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)
Configures the request-response logging for online prediction.Endpoint.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Endpoint.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Endpoint.Builder
putAllLabels(Map<String,String> values)
The labels with user-defined metadata to organize your Endpoints.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.Endpoint.Builder
putLabels(String key, String value)
The labels with user-defined metadata to organize your Endpoints.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.Endpoint.Builder
removeDeployedModels(int index)
Output only.Endpoint.Builder
removeLabels(String key)
The labels with user-defined metadata to organize your Endpoints.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.Endpoint.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Endpoint.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Endpoint.Builder
setDeployedModels(int index, DeployedModel value)
Output only.Endpoint.Builder
setDeployedModels(int index, DeployedModel.Builder builderForValue)
Output only.Endpoint.Builder
setDescription(String value)
The description of the Endpoint.Endpoint.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the Endpoint.Endpoint.Builder
setDisplayName(String value)
Required.Endpoint.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.Endpoint.Builder
setEnablePrivateServiceConnect(boolean value)
Deprecated.google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is deprecated.Endpoint.Builder
setEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key spec for an Endpoint.Endpoint.Builder
setEncryptionSpec(EncryptionSpec.Builder builderForValue)
Customer-managed encryption key spec for an Endpoint.Endpoint.Builder
setEtag(String value)
Used to perform consistent read-modify-write updates.Endpoint.Builder
setEtagBytes(com.google.protobuf.ByteString value)
Used to perform consistent read-modify-write updates.Endpoint.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Endpoint.Builder
setModelDeploymentMonitoringJob(String value)
Output only.Endpoint.Builder
setModelDeploymentMonitoringJobBytes(com.google.protobuf.ByteString value)
Output only.Endpoint.Builder
setName(String value)
Output only.Endpoint.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Endpoint.Builder
setNetwork(String value)
Optional.Endpoint.Builder
setNetworkBytes(com.google.protobuf.ByteString value)
Optional.Endpoint.Builder
setPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)
Configures the request-response logging for online prediction.Endpoint.Builder
setPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig.Builder builderForValue)
Configures the request-response logging for online prediction.Endpoint.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Endpoint.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Endpoint.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Endpoint.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clear
public Endpoint.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
getDefaultInstanceForType
public Endpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Endpoint build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Endpoint buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Endpoint.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
setField
public Endpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearField
public Endpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearOneof
public Endpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
setRepeatedField
public Endpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
addRepeatedField
public Endpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(Endpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceEndpointOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for name.
-
setName
public Endpoint.Builder setName(String value)
Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- 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];
- Returns:
- This builder for chaining.
-
setNameBytes
public Endpoint.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the Endpoint.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getDisplayName
in interfaceEndpointOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public 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];
- Specified by:
getDisplayNameBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
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];
- Parameters:
value
- The displayName to set.- Returns:
- 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];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Endpoint.Builder setDisplayNameBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
The description of the Endpoint.
string description = 3;
- Specified by:
getDescription
in interfaceEndpointOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the Endpoint.
string description = 3;
- Specified by:
getDescriptionBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Endpoint.Builder setDescription(String value)
The description of the Endpoint.
string description = 3;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Endpoint.Builder clearDescription()
The description of the Endpoint.
string description = 3;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Endpoint.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the Endpoint.
string description = 3;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDeployedModelsList
public List<DeployedModel> getDeployedModelsList()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployedModelsList
in interfaceEndpointOrBuilder
-
getDeployedModelsCount
public int getDeployedModelsCount()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployedModelsCount
in interfaceEndpointOrBuilder
-
getDeployedModels
public DeployedModel getDeployedModels(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployedModels
in interfaceEndpointOrBuilder
-
setDeployedModels
public Endpoint.Builder setDeployedModels(int index, DeployedModel value)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDeployedModels
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][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDeployedModels
public Endpoint.Builder addDeployedModels(DeployedModel value)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDeployedModels
public Endpoint.Builder addDeployedModels(int index, DeployedModel value)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDeployedModels
public Endpoint.Builder addDeployedModels(DeployedModel.Builder builderForValue)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDeployedModels
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][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllDeployedModels
public Endpoint.Builder addAllDeployedModels(Iterable<? extends DeployedModel> values)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDeployedModels
public Endpoint.Builder clearDeployedModels()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeDeployedModels
public Endpoint.Builder removeDeployedModels(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeployedModelsBuilder
public DeployedModel.Builder getDeployedModelsBuilder(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeployedModelsOrBuilder
public DeployedModelOrBuilder getDeployedModelsOrBuilder(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployedModelsOrBuilder
in interfaceEndpointOrBuilder
-
getDeployedModelsOrBuilderList
public List<? extends DeployedModelOrBuilder> getDeployedModelsOrBuilderList()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployedModelsOrBuilderList
in interfaceEndpointOrBuilder
-
addDeployedModelsBuilder
public DeployedModel.Builder addDeployedModelsBuilder()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addDeployedModelsBuilder
public DeployedModel.Builder addDeployedModelsBuilder(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeployedModelsBuilderList
public List<DeployedModel.Builder> getDeployedModelsBuilderList()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1beta1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrafficSplitCount
public int getTrafficSplitCount()
Description copied from interface:EndpointOrBuilder
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;
- Specified by:
getTrafficSplitCount
in interfaceEndpointOrBuilder
-
containsTrafficSplit
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;
- Specified by:
containsTrafficSplit
in interfaceEndpointOrBuilder
-
getTrafficSplit
@Deprecated public Map<String,Integer> getTrafficSplit()
Deprecated.UsegetTrafficSplitMap()
instead.- Specified by:
getTrafficSplit
in interfaceEndpointOrBuilder
-
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;
- Specified by:
getTrafficSplitMap
in interfaceEndpointOrBuilder
-
getTrafficSplitOrDefault
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;
- Specified by:
getTrafficSplitOrDefault
in interfaceEndpointOrBuilder
-
getTrafficSplitOrThrow
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;
- Specified by:
getTrafficSplitOrThrow
in interfaceEndpointOrBuilder
-
clearTrafficSplit
public Endpoint.Builder clearTrafficSplit()
-
removeTrafficSplit
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;
-
getMutableTrafficSplit
@Deprecated public Map<String,Integer> getMutableTrafficSplit()
Deprecated.Use alternate mutation accessors instead.
-
putTrafficSplit
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;
-
putAllTrafficSplit
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;
-
getEtag
public String getEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
- Specified by:
getEtag
in interfaceEndpointOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
- Specified by:
getEtagBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
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;
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Endpoint.Builder clearEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
- Returns:
- This builder for chaining.
-
setEtagBytes
public Endpoint.Builder setEtagBytes(com.google.protobuf.ByteString value)
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 6;
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:EndpointOrBuilder
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;
- Specified by:
getLabelsCount
in interfaceEndpointOrBuilder
-
containsLabels
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;
- Specified by:
containsLabels
in interfaceEndpointOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceEndpointOrBuilder
-
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;
- Specified by:
getLabelsMap
in interfaceEndpointOrBuilder
-
getLabelsOrDefault
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;
- Specified by:
getLabelsOrDefault
in interfaceEndpointOrBuilder
-
getLabelsOrThrow
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;
- Specified by:
getLabelsOrThrow
in interfaceEndpointOrBuilder
-
clearLabels
public Endpoint.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceEndpointOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];
- Specified by:
getCreateTime
in interfaceEndpointOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Endpoint.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Endpoint.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Endpoint.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this Endpoint was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public 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];
- Specified by:
getCreateTimeOrBuilder
in interfaceEndpointOrBuilder
-
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];
- Specified by:
hasUpdateTime
in interfaceEndpointOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];
- Specified by:
getUpdateTime
in interfaceEndpointOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Endpoint.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Endpoint.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Endpoint.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this Endpoint was last updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public 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];
- Specified by:
getUpdateTimeOrBuilder
in interfaceEndpointOrBuilder
-
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.v1beta1.EncryptionSpec encryption_spec = 10;
- Specified by:
hasEncryptionSpec
in interfaceEndpointOrBuilder
- Returns:
- Whether the encryptionSpec field is set.
-
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.v1beta1.EncryptionSpec encryption_spec = 10;
- Specified by:
getEncryptionSpec
in interfaceEndpointOrBuilder
- Returns:
- The encryptionSpec.
-
setEncryptionSpec
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.v1beta1.EncryptionSpec encryption_spec = 10;
-
setEncryptionSpec
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.v1beta1.EncryptionSpec encryption_spec = 10;
-
mergeEncryptionSpec
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.v1beta1.EncryptionSpec encryption_spec = 10;
-
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.v1beta1.EncryptionSpec encryption_spec = 10;
-
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.v1beta1.EncryptionSpec encryption_spec = 10;
-
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.v1beta1.EncryptionSpec encryption_spec = 10;
- Specified by:
getEncryptionSpecOrBuilder
in interfaceEndpointOrBuilder
-
getNetwork
public 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.v1beta1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1beta1.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) = { ... }
- Specified by:
getNetwork
in interfaceEndpointOrBuilder
- Returns:
- The network.
-
getNetworkBytes
public 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.v1beta1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1beta1.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) = { ... }
- Specified by:
getNetworkBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for network.
-
setNetwork
public Endpoint.Builder setNetwork(String value)
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.v1beta1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1beta1.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) = { ... }
- Parameters:
value
- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public Endpoint.Builder clearNetwork()
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.v1beta1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1beta1.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:
- This builder for chaining.
-
setNetworkBytes
public Endpoint.Builder setNetworkBytes(com.google.protobuf.ByteString value)
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.v1beta1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1beta1.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) = { ... }
- Parameters:
value
- The bytes for network to set.- Returns:
- This builder for chaining.
-
getEnablePrivateServiceConnect
@Deprecated public boolean getEnablePrivateServiceConnect()
Deprecated.google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=126Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, [network][google.cloud.aiplatform.v1beta1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect], can be set.
bool enable_private_service_connect = 17 [deprecated = true];
- Specified by:
getEnablePrivateServiceConnect
in interfaceEndpointOrBuilder
- Returns:
- The enablePrivateServiceConnect.
-
setEnablePrivateServiceConnect
@Deprecated public Endpoint.Builder setEnablePrivateServiceConnect(boolean value)
Deprecated.google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=126Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, [network][google.cloud.aiplatform.v1beta1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect], can be set.
bool enable_private_service_connect = 17 [deprecated = true];
- Parameters:
value
- The enablePrivateServiceConnect to set.- Returns:
- This builder for chaining.
-
clearEnablePrivateServiceConnect
@Deprecated public Endpoint.Builder clearEnablePrivateServiceConnect()
Deprecated.google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect is deprecated. See google/cloud/aiplatform/v1beta1/endpoint.proto;l=126Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, [network][google.cloud.aiplatform.v1beta1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect], can be set.
bool enable_private_service_connect = 17 [deprecated = true];
- Returns:
- This builder for chaining.
-
getModelDeploymentMonitoringJob
public 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.v1beta1.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) = { ... }
- Specified by:
getModelDeploymentMonitoringJob
in interfaceEndpointOrBuilder
- Returns:
- The modelDeploymentMonitoringJob.
-
getModelDeploymentMonitoringJobBytes
public 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.v1beta1.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) = { ... }
- Specified by:
getModelDeploymentMonitoringJobBytes
in interfaceEndpointOrBuilder
- Returns:
- The bytes for modelDeploymentMonitoringJob.
-
setModelDeploymentMonitoringJob
public Endpoint.Builder setModelDeploymentMonitoringJob(String value)
Output only. Resource name of the Model Monitoring job associated with this Endpoint if monitoring is enabled by [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.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) = { ... }
- Parameters:
value
- The modelDeploymentMonitoringJob to set.- Returns:
- This builder for chaining.
-
clearModelDeploymentMonitoringJob
public Endpoint.Builder clearModelDeploymentMonitoringJob()
Output only. Resource name of the Model Monitoring job associated with this Endpoint if monitoring is enabled by [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.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:
- This builder for chaining.
-
setModelDeploymentMonitoringJobBytes
public Endpoint.Builder setModelDeploymentMonitoringJobBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the Model Monitoring job associated with this Endpoint if monitoring is enabled by [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.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) = { ... }
- Parameters:
value
- The bytes for modelDeploymentMonitoringJob to set.- Returns:
- This builder for chaining.
-
hasPredictRequestResponseLoggingConfig
public boolean hasPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
- Specified by:
hasPredictRequestResponseLoggingConfig
in interfaceEndpointOrBuilder
- Returns:
- Whether the predictRequestResponseLoggingConfig field is set.
-
getPredictRequestResponseLoggingConfig
public PredictRequestResponseLoggingConfig getPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
- Specified by:
getPredictRequestResponseLoggingConfig
in interfaceEndpointOrBuilder
- Returns:
- The predictRequestResponseLoggingConfig.
-
setPredictRequestResponseLoggingConfig
public Endpoint.Builder setPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
-
setPredictRequestResponseLoggingConfig
public Endpoint.Builder setPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig.Builder builderForValue)
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
-
mergePredictRequestResponseLoggingConfig
public Endpoint.Builder mergePredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
-
clearPredictRequestResponseLoggingConfig
public Endpoint.Builder clearPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
-
getPredictRequestResponseLoggingConfigBuilder
public PredictRequestResponseLoggingConfig.Builder getPredictRequestResponseLoggingConfigBuilder()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
-
getPredictRequestResponseLoggingConfigOrBuilder
public PredictRequestResponseLoggingConfigOrBuilder getPredictRequestResponseLoggingConfigOrBuilder()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1beta1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
- Specified by:
getPredictRequestResponseLoggingConfigOrBuilder
in interfaceEndpointOrBuilder
-
setUnknownFields
public final Endpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeUnknownFields
public final Endpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
-