Interface CreateRagMetadataRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateRagMetadataRequest,CreateRagMetadataRequest.Builder
@Generated
public interface CreateRagMetadataRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Optional.com.google.protobuf.ByteStringOptional.Required.booleanRequired.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
-
getParent
String getParent()Required. The parent resource where this metadata will be created. Format: `projects/{project_number}/locations/{location_id}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent resource where this metadata will be created. Format: `projects/{project_number}/locations/{location_id}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasRagMetadata
boolean hasRagMetadata()Required. The metadata to create.
.google.cloud.aiplatform.v1beta1.RagMetadata rag_metadata = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the ragMetadata field is set.
-
getRagMetadata
RagMetadata getRagMetadata()Required. The metadata to create.
.google.cloud.aiplatform.v1beta1.RagMetadata rag_metadata = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The ragMetadata.
-
getRagMetadataOrBuilder
RagMetadataOrBuilder getRagMetadataOrBuilder()Required. The metadata to create.
.google.cloud.aiplatform.v1beta1.RagMetadata rag_metadata = 2 [(.google.api.field_behavior) = REQUIRED]; -
hasRagMetadataId
boolean hasRagMetadataId()Optional. The ID to use for the metadata, which will become the final component of the metadata's resource name if the user chooses to specify. Otherwise, metadata id will be generated by system. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
optional string rag_metadata_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the ragMetadataId field is set.
-
getRagMetadataId
String getRagMetadataId()Optional. The ID to use for the metadata, which will become the final component of the metadata's resource name if the user chooses to specify. Otherwise, metadata id will be generated by system. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
optional string rag_metadata_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The ragMetadataId.
-
getRagMetadataIdBytes
com.google.protobuf.ByteString getRagMetadataIdBytes()Optional. The ID to use for the metadata, which will become the final component of the metadata's resource name if the user chooses to specify. Otherwise, metadata id will be generated by system. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
optional string rag_metadata_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for ragMetadataId.
-