Class PublisherModel.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PublisherModel.Builder>
-
- com.google.cloud.aiplatform.v1beta1.PublisherModel.Builder
-
- All Implemented Interfaces:
PublisherModelOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- PublisherModel
public static final class PublisherModel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PublisherModel.Builder> implements PublisherModelOrBuilder
A Model Garden Publisher Model.
Protobuf typegoogle.cloud.aiplatform.v1beta1.PublisherModel
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PublisherModel.Builder>
-
clear
public PublisherModel.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<PublisherModel.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<PublisherModel.Builder>
-
getDefaultInstanceForType
public PublisherModel getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PublisherModel build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PublisherModel buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PublisherModel.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<PublisherModel.Builder>
-
setField
public PublisherModel.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<PublisherModel.Builder>
-
clearField
public PublisherModel.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<PublisherModel.Builder>
-
clearOneof
public PublisherModel.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<PublisherModel.Builder>
-
setRepeatedField
public PublisherModel.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<PublisherModel.Builder>
-
addRepeatedField
public PublisherModel.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<PublisherModel.Builder>
-
mergeFrom
public PublisherModel.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PublisherModel.Builder>
-
mergeFrom
public PublisherModel.Builder mergeFrom(PublisherModel other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PublisherModel.Builder>
-
mergeFrom
public PublisherModel.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<PublisherModel.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfacePublisherModelOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfacePublisherModelOrBuilder
- Returns:
- The bytes for name.
-
setName
public PublisherModel.Builder setName(String value)
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public PublisherModel.Builder clearName()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public PublisherModel.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getVersionId
public String getVersionId()
Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.
string version_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getVersionId
in interfacePublisherModelOrBuilder
- Returns:
- The versionId.
-
getVersionIdBytes
public com.google.protobuf.ByteString getVersionIdBytes()
Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.
string version_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getVersionIdBytes
in interfacePublisherModelOrBuilder
- Returns:
- The bytes for versionId.
-
setVersionId
public PublisherModel.Builder setVersionId(String value)
Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.
string version_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The versionId to set.- Returns:
- This builder for chaining.
-
clearVersionId
public PublisherModel.Builder clearVersionId()
Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.
string version_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setVersionIdBytes
public PublisherModel.Builder setVersionIdBytes(com.google.protobuf.ByteString value)
Output only. Immutable. The version ID of the PublisherModel. A new version is committed when a new model version is uploaded under an existing model id. It is an auto-incrementing decimal number in string representation.
string version_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for versionId to set.- Returns:
- This builder for chaining.
-
getOpenSourceCategoryValue
public int getOpenSourceCategoryValue()
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1beta1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOpenSourceCategoryValue
in interfacePublisherModelOrBuilder
- Returns:
- The enum numeric value on the wire for openSourceCategory.
-
setOpenSourceCategoryValue
public PublisherModel.Builder setOpenSourceCategoryValue(int value)
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1beta1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The enum numeric value on the wire for openSourceCategory to set.- Returns:
- This builder for chaining.
-
getOpenSourceCategory
public PublisherModel.OpenSourceCategory getOpenSourceCategory()
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1beta1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getOpenSourceCategory
in interfacePublisherModelOrBuilder
- Returns:
- The openSourceCategory.
-
setOpenSourceCategory
public PublisherModel.Builder setOpenSourceCategory(PublisherModel.OpenSourceCategory value)
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1beta1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The openSourceCategory to set.- Returns:
- This builder for chaining.
-
clearOpenSourceCategory
public PublisherModel.Builder clearOpenSourceCategory()
Required. Indicates the open source category of the publisher model.
.google.cloud.aiplatform.v1beta1.PublisherModel.OpenSourceCategory open_source_category = 7 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
hasParent
public boolean hasParent()
Optional. The parent that this model was customized from. E.g., Vision API, Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasParent
in interfacePublisherModelOrBuilder
- Returns:
- Whether the parent field is set.
-
getParent
public PublisherModel.Parent getParent()
Optional. The parent that this model was customized from. E.g., Vision API, Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getParent
in interfacePublisherModelOrBuilder
- Returns:
- The parent.
-
setParent
public PublisherModel.Builder setParent(PublisherModel.Parent value)
Optional. The parent that this model was customized from. E.g., Vision API, Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
-
setParent
public PublisherModel.Builder setParent(PublisherModel.Parent.Builder builderForValue)
Optional. The parent that this model was customized from. E.g., Vision API, Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
-
mergeParent
public PublisherModel.Builder mergeParent(PublisherModel.Parent value)
Optional. The parent that this model was customized from. E.g., Vision API, Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
-
clearParent
public PublisherModel.Builder clearParent()
Optional. The parent that this model was customized from. E.g., Vision API, Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
-
getParentBuilder
public PublisherModel.Parent.Builder getParentBuilder()
Optional. The parent that this model was customized from. E.g., Vision API, Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
-
getParentOrBuilder
public PublisherModel.ParentOrBuilder getParentOrBuilder()
Optional. The parent that this model was customized from. E.g., Vision API, Natural Language API, LaMDA, T5, etc. Foundation models don't have parents.
.google.cloud.aiplatform.v1beta1.PublisherModel.Parent parent = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getParentOrBuilder
in interfacePublisherModelOrBuilder
-
hasSupportedActions
public boolean hasSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSupportedActions
in interfacePublisherModelOrBuilder
- Returns:
- Whether the supportedActions field is set.
-
getSupportedActions
public PublisherModel.CallToAction getSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSupportedActions
in interfacePublisherModelOrBuilder
- Returns:
- The supportedActions.
-
setSupportedActions
public PublisherModel.Builder setSupportedActions(PublisherModel.CallToAction value)
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
-
setSupportedActions
public PublisherModel.Builder setSupportedActions(PublisherModel.CallToAction.Builder builderForValue)
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
-
mergeSupportedActions
public PublisherModel.Builder mergeSupportedActions(PublisherModel.CallToAction value)
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
-
clearSupportedActions
public PublisherModel.Builder clearSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
-
getSupportedActionsBuilder
public PublisherModel.CallToAction.Builder getSupportedActionsBuilder()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
-
getSupportedActionsOrBuilder
public PublisherModel.CallToActionOrBuilder getSupportedActionsOrBuilder()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSupportedActionsOrBuilder
in interfacePublisherModelOrBuilder
-
getFrameworksList
public com.google.protobuf.ProtocolStringList getFrameworksList()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getFrameworksList
in interfacePublisherModelOrBuilder
- Returns:
- A list containing the frameworks.
-
getFrameworksCount
public int getFrameworksCount()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getFrameworksCount
in interfacePublisherModelOrBuilder
- Returns:
- The count of frameworks.
-
getFrameworks
public String getFrameworks(int index)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getFrameworks
in interfacePublisherModelOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The frameworks at the given index.
-
getFrameworksBytes
public com.google.protobuf.ByteString getFrameworksBytes(int index)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getFrameworksBytes
in interfacePublisherModelOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the frameworks at the given index.
-
setFrameworks
public PublisherModel.Builder setFrameworks(int index, String value)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The frameworks to set.- Returns:
- This builder for chaining.
-
addFrameworks
public PublisherModel.Builder addFrameworks(String value)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The frameworks to add.- Returns:
- This builder for chaining.
-
addAllFrameworks
public PublisherModel.Builder addAllFrameworks(Iterable<String> values)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The frameworks to add.- Returns:
- This builder for chaining.
-
clearFrameworks
public PublisherModel.Builder clearFrameworks()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addFrameworksBytes
public PublisherModel.Builder addFrameworksBytes(com.google.protobuf.ByteString value)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the frameworks to add.- Returns:
- This builder for chaining.
-
getLaunchStageValue
public int getLaunchStageValue()
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1beta1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLaunchStageValue
in interfacePublisherModelOrBuilder
- Returns:
- The enum numeric value on the wire for launchStage.
-
setLaunchStageValue
public PublisherModel.Builder setLaunchStageValue(int value)
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1beta1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The enum numeric value on the wire for launchStage to set.- Returns:
- This builder for chaining.
-
getLaunchStage
public PublisherModel.LaunchStage getLaunchStage()
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1beta1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLaunchStage
in interfacePublisherModelOrBuilder
- Returns:
- The launchStage.
-
setLaunchStage
public PublisherModel.Builder setLaunchStage(PublisherModel.LaunchStage value)
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1beta1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The launchStage to set.- Returns:
- This builder for chaining.
-
clearLaunchStage
public PublisherModel.Builder clearLaunchStage()
Optional. Indicates the launch stage of the model.
.google.cloud.aiplatform.v1beta1.PublisherModel.LaunchStage launch_stage = 29 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getPublisherModelTemplate
public String getPublisherModelTemplate()
Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
string publisher_model_template = 30 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPublisherModelTemplate
in interfacePublisherModelOrBuilder
- Returns:
- The publisherModelTemplate.
-
getPublisherModelTemplateBytes
public com.google.protobuf.ByteString getPublisherModelTemplateBytes()
Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
string publisher_model_template = 30 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPublisherModelTemplateBytes
in interfacePublisherModelOrBuilder
- Returns:
- The bytes for publisherModelTemplate.
-
setPublisherModelTemplate
public PublisherModel.Builder setPublisherModelTemplate(String value)
Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
string publisher_model_template = 30 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The publisherModelTemplate to set.- Returns:
- This builder for chaining.
-
clearPublisherModelTemplate
public PublisherModel.Builder clearPublisherModelTemplate()
Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
string publisher_model_template = 30 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setPublisherModelTemplateBytes
public PublisherModel.Builder setPublisherModelTemplateBytes(com.google.protobuf.ByteString value)
Optional. Output only. Immutable. Used to indicate this model has a publisher model and provide the template of the publisher model resource name.
string publisher_model_template = 30 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for publisherModelTemplate to set.- Returns:
- This builder for chaining.
-
hasPredictSchemata
public boolean hasPredictSchemata()
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict].
.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasPredictSchemata
in interfacePublisherModelOrBuilder
- Returns:
- Whether the predictSchemata field is set.
-
getPredictSchemata
public PredictSchemata getPredictSchemata()
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict].
.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPredictSchemata
in interfacePublisherModelOrBuilder
- Returns:
- The predictSchemata.
-
setPredictSchemata
public PublisherModel.Builder setPredictSchemata(PredictSchemata value)
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict].
.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
-
setPredictSchemata
public PublisherModel.Builder setPredictSchemata(PredictSchemata.Builder builderForValue)
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict].
.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
-
mergePredictSchemata
public PublisherModel.Builder mergePredictSchemata(PredictSchemata value)
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict].
.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
-
clearPredictSchemata
public PublisherModel.Builder clearPredictSchemata()
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict].
.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
-
getPredictSchemataBuilder
public PredictSchemata.Builder getPredictSchemataBuilder()
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict].
.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
-
getPredictSchemataOrBuilder
public PredictSchemataOrBuilder getPredictSchemataOrBuilder()
Optional. The schemata that describes formats of the PublisherModel's predictions and explanations as given and returned via [PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict].
.google.cloud.aiplatform.v1beta1.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPredictSchemataOrBuilder
in interfacePublisherModelOrBuilder
-
setUnknownFields
public final PublisherModel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PublisherModel.Builder>
-
mergeUnknownFields
public final PublisherModel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PublisherModel.Builder>
-
-