public static final class RagMetadata.Builder extends GeneratedMessage.Builder<RagMetadata.Builder> implements RagMetadataOrBuilderMetadata for RagFile provided by users.
Protobuf type google.cloud.aiplatform.v1beta1.RagMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RagMetadata.BuilderImplements
RagMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RagMetadata build()| Returns | |
|---|---|
| Type | Description |
RagMetadata |
|
buildPartial()
public RagMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
RagMetadata |
|
clear()
public RagMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
|
clearName()
public RagMetadata.Builder clearName() Identifier. Resource name of the RagMetadata.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}/ragMetadata/{rag_metadata}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
This builder for chaining. |
clearUserSpecifiedMetadata()
public RagMetadata.Builder clearUserSpecifiedMetadata()User provided metadata.
.google.cloud.aiplatform.v1beta1.UserSpecifiedMetadata user_specified_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
|
getDefaultInstanceForType()
public RagMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RagMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Identifier. Resource name of the RagMetadata.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}/ragMetadata/{rag_metadata}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. Resource name of the RagMetadata.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}/ragMetadata/{rag_metadata}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUserSpecifiedMetadata()
public UserSpecifiedMetadata getUserSpecifiedMetadata()User provided metadata.
.google.cloud.aiplatform.v1beta1.UserSpecifiedMetadata user_specified_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedMetadata |
The userSpecifiedMetadata. |
getUserSpecifiedMetadataBuilder()
public UserSpecifiedMetadata.Builder getUserSpecifiedMetadataBuilder()User provided metadata.
.google.cloud.aiplatform.v1beta1.UserSpecifiedMetadata user_specified_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedMetadata.Builder |
|
getUserSpecifiedMetadataOrBuilder()
public UserSpecifiedMetadataOrBuilder getUserSpecifiedMetadataOrBuilder()User provided metadata.
.google.cloud.aiplatform.v1beta1.UserSpecifiedMetadata user_specified_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
UserSpecifiedMetadataOrBuilder |
|
hasUserSpecifiedMetadata()
public boolean hasUserSpecifiedMetadata()User provided metadata.
.google.cloud.aiplatform.v1beta1.UserSpecifiedMetadata user_specified_metadata = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the userSpecifiedMetadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RagMetadata other)
public RagMetadata.Builder mergeFrom(RagMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
RagMetadata |
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RagMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RagMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
|
mergeUserSpecifiedMetadata(UserSpecifiedMetadata value)
public RagMetadata.Builder mergeUserSpecifiedMetadata(UserSpecifiedMetadata value)User provided metadata.
.google.cloud.aiplatform.v1beta1.UserSpecifiedMetadata user_specified_metadata = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
UserSpecifiedMetadata |
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
|
setName(String value)
public RagMetadata.Builder setName(String value) Identifier. Resource name of the RagMetadata.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}/ragMetadata/{rag_metadata}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RagMetadata.Builder setNameBytes(ByteString value) Identifier. Resource name of the RagMetadata.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}/ragMetadata/{rag_metadata}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
This builder for chaining. |
setUserSpecifiedMetadata(UserSpecifiedMetadata value)
public RagMetadata.Builder setUserSpecifiedMetadata(UserSpecifiedMetadata value)User provided metadata.
.google.cloud.aiplatform.v1beta1.UserSpecifiedMetadata user_specified_metadata = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
UserSpecifiedMetadata |
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
|
setUserSpecifiedMetadata(UserSpecifiedMetadata.Builder builderForValue)
public RagMetadata.Builder setUserSpecifiedMetadata(UserSpecifiedMetadata.Builder builderForValue)User provided metadata.
.google.cloud.aiplatform.v1beta1.UserSpecifiedMetadata user_specified_metadata = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserSpecifiedMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
RagMetadata.Builder |
|