public static final class GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata extends GeneratedMessageV3 implements GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadataOrBuilder
Describes the metadata associated with a retrieval step.
Protobuf type
google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DYNAMIC_RETRIEVAL_METADATA_FIELD_NUMBER
public static final int DYNAMIC_RETRIEVAL_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder newBuilder()
newBuilder(GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata prototype)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder newBuilder(GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata prototype)
parseDelimitedFrom(InputStream input)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata getDefaultInstanceForType()
getDynamicRetrievalMetadata()
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata getDynamicRetrievalMetadata()
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
getDynamicRetrievalMetadataOrBuilder()
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadataOrBuilder getDynamicRetrievalMetadataOrBuilder()
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
getParserForType()
public Parser<GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSource()
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source getSource()
Describes the source to which the metadata is referring to.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source source = 1;
getSourceValue()
public int getSourceValue()
Describes the source to which the metadata is referring to.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Source source = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for source.
|
hasDynamicRetrievalMetadata()
public boolean hasDynamicRetrievalMetadata()
Metadata for dynamic retrieval.
.google.cloud.discoveryengine.v1.GenerateGroundedContentResponse.Candidate.GroundingMetadata.DynamicRetrievalMetadata dynamic_retrieval_metadata = 2;
Returns |
Type |
Description |
boolean |
Whether the dynamicRetrievalMetadata field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GenerateGroundedContentResponse.Candidate.GroundingMetadata.RetrievalMetadata.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides