Package com.google.cloud.aiplatform.v1
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.v1.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.v1.Endpoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Endpoint.BuilderaddAllDeployedModels(Iterable<? extends DeployedModel> values)Output only.Endpoint.BuilderaddDeployedModels(int index, DeployedModel value)Output only.Endpoint.BuilderaddDeployedModels(int index, DeployedModel.Builder builderForValue)Output only.Endpoint.BuilderaddDeployedModels(DeployedModel value)Output only.Endpoint.BuilderaddDeployedModels(DeployedModel.Builder builderForValue)Output only.DeployedModel.BuilderaddDeployedModelsBuilder()Output only.DeployedModel.BuilderaddDeployedModelsBuilder(int index)Output only.Endpoint.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Endpointbuild()EndpointbuildPartial()Endpoint.Builderclear()Endpoint.BuilderclearCreateTime()Output only.Endpoint.BuilderclearDeployedModels()Output only.Endpoint.BuilderclearDescription()The description of the Endpoint.Endpoint.BuilderclearDisplayName()Required.Endpoint.BuilderclearEnablePrivateServiceConnect()Deprecated.google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated.Endpoint.BuilderclearEncryptionSpec()Customer-managed encryption key spec for an Endpoint.Endpoint.BuilderclearEtag()Used to perform consistent read-modify-write updates.Endpoint.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Endpoint.BuilderclearLabels()Endpoint.BuilderclearModelDeploymentMonitoringJob()Output only.Endpoint.BuilderclearName()Output only.Endpoint.BuilderclearNetwork()Optional.Endpoint.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Endpoint.BuilderclearPredictRequestResponseLoggingConfig()Configures the request-response logging for online prediction.Endpoint.BuilderclearTrafficSplit()Endpoint.BuilderclearUpdateTime()Output only.Endpoint.Builderclone()booleancontainsLabels(String key)The labels with user-defined metadata to organize your Endpoints.booleancontainsTrafficSplit(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.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.EndpointgetDefaultInstanceForType()DeployedModelgetDeployedModels(int index)Output only.DeployedModel.BuildergetDeployedModelsBuilder(int index)Output only.List<DeployedModel.Builder>getDeployedModelsBuilderList()Output only.intgetDeployedModelsCount()Output only.List<DeployedModel>getDeployedModelsList()Output only.DeployedModelOrBuildergetDeployedModelsOrBuilder(int index)Output only.List<? extends DeployedModelOrBuilder>getDeployedModelsOrBuilderList()Output only.StringgetDescription()The description of the Endpoint.com.google.protobuf.ByteStringgetDescriptionBytes()The description of the Endpoint.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.booleangetEnablePrivateServiceConnect()Deprecated.google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated.EncryptionSpecgetEncryptionSpec()Customer-managed encryption key spec for an Endpoint.EncryptionSpec.BuildergetEncryptionSpecBuilder()Customer-managed encryption key spec for an Endpoint.EncryptionSpecOrBuildergetEncryptionSpecOrBuilder()Customer-managed encryption key spec for an Endpoint.StringgetEtag()Used to perform consistent read-modify-write updates.com.google.protobuf.ByteStringgetEtagBytes()Used to perform consistent read-modify-write updates.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels with user-defined metadata to organize your Endpoints.Map<String,String>getLabelsMap()The labels with user-defined metadata to organize your Endpoints.StringgetLabelsOrDefault(String key, String defaultValue)The labels with user-defined metadata to organize your Endpoints.StringgetLabelsOrThrow(String key)The labels with user-defined metadata to organize your Endpoints.StringgetModelDeploymentMonitoringJob()Output only.com.google.protobuf.ByteStringgetModelDeploymentMonitoringJobBytes()Output only.Map<String,String>getMutableLabels()Deprecated.Map<String,Integer>getMutableTrafficSplit()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetNetwork()Optional.com.google.protobuf.ByteStringgetNetworkBytes()Optional.PredictRequestResponseLoggingConfiggetPredictRequestResponseLoggingConfig()Configures the request-response logging for online prediction.PredictRequestResponseLoggingConfig.BuildergetPredictRequestResponseLoggingConfigBuilder()Configures the request-response logging for online prediction.PredictRequestResponseLoggingConfigOrBuildergetPredictRequestResponseLoggingConfigOrBuilder()Configures the request-response logging for online prediction.Map<String,Integer>getTrafficSplit()Deprecated.intgetTrafficSplitCount()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.intgetTrafficSplitOrDefault(String key, int defaultValue)A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.intgetTrafficSplitOrThrow(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.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasEncryptionSpec()Customer-managed encryption key spec for an Endpoint.booleanhasPredictRequestResponseLoggingConfig()Configures the request-response logging for online prediction.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Endpoint.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Endpoint.BuildermergeEncryptionSpec(EncryptionSpec value)Customer-managed encryption key spec for an Endpoint.Endpoint.BuildermergeFrom(Endpoint other)Endpoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Endpoint.BuildermergeFrom(com.google.protobuf.Message other)Endpoint.BuildermergePredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)Configures the request-response logging for online prediction.Endpoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Endpoint.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Endpoint.BuilderputAllLabels(Map<String,String> values)The labels with user-defined metadata to organize your Endpoints.Endpoint.BuilderputAllTrafficSplit(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.BuilderputLabels(String key, String value)The labels with user-defined metadata to organize your Endpoints.Endpoint.BuilderputTrafficSplit(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.BuilderremoveDeployedModels(int index)Output only.Endpoint.BuilderremoveLabels(String key)The labels with user-defined metadata to organize your Endpoints.Endpoint.BuilderremoveTrafficSplit(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.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Endpoint.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Endpoint.BuildersetDeployedModels(int index, DeployedModel value)Output only.Endpoint.BuildersetDeployedModels(int index, DeployedModel.Builder builderForValue)Output only.Endpoint.BuildersetDescription(String value)The description of the Endpoint.Endpoint.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)The description of the Endpoint.Endpoint.BuildersetDisplayName(String value)Required.Endpoint.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Required.Endpoint.BuildersetEnablePrivateServiceConnect(boolean value)Deprecated.google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect is deprecated.Endpoint.BuildersetEncryptionSpec(EncryptionSpec value)Customer-managed encryption key spec for an Endpoint.Endpoint.BuildersetEncryptionSpec(EncryptionSpec.Builder builderForValue)Customer-managed encryption key spec for an Endpoint.Endpoint.BuildersetEtag(String value)Used to perform consistent read-modify-write updates.Endpoint.BuildersetEtagBytes(com.google.protobuf.ByteString value)Used to perform consistent read-modify-write updates.Endpoint.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Endpoint.BuildersetModelDeploymentMonitoringJob(String value)Output only.Endpoint.BuildersetModelDeploymentMonitoringJobBytes(com.google.protobuf.ByteString value)Output only.Endpoint.BuildersetName(String value)Output only.Endpoint.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Endpoint.BuildersetNetwork(String value)Optional.Endpoint.BuildersetNetworkBytes(com.google.protobuf.ByteString value)Optional.Endpoint.BuildersetPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig value)Configures the request-response logging for online prediction.Endpoint.BuildersetPredictRequestResponseLoggingConfig(PredictRequestResponseLoggingConfig.Builder builderForValue)Configures the request-response logging for online prediction.Endpoint.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Endpoint.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Endpoint.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Endpoint.BuildersetUpdateTime(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clear
public Endpoint.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
getDefaultInstanceForType
public Endpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Endpoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Endpoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Endpoint.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
setField
public Endpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearField
public Endpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearOneof
public Endpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
setRepeatedField
public Endpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
addRepeatedField
public Endpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(Endpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein 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:
getNameBytesin 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:
getDisplayNamein 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:
getDisplayNameBytesin 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:
getDescriptionin interfaceEndpointOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the Endpoint.
string description = 3;- Specified by:
getDescriptionBytesin 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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployedModelsListin interfaceEndpointOrBuilder
-
getDeployedModelsCount
public int getDeployedModelsCount()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployedModelsCountin 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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployedModelsin 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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDeployedModels
public Endpoint.Builder clearDeployedModels()
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeployedModelsOrBuilder
public DeployedModelOrBuilder getDeployedModelsOrBuilder(int index)
Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployedModelsOrBuilderin 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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployedModelsOrBuilderListin 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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.
repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrafficSplitCount
public int getTrafficSplitCount()
Description copied from interface:EndpointOrBuilderA 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:
getTrafficSplitCountin 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:
containsTrafficSplitin interfaceEndpointOrBuilder
-
getTrafficSplit
@Deprecated public Map<String,Integer> getTrafficSplit()
Deprecated.UsegetTrafficSplitMap()instead.- Specified by:
getTrafficSplitin 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:
getTrafficSplitMapin 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:
getTrafficSplitOrDefaultin 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:
getTrafficSplitOrThrowin 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:
getEtagin 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:
getEtagBytesin 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:EndpointOrBuilderThe 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:
getLabelsCountin 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:
containsLabelsin interfaceEndpointOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin 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.v1.EncryptionSpec encryption_spec = 10;- Specified by:
hasEncryptionSpecin 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.v1.EncryptionSpec encryption_spec = 10;- Specified by:
getEncryptionSpecin 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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.EncryptionSpec encryption_spec = 10;- Specified by:
getEncryptionSpecOrBuilderin 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.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is network name.string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getNetworkin 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.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is network name.string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getNetworkBytesin 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.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is network name.string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- 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.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is network name.string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- 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.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where `{project}` is a project number, as in `12345`, and `{network}` is network name.string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
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=126Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set.
bool enable_private_service_connect = 17 [deprecated = true];- Specified by:
getEnablePrivateServiceConnectin interfaceEndpointOrBuilder- Returns:
- The enablePrivateServiceConnect.
-
setEnablePrivateServiceConnect
@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=126Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set.
bool enable_private_service_connect = 17 [deprecated = true];- Parameters:
value- The enablePrivateServiceConnect to set.- Returns:
- 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=126Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set.
bool enable_private_service_connect = 17 [deprecated = true];- Returns:
- 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.v1.JobService.CreateModelDeploymentMonitoringJob]. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getModelDeploymentMonitoringJobin 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.v1.JobService.CreateModelDeploymentMonitoringJob]. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getModelDeploymentMonitoringJobBytesin 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.v1.JobService.CreateModelDeploymentMonitoringJob]. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- 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.v1.JobService.CreateModelDeploymentMonitoringJob]. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- 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.v1.JobService.CreateModelDeploymentMonitoringJob]. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}`string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- 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.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;- Specified by:
hasPredictRequestResponseLoggingConfigin interfaceEndpointOrBuilder- Returns:
- Whether the predictRequestResponseLoggingConfig field is set.
-
getPredictRequestResponseLoggingConfig
public PredictRequestResponseLoggingConfig getPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;- Specified by:
getPredictRequestResponseLoggingConfigin interfaceEndpointOrBuilder- Returns:
- The predictRequestResponseLoggingConfig.
-
setPredictRequestResponseLoggingConfig
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;
-
setPredictRequestResponseLoggingConfig
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;
-
mergePredictRequestResponseLoggingConfig
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;
-
clearPredictRequestResponseLoggingConfig
public Endpoint.Builder clearPredictRequestResponseLoggingConfig()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
-
getPredictRequestResponseLoggingConfigBuilder
public PredictRequestResponseLoggingConfig.Builder getPredictRequestResponseLoggingConfigBuilder()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;
-
getPredictRequestResponseLoggingConfigOrBuilder
public PredictRequestResponseLoggingConfigOrBuilder getPredictRequestResponseLoggingConfigOrBuilder()
Configures the request-response logging for online prediction.
.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18;- Specified by:
getPredictRequestResponseLoggingConfigOrBuilderin interfaceEndpointOrBuilder
-
setUnknownFields
public final Endpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeUnknownFields
public final Endpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
-