public static final class GenerateGroundedContentRequest.GroundingSource.InlineSource extends GeneratedMessageV3 implements GenerateGroundedContentRequest.GroundingSource.InlineSourceOrBuilder
Message to be used for grounding based on inline content.
Protobuf type
google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSource.InlineSource
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
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GROUNDING_FACTS_FIELD_NUMBER
public static final int GROUNDING_FACTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateGroundedContentRequest.GroundingSource.InlineSource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateGroundedContentRequest.GroundingSource.InlineSource.Builder newBuilder()
newBuilder(GenerateGroundedContentRequest.GroundingSource.InlineSource prototype)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource.Builder newBuilder(GenerateGroundedContentRequest.GroundingSource.InlineSource prototype)
parseDelimitedFrom(InputStream input)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSource.InlineSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateGroundedContentRequest.GroundingSource.InlineSource> parser()
Methods
containsAttributes(String key)
public boolean containsAttributes(String key)
Attributes associated with the content.
Common attributes include source
(indicating where the content was
sourced from) and author
(indicating the author of the content).
map<string, string> attributes = 2;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAttributes() (deprecated)
public Map<String,String> getAttributes()
getAttributesCount()
public int getAttributesCount()
Attributes associated with the content.
Common attributes include source
(indicating where the content was
sourced from) and author
(indicating the author of the content).
map<string, string> attributes = 2;
Returns |
Type |
Description |
int |
|
getAttributesMap()
public Map<String,String> getAttributesMap()
Attributes associated with the content.
Common attributes include source
(indicating where the content was
sourced from) and author
(indicating the author of the content).
map<string, string> attributes = 2;
getAttributesOrDefault(String key, String defaultValue)
public String getAttributesOrDefault(String key, String defaultValue)
Attributes associated with the content.
Common attributes include source
(indicating where the content was
sourced from) and author
(indicating the author of the content).
map<string, string> attributes = 2;
Returns |
Type |
Description |
String |
|
getAttributesOrThrow(String key)
public String getAttributesOrThrow(String key)
Attributes associated with the content.
Common attributes include source
(indicating where the content was
sourced from) and author
(indicating the author of the content).
map<string, string> attributes = 2;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getDefaultInstanceForType()
public GenerateGroundedContentRequest.GroundingSource.InlineSource getDefaultInstanceForType()
getGroundingFacts(int index)
public GroundingFact getGroundingFacts(int index)
List of facts to be used for grounding.
repeated .google.cloud.discoveryengine.v1beta.GroundingFact grounding_facts = 1;
Parameter |
Name |
Description |
index |
int
|
getGroundingFactsCount()
public int getGroundingFactsCount()
List of facts to be used for grounding.
repeated .google.cloud.discoveryengine.v1beta.GroundingFact grounding_facts = 1;
Returns |
Type |
Description |
int |
|
getGroundingFactsList()
public List<GroundingFact> getGroundingFactsList()
List of facts to be used for grounding.
repeated .google.cloud.discoveryengine.v1beta.GroundingFact grounding_facts = 1;
getGroundingFactsOrBuilder(int index)
public GroundingFactOrBuilder getGroundingFactsOrBuilder(int index)
List of facts to be used for grounding.
repeated .google.cloud.discoveryengine.v1beta.GroundingFact grounding_facts = 1;
Parameter |
Name |
Description |
index |
int
|
getGroundingFactsOrBuilderList()
public List<? extends GroundingFactOrBuilder> getGroundingFactsOrBuilderList()
List of facts to be used for grounding.
repeated .google.cloud.discoveryengine.v1beta.GroundingFact grounding_facts = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1beta.GroundingFactOrBuilder> |
|
getParserForType()
public Parser<GenerateGroundedContentRequest.GroundingSource.InlineSource> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateGroundedContentRequest.GroundingSource.InlineSource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateGroundedContentRequest.GroundingSource.InlineSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GenerateGroundedContentRequest.GroundingSource.InlineSource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides