Interface CreateRagMetadataRequestOrBuilder (3.89.0)

public interface CreateRagMetadataRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getRagMetadata()

public abstract RagMetadata getRagMetadata()

Required. The metadata to create.

.google.cloud.aiplatform.v1beta1.RagMetadata rag_metadata = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagMetadata

The ragMetadata.

getRagMetadataId()

public abstract 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-/. 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
Type Description
String

The ragMetadataId.

getRagMetadataIdBytes()

public abstract 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-/. 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
Type Description
ByteString

The bytes for ragMetadataId.

getRagMetadataOrBuilder()

public abstract RagMetadataOrBuilder getRagMetadataOrBuilder()

Required. The metadata to create.

.google.cloud.aiplatform.v1beta1.RagMetadata rag_metadata = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagMetadataOrBuilder

hasRagMetadata()

public abstract boolean hasRagMetadata()

Required. The metadata to create.

.google.cloud.aiplatform.v1beta1.RagMetadata rag_metadata = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the ragMetadata field is set.

hasRagMetadataId()

public abstract 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-/. 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
Type Description
boolean

Whether the ragMetadataId field is set.