public static final class CreateRagCorpusRequest.Builder extends GeneratedMessageV3.Builder<CreateRagCorpusRequest.Builder> implements CreateRagCorpusRequestOrBuilder
Request message for
VertexRagDataService.CreateRagCorpus.
Protobuf type google.cloud.aiplatform.v1beta1.CreateRagCorpusRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateRagCorpusRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateRagCorpusRequest build()
public CreateRagCorpusRequest buildPartial()
public CreateRagCorpusRequest.Builder clear()
Overrides
public CreateRagCorpusRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateRagCorpusRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CreateRagCorpusRequest.Builder clearParent()
Required. The resource name of the Location to create the RagCorpus in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateRagCorpusRequest.Builder clearRagCorpus()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateRagCorpusRequest.Builder clone()
Overrides
public CreateRagCorpusRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getParent()
Required. The resource name of the Location to create the RagCorpus in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The resource name of the Location to create the RagCorpus in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public RagCorpus getRagCorpus()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
RagCorpus |
The ragCorpus.
|
public RagCorpus.Builder getRagCorpusBuilder()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public RagCorpusOrBuilder getRagCorpusOrBuilder()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public boolean hasRagCorpus()
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the ragCorpus field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateRagCorpusRequest.Builder mergeFrom(CreateRagCorpusRequest other)
public CreateRagCorpusRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateRagCorpusRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public CreateRagCorpusRequest.Builder mergeRagCorpus(RagCorpus value)
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public final CreateRagCorpusRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CreateRagCorpusRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateRagCorpusRequest.Builder setParent(String value)
Required. The resource name of the Location to create the RagCorpus in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
public CreateRagCorpusRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the Location to create the RagCorpus in.
Format: projects/{project}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
public CreateRagCorpusRequest.Builder setRagCorpus(RagCorpus value)
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateRagCorpusRequest.Builder setRagCorpus(RagCorpus.Builder builderForValue)
Required. The RagCorpus to create.
.google.cloud.aiplatform.v1beta1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateRagCorpusRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CreateRagCorpusRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides