Class StreamQueryReasoningEngineRequest (3.77.0)
public final class StreamQueryReasoningEngineRequest extends GeneratedMessageV3 implements StreamQueryReasoningEngineRequestOrBuilder
Request message for [ReasoningEngineExecutionService.StreamQuery][].
Protobuf type google.cloud.aiplatform.v1.StreamQueryReasoningEngineRequest
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
public static final int CLASS_METHOD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INPUT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static StreamQueryReasoningEngineRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static StreamQueryReasoningEngineRequest.Builder newBuilder()
public static StreamQueryReasoningEngineRequest.Builder newBuilder(StreamQueryReasoningEngineRequest prototype)
public static StreamQueryReasoningEngineRequest parseDelimitedFrom(InputStream input)
public static StreamQueryReasoningEngineRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamQueryReasoningEngineRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static StreamQueryReasoningEngineRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamQueryReasoningEngineRequest parseFrom(ByteString data)
public static StreamQueryReasoningEngineRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamQueryReasoningEngineRequest parseFrom(CodedInputStream input)
public static StreamQueryReasoningEngineRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamQueryReasoningEngineRequest parseFrom(InputStream input)
public static StreamQueryReasoningEngineRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamQueryReasoningEngineRequest parseFrom(ByteBuffer data)
public static StreamQueryReasoningEngineRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<StreamQueryReasoningEngineRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public String getClassMethod()
Optional. Class method to be used for the stream query.
It is optional and defaults to "stream_query" if unspecified.
string class_method = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The classMethod.
|
public ByteString getClassMethodBytes()
Optional. Class method to be used for the stream query.
It is optional and defaults to "stream_query" if unspecified.
string class_method = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for classMethod.
|
public StreamQueryReasoningEngineRequest getDefaultInstanceForType()
Optional. Input content provided by users in JSON object format. Examples
include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Struct |
The input.
|
public StructOrBuilder getInputOrBuilder()
Optional. Input content provided by users in JSON object format. Examples
include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];
Required. The name of the ReasoningEngine resource to use.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. The name of the ReasoningEngine resource to use.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public Parser<StreamQueryReasoningEngineRequest> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public boolean hasInput()
Optional. Input content provided by users in JSON object format. Examples
include text query, function calling parameters, media bytes, etc.
.google.protobuf.Struct input = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the input field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StreamQueryReasoningEngineRequest.Builder newBuilderForType()
protected StreamQueryReasoningEngineRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public StreamQueryReasoningEngineRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]