public static final class AugmentPromptRequest.Model.Builder extends GeneratedMessage.Builder<AugmentPromptRequest.Model.Builder> implements AugmentPromptRequest.ModelOrBuilderMetadata of the backend deployed model.
Protobuf type google.cloud.aiplatform.v1.AugmentPromptRequest.Model
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AugmentPromptRequest.Model.BuilderImplements
AugmentPromptRequest.ModelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AugmentPromptRequest.Model build()| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
buildPartial()
public AugmentPromptRequest.Model buildPartial()| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
clear()
public AugmentPromptRequest.Model.Builder clear()| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
|
clearModel()
public AugmentPromptRequest.Model.Builder clearModel()Optional. The model that the user will send the augmented prompt for content generation.
string model = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
This builder for chaining. |
clearModelVersion()
public AugmentPromptRequest.Model.Builder clearModelVersion()Optional. The model version of the backend deployed model.
string model_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AugmentPromptRequest.Model getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getModel()
public String getModel()Optional. The model that the user will send the augmented prompt for content generation.
string model = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The model. |
getModelBytes()
public ByteString getModelBytes()Optional. The model that the user will send the augmented prompt for content generation.
string model = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for model. |
getModelVersion()
public String getModelVersion()Optional. The model version of the backend deployed model.
string model_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The modelVersion. |
getModelVersionBytes()
public ByteString getModelVersionBytes()Optional. The model version of the backend deployed model.
string model_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for modelVersion. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AugmentPromptRequest.Model other)
public AugmentPromptRequest.Model.Builder mergeFrom(AugmentPromptRequest.Model other)| Parameter | |
|---|---|
| Name | Description |
other |
AugmentPromptRequest.Model |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AugmentPromptRequest.Model.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AugmentPromptRequest.Model.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
|
setModel(String value)
public AugmentPromptRequest.Model.Builder setModel(String value)Optional. The model that the user will send the augmented prompt for content generation.
string model = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe model to set. |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
This builder for chaining. |
setModelBytes(ByteString value)
public AugmentPromptRequest.Model.Builder setModelBytes(ByteString value)Optional. The model that the user will send the augmented prompt for content generation.
string model = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for model to set. |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
This builder for chaining. |
setModelVersion(String value)
public AugmentPromptRequest.Model.Builder setModelVersion(String value)Optional. The model version of the backend deployed model.
string model_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe modelVersion to set. |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
This builder for chaining. |
setModelVersionBytes(ByteString value)
public AugmentPromptRequest.Model.Builder setModelVersionBytes(ByteString value)Optional. The model version of the backend deployed model.
string model_version = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for modelVersion to set. |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
This builder for chaining. |