public static final class GenerateGroundedContentRequest.GroundingSpec extends GeneratedMessage implements GenerateGroundedContentRequest.GroundingSpecOrBuilderGrounding specification.
Protobuf type
google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSpec
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GenerateGroundedContentRequest.GroundingSpecStatic Fields
GROUNDING_SOURCES_FIELD_NUMBER
public static final int GROUNDING_SOURCES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static GenerateGroundedContentRequest.GroundingSpec getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static GenerateGroundedContentRequest.GroundingSpec.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec.Builder |
|
newBuilder(GenerateGroundedContentRequest.GroundingSpec prototype)
public static GenerateGroundedContentRequest.GroundingSpec.Builder newBuilder(GenerateGroundedContentRequest.GroundingSpec prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
GenerateGroundedContentRequest.GroundingSpec |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec.Builder |
|
parseDelimitedFrom(InputStream input)
public static GenerateGroundedContentRequest.GroundingSpec parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateGroundedContentRequest.GroundingSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<GenerateGroundedContentRequest.GroundingSpec> parser()| Returns | |
|---|---|
| Type | Description |
Parser<GroundingSpec> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public GenerateGroundedContentRequest.GroundingSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec |
|
getGroundingSources(int index)
public GenerateGroundedContentRequest.GroundingSource getGroundingSources(int index)Grounding sources.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSource |
|
getGroundingSourcesCount()
public int getGroundingSourcesCount()Grounding sources.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getGroundingSourcesList()
public List<GenerateGroundedContentRequest.GroundingSource> getGroundingSourcesList()Grounding sources.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;
| Returns | |
|---|---|
| Type | Description |
List<GroundingSource> |
|
getGroundingSourcesOrBuilder(int index)
public GenerateGroundedContentRequest.GroundingSourceOrBuilder getGroundingSourcesOrBuilder(int index)Grounding sources.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSourceOrBuilder |
|
getGroundingSourcesOrBuilderList()
public List<? extends GenerateGroundedContentRequest.GroundingSourceOrBuilder> getGroundingSourcesOrBuilderList()Grounding sources.
repeated .google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSource grounding_sources = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSourceOrBuilder> |
|
getParserForType()
public Parser<GenerateGroundedContentRequest.GroundingSpec> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<GroundingSpec> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public GenerateGroundedContentRequest.GroundingSpec.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GenerateGroundedContentRequest.GroundingSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec.Builder |
|
toBuilder()
public GenerateGroundedContentRequest.GroundingSpec.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
GenerateGroundedContentRequest.GroundingSpec.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|