Package com.google.cloud.aiplatform.v1
Interface AugmentPromptRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AugmentPromptRequest,AugmentPromptRequest.Builder
@Generated
public interface AugmentPromptRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetContents(int index) Optional.intOptional.Optional.getContentsOrBuilder(int index) Optional.List<? extends ContentOrBuilder>Optional.getModel()Optional.Optional.Required.com.google.protobuf.ByteStringRequired.Optional.Optional.booleanhasModel()Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasVertexRagStore
boolean hasVertexRagStore()Optional. Retrieves contexts from the Vertex RagStore.
.google.cloud.aiplatform.v1.VertexRagStore vertex_rag_store = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the vertexRagStore field is set.
-
getVertexRagStore
VertexRagStore getVertexRagStore()Optional. Retrieves contexts from the Vertex RagStore.
.google.cloud.aiplatform.v1.VertexRagStore vertex_rag_store = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The vertexRagStore.
-
getVertexRagStoreOrBuilder
VertexRagStoreOrBuilder getVertexRagStoreOrBuilder()Optional. Retrieves contexts from the Vertex RagStore.
.google.cloud.aiplatform.v1.VertexRagStore vertex_rag_store = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getParent
String getParent()Required. The resource name of the Location from which to augment prompt. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The resource name of the Location from which to augment prompt. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getContentsList
Optional. Input content to augment, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getContents
Optional. Input content to augment, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getContentsCount
int getContentsCount()Optional. Input content to augment, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getContentsOrBuilderList
List<? extends ContentOrBuilder> getContentsOrBuilderList()Optional. Input content to augment, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getContentsOrBuilder
Optional. Input content to augment, only text format is supported for now.
repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL]; -
hasModel
boolean hasModel()Optional. Metadata of the backend deployed model.
.google.cloud.aiplatform.v1.AugmentPromptRequest.Model model = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the model field is set.
-
getModel
AugmentPromptRequest.Model getModel()Optional. Metadata of the backend deployed model.
.google.cloud.aiplatform.v1.AugmentPromptRequest.Model model = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The model.
-
getModelOrBuilder
AugmentPromptRequest.ModelOrBuilder getModelOrBuilder()Optional. Metadata of the backend deployed model.
.google.cloud.aiplatform.v1.AugmentPromptRequest.Model model = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getDataSourceCase
AugmentPromptRequest.DataSourceCase getDataSourceCase()
-