Class CreateRagDataSchemaRequest.Builder (3.89.0)

public static final class CreateRagDataSchemaRequest.Builder extends GeneratedMessage.Builder<CreateRagDataSchemaRequest.Builder> implements CreateRagDataSchemaRequestOrBuilder

Request message for VertexRagDataService.CreateRagDataSchema.

Protobuf type google.cloud.aiplatform.v1beta1.CreateRagDataSchemaRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateRagDataSchemaRequest build()
Returns
Type Description
CreateRagDataSchemaRequest

buildPartial()

public CreateRagDataSchemaRequest buildPartial()
Returns
Type Description
CreateRagDataSchemaRequest

clear()

public CreateRagDataSchemaRequest.Builder clear()
Returns
Type Description
CreateRagDataSchemaRequest.Builder
Overrides

clearParent()

public CreateRagDataSchemaRequest.Builder clearParent()

Required. The resource name of the RagCorpus to create the RagDataSchema in. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateRagDataSchemaRequest.Builder

This builder for chaining.

clearRagDataSchema()

public CreateRagDataSchemaRequest.Builder clearRagDataSchema()

Required. The RagDataSchema to create.

.google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateRagDataSchemaRequest.Builder

clearRagDataSchemaId()

public CreateRagDataSchemaRequest.Builder clearRagDataSchemaId()

Optional. The ID to use for the RagDataSchema, which will become the final component of the RagDataSchema's resource name if the user chooses to specify. Otherwise, RagDataSchema 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_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateRagDataSchemaRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateRagDataSchemaRequest getDefaultInstanceForType()
Returns
Type Description
CreateRagDataSchemaRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource name of the RagCorpus to create the RagDataSchema in. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the RagCorpus to create the RagDataSchema in. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRagDataSchema()

public RagDataSchema getRagDataSchema()

Required. The RagDataSchema to create.

.google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagDataSchema

The ragDataSchema.

getRagDataSchemaBuilder()

public RagDataSchema.Builder getRagDataSchemaBuilder()

Required. The RagDataSchema to create.

.google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagDataSchema.Builder

getRagDataSchemaId()

public String getRagDataSchemaId()

Optional. The ID to use for the RagDataSchema, which will become the final component of the RagDataSchema's resource name if the user chooses to specify. Otherwise, RagDataSchema 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_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The ragDataSchemaId.

getRagDataSchemaIdBytes()

public ByteString getRagDataSchemaIdBytes()

Optional. The ID to use for the RagDataSchema, which will become the final component of the RagDataSchema's resource name if the user chooses to specify. Otherwise, RagDataSchema 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_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for ragDataSchemaId.

getRagDataSchemaOrBuilder()

public RagDataSchemaOrBuilder getRagDataSchemaOrBuilder()

Required. The RagDataSchema to create.

.google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagDataSchemaOrBuilder

hasRagDataSchema()

public boolean hasRagDataSchema()

Required. The RagDataSchema to create.

.google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the ragDataSchema field is set.

hasRagDataSchemaId()

public boolean hasRagDataSchemaId()

Optional. The ID to use for the RagDataSchema, which will become the final component of the RagDataSchema's resource name if the user chooses to specify. Otherwise, RagDataSchema 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_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ragDataSchemaId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateRagDataSchemaRequest other)

public CreateRagDataSchemaRequest.Builder mergeFrom(CreateRagDataSchemaRequest other)
Parameter
Name Description
other CreateRagDataSchemaRequest
Returns
Type Description
CreateRagDataSchemaRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateRagDataSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateRagDataSchemaRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateRagDataSchemaRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateRagDataSchemaRequest.Builder
Overrides

mergeRagDataSchema(RagDataSchema value)

public CreateRagDataSchemaRequest.Builder mergeRagDataSchema(RagDataSchema value)

Required. The RagDataSchema to create.

.google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RagDataSchema
Returns
Type Description
CreateRagDataSchemaRequest.Builder

setParent(String value)

public CreateRagDataSchemaRequest.Builder setParent(String value)

Required. The resource name of the RagCorpus to create the RagDataSchema in. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateRagDataSchemaRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateRagDataSchemaRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the RagCorpus to create the RagDataSchema in. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateRagDataSchemaRequest.Builder

This builder for chaining.

setRagDataSchema(RagDataSchema value)

public CreateRagDataSchemaRequest.Builder setRagDataSchema(RagDataSchema value)

Required. The RagDataSchema to create.

.google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value RagDataSchema
Returns
Type Description
CreateRagDataSchemaRequest.Builder

setRagDataSchema(RagDataSchema.Builder builderForValue)

public CreateRagDataSchemaRequest.Builder setRagDataSchema(RagDataSchema.Builder builderForValue)

Required. The RagDataSchema to create.

.google.cloud.aiplatform.v1beta1.RagDataSchema rag_data_schema = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue RagDataSchema.Builder
Returns
Type Description
CreateRagDataSchemaRequest.Builder

setRagDataSchemaId(String value)

public CreateRagDataSchemaRequest.Builder setRagDataSchemaId(String value)

Optional. The ID to use for the RagDataSchema, which will become the final component of the RagDataSchema's resource name if the user chooses to specify. Otherwise, RagDataSchema 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_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The ragDataSchemaId to set.

Returns
Type Description
CreateRagDataSchemaRequest.Builder

This builder for chaining.

setRagDataSchemaIdBytes(ByteString value)

public CreateRagDataSchemaRequest.Builder setRagDataSchemaIdBytes(ByteString value)

Optional. The ID to use for the RagDataSchema, which will become the final component of the RagDataSchema's resource name if the user chooses to specify. Otherwise, RagDataSchema 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_data_schema_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for ragDataSchemaId to set.

Returns
Type Description
CreateRagDataSchemaRequest.Builder

This builder for chaining.