public static final class StreamAssistRequest.ToolsSpec extends com.google.protobuf.GeneratedMessage implements StreamAssistRequest.ToolsSpecOrBuilder
Specification of tools that are used to serve the request.Protobuf type
google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec| Modifier and Type | Class and Description |
|---|---|
static class |
StreamAssistRequest.ToolsSpec.Builder
Specification of tools that are used to serve the request.
|
static class |
StreamAssistRequest.ToolsSpec.ImageGenerationSpec
Specification of the image generation tool.
|
static interface |
StreamAssistRequest.ToolsSpec.ImageGenerationSpecOrBuilder |
static class |
StreamAssistRequest.ToolsSpec.VertexAiSearchSpec
Specification of the Vertex AI Search tool.
|
static interface |
StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilder |
static class |
StreamAssistRequest.ToolsSpec.VideoGenerationSpec
Specification of the video generation tool.
|
static interface |
StreamAssistRequest.ToolsSpec.VideoGenerationSpecOrBuilder |
static class |
StreamAssistRequest.ToolsSpec.WebGroundingSpec
Specification of the web grounding tool.
|
static interface |
StreamAssistRequest.ToolsSpec.WebGroundingSpecOrBuilder |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
IMAGE_GENERATION_SPEC_FIELD_NUMBER |
static int |
VERTEX_AI_SEARCH_SPEC_FIELD_NUMBER |
static int |
VIDEO_GENERATION_SPEC_FIELD_NUMBER |
static int |
WEB_GROUNDING_SPEC_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERTEX_AI_SEARCH_SPEC_FIELD_NUMBER
public static final int WEB_GROUNDING_SPEC_FIELD_NUMBER
public static final int IMAGE_GENERATION_SPEC_FIELD_NUMBER
public static final int VIDEO_GENERATION_SPEC_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasVertexAiSearchSpec()
Optional. Specification of the Vertex AI Search tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VertexAiSearchSpec vertex_ai_search_spec = 1 [(.google.api.field_behavior) = OPTIONAL];
hasVertexAiSearchSpec in interface StreamAssistRequest.ToolsSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.VertexAiSearchSpec getVertexAiSearchSpec()
Optional. Specification of the Vertex AI Search tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VertexAiSearchSpec vertex_ai_search_spec = 1 [(.google.api.field_behavior) = OPTIONAL];
getVertexAiSearchSpec in interface StreamAssistRequest.ToolsSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilder getVertexAiSearchSpecOrBuilder()
Optional. Specification of the Vertex AI Search tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VertexAiSearchSpec vertex_ai_search_spec = 1 [(.google.api.field_behavior) = OPTIONAL];
getVertexAiSearchSpecOrBuilder in interface StreamAssistRequest.ToolsSpecOrBuilderpublic boolean hasWebGroundingSpec()
Optional. Specification of the web grounding tool. If field is present, enables grounding with web search. Works only if [Assistant.web_grounding_type][google.cloud.discoveryengine.v1.Assistant.web_grounding_type] is [WEB_GROUNDING_TYPE_GOOGLE_SEARCH][] or [WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH][].
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.WebGroundingSpec web_grounding_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
hasWebGroundingSpec in interface StreamAssistRequest.ToolsSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.WebGroundingSpec getWebGroundingSpec()
Optional. Specification of the web grounding tool. If field is present, enables grounding with web search. Works only if [Assistant.web_grounding_type][google.cloud.discoveryengine.v1.Assistant.web_grounding_type] is [WEB_GROUNDING_TYPE_GOOGLE_SEARCH][] or [WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH][].
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.WebGroundingSpec web_grounding_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getWebGroundingSpec in interface StreamAssistRequest.ToolsSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.WebGroundingSpecOrBuilder getWebGroundingSpecOrBuilder()
Optional. Specification of the web grounding tool. If field is present, enables grounding with web search. Works only if [Assistant.web_grounding_type][google.cloud.discoveryengine.v1.Assistant.web_grounding_type] is [WEB_GROUNDING_TYPE_GOOGLE_SEARCH][] or [WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH][].
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.WebGroundingSpec web_grounding_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getWebGroundingSpecOrBuilder in interface StreamAssistRequest.ToolsSpecOrBuilderpublic boolean hasImageGenerationSpec()
Optional. Specification of the image generation tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.ImageGenerationSpec image_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
hasImageGenerationSpec in interface StreamAssistRequest.ToolsSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.ImageGenerationSpec getImageGenerationSpec()
Optional. Specification of the image generation tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.ImageGenerationSpec image_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
getImageGenerationSpec in interface StreamAssistRequest.ToolsSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.ImageGenerationSpecOrBuilder getImageGenerationSpecOrBuilder()
Optional. Specification of the image generation tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.ImageGenerationSpec image_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
getImageGenerationSpecOrBuilder in interface StreamAssistRequest.ToolsSpecOrBuilderpublic boolean hasVideoGenerationSpec()
Optional. Specification of the video generation tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VideoGenerationSpec video_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
hasVideoGenerationSpec in interface StreamAssistRequest.ToolsSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.VideoGenerationSpec getVideoGenerationSpec()
Optional. Specification of the video generation tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VideoGenerationSpec video_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
getVideoGenerationSpec in interface StreamAssistRequest.ToolsSpecOrBuilderpublic StreamAssistRequest.ToolsSpec.VideoGenerationSpecOrBuilder getVideoGenerationSpecOrBuilder()
Optional. Specification of the video generation tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VideoGenerationSpec video_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
getVideoGenerationSpecOrBuilder in interface StreamAssistRequest.ToolsSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StreamAssistRequest.ToolsSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAssistRequest.ToolsSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAssistRequest.ToolsSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAssistRequest.ToolsSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAssistRequest.ToolsSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAssistRequest.ToolsSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StreamAssistRequest.ToolsSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static StreamAssistRequest.ToolsSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StreamAssistRequest.ToolsSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static StreamAssistRequest.ToolsSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static StreamAssistRequest.ToolsSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static StreamAssistRequest.ToolsSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic StreamAssistRequest.ToolsSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StreamAssistRequest.ToolsSpec.Builder newBuilder()
public static StreamAssistRequest.ToolsSpec.Builder newBuilder(StreamAssistRequest.ToolsSpec prototype)
public StreamAssistRequest.ToolsSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected StreamAssistRequest.ToolsSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static StreamAssistRequest.ToolsSpec getDefaultInstance()
public static com.google.protobuf.Parser<StreamAssistRequest.ToolsSpec> parser()
public com.google.protobuf.Parser<StreamAssistRequest.ToolsSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic StreamAssistRequest.ToolsSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.