- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class PublisherModel.Builder extends GeneratedMessageV3.Builder<PublisherModel.Builder> implements PublisherModelOrBuilder
A Model Garden Publisher Model.
Protobuf type google.cloud.aiplatform.v1beta1.PublisherModel
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PublisherModel.BuilderImplements
PublisherModelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFrameworks(Iterable<String> values)
public PublisherModel.Builder addAllFrameworks(Iterable<String> values)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The frameworks to add. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
addFrameworks(String value)
public PublisherModel.Builder addFrameworks(String value)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The frameworks to add. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
addFrameworksBytes(ByteString value)
public PublisherModel.Builder addFrameworksBytes(ByteString value)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the frameworks to add. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PublisherModel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
build()
public PublisherModel build()
Returns | |
---|---|
Type | Description |
PublisherModel |
buildPartial()
public PublisherModel buildPartial()
Returns | |
---|---|
Type | Description |
PublisherModel |
clear()
public PublisherModel.Builder clear()
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
clearField(Descriptors.FieldDescriptor field)
public PublisherModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
clearFrameworks()
public PublisherModel.Builder clearFrameworks()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
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 | |
---|---|
Type | Description |
PublisherModel.Builder |
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 | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PublisherModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
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 | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
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.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
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 | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
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 | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
clearVersionState()
public PublisherModel.Builder clearVersionState()
Optional. Indicates the state of the model version.
.google.cloud.aiplatform.v1beta1.PublisherModel.VersionState version_state = 37 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
clone()
public PublisherModel.Builder clone()
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
getDefaultInstanceForType()
public PublisherModel getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PublisherModel |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFrameworks(int index)
public String getFrameworks(int index)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The frameworks at the given index. |
getFrameworksBytes(int index)
public ByteString getFrameworksBytes(int index)
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the frameworks at the given index. |
getFrameworksCount()
public int getFrameworksCount()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of frameworks. |
getFrameworksList()
public ProtocolStringList getFrameworksList()
Optional. Additional information about the model's Frameworks.
repeated string frameworks = 23 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the frameworks. |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.LaunchStage |
The launchStage. |
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for launchStage. |
getName()
public String getName()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.OpenSourceCategory |
The openSourceCategory. |
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for openSourceCategory. |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.Parent |
The parent. |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.Parent.Builder |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.ParentOrBuilder |
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.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PredictSchemata |
The predictSchemata. |
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.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PredictSchemata.Builder |
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.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PredictSchemataOrBuilder |
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];
Returns | |
---|---|
Type | Description |
String |
The publisherModelTemplate. |
getPublisherModelTemplateBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for publisherModelTemplate. |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction |
The supportedActions. |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.CallToAction.Builder |
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];
Returns | |
---|---|
Type | Description |
PublisherModel.CallToActionOrBuilder |
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];
Returns | |
---|---|
Type | Description |
String |
The versionId. |
getVersionIdBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for versionId. |
getVersionState()
public PublisherModel.VersionState getVersionState()
Optional. Indicates the state of the model version.
.google.cloud.aiplatform.v1beta1.PublisherModel.VersionState version_state = 37 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PublisherModel.VersionState |
The versionState. |
getVersionStateValue()
public int getVersionStateValue()
Optional. Indicates the state of the model version.
.google.cloud.aiplatform.v1beta1.PublisherModel.VersionState version_state = 37 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for versionState. |
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the parent field is set. |
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.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the predictSchemata field is set. |
hasSupportedActions()
public boolean hasSupportedActions()
Optional. Supported call-to-action options.
.google.cloud.aiplatform.v1beta1.PublisherModel.CallToAction supported_actions = 19 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the supportedActions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PublisherModel other)
public PublisherModel.Builder mergeFrom(PublisherModel other)
Parameter | |
---|---|
Name | Description |
other |
PublisherModel |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PublisherModel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PublisherModel.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
mergeParent(PublisherModel.Parent value)
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];
Parameter | |
---|---|
Name | Description |
value |
PublisherModel.Parent |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
mergePredictSchemata(PredictSchemata value)
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.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
PredictSchemata |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
mergeSupportedActions(PublisherModel.CallToAction value)
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];
Parameter | |
---|---|
Name | Description |
value |
PublisherModel.CallToAction |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PublisherModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PublisherModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setFrameworks(int index, String value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The frameworks to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setLaunchStage(PublisherModel.LaunchStage value)
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];
Parameter | |
---|---|
Name | Description |
value |
PublisherModel.LaunchStage The launchStage to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setLaunchStageValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for launchStage to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setName(String value)
public PublisherModel.Builder setName(String value)
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public PublisherModel.Builder setNameBytes(ByteString value)
Output only. The resource name of the PublisherModel.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setOpenSourceCategory(PublisherModel.OpenSourceCategory value)
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];
Parameter | |
---|---|
Name | Description |
value |
PublisherModel.OpenSourceCategory The openSourceCategory to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setOpenSourceCategoryValue(int value)
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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for openSourceCategory to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setParent(PublisherModel.Parent value)
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];
Parameter | |
---|---|
Name | Description |
value |
PublisherModel.Parent |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setParent(PublisherModel.Parent.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
PublisherModel.Parent.Builder |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setPredictSchemata(PredictSchemata value)
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.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
PredictSchemata |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setPredictSchemata(PredictSchemata.Builder builderForValue)
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.PredictSchemata predict_schemata = 31 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
PredictSchemata.Builder |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setPublisherModelTemplate(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The publisherModelTemplate to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setPublisherModelTemplateBytes(ByteString value)
public PublisherModel.Builder setPublisherModelTemplateBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for publisherModelTemplate to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PublisherModel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setSupportedActions(PublisherModel.CallToAction value)
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];
Parameter | |
---|---|
Name | Description |
value |
PublisherModel.CallToAction |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setSupportedActions(PublisherModel.CallToAction.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
PublisherModel.CallToAction.Builder |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PublisherModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
setVersionId(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The versionId to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setVersionIdBytes(ByteString value)
public PublisherModel.Builder setVersionIdBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for versionId to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setVersionState(PublisherModel.VersionState value)
public PublisherModel.Builder setVersionState(PublisherModel.VersionState value)
Optional. Indicates the state of the model version.
.google.cloud.aiplatform.v1beta1.PublisherModel.VersionState version_state = 37 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
PublisherModel.VersionState The versionState to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |
setVersionStateValue(int value)
public PublisherModel.Builder setVersionStateValue(int value)
Optional. Indicates the state of the model version.
.google.cloud.aiplatform.v1beta1.PublisherModel.VersionState version_state = 37 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for versionState to set. |
Returns | |
---|---|
Type | Description |
PublisherModel.Builder |
This builder for chaining. |