public static final class AugmentPromptRequest.Model extends GeneratedMessage implements AugmentPromptRequest.ModelOrBuilderMetadata of the backend deployed model.
Protobuf type google.cloud.aiplatform.v1beta1.AugmentPromptRequest.Model
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AugmentPromptRequest.ModelImplements
AugmentPromptRequest.ModelOrBuilderStatic Fields
MODEL_FIELD_NUMBER
public static final int MODEL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MODEL_VERSION_FIELD_NUMBER
public static final int MODEL_VERSION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AugmentPromptRequest.Model getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AugmentPromptRequest.Model.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
|
newBuilder(AugmentPromptRequest.Model prototype)
public static AugmentPromptRequest.Model.Builder newBuilder(AugmentPromptRequest.Model prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AugmentPromptRequest.Model |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
|
parseDelimitedFrom(InputStream input)
public static AugmentPromptRequest.Model parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptRequest.Model parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AugmentPromptRequest.Model parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptRequest.Model parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AugmentPromptRequest.Model parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptRequest.Model parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AugmentPromptRequest.Model parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptRequest.Model parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AugmentPromptRequest.Model parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptRequest.Model parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AugmentPromptRequest.Model parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AugmentPromptRequest.Model parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AugmentPromptRequest.Model> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Model> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AugmentPromptRequest.Model getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model |
|
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. |
getParserForType()
public Parser<AugmentPromptRequest.Model> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Model> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AugmentPromptRequest.Model.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AugmentPromptRequest.Model.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
|
toBuilder()
public AugmentPromptRequest.Model.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AugmentPromptRequest.Model.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|