Class BidiStreamingAnalyzeContentRequest.Config (4.87.0)

public static final class BidiStreamingAnalyzeContentRequest.Config extends GeneratedMessageV3 implements BidiStreamingAnalyzeContentRequest.ConfigOrBuilder

The config of the session.

Protobuf type google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.Config

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BidiStreamingAnalyzeContentRequest.Config

Static Fields

INITIAL_VIRTUAL_AGENT_PARAMETERS_FIELD_NUMBER

public static final int INITIAL_VIRTUAL_AGENT_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

INITIAL_VIRTUAL_AGENT_QUERY_PARAMS_FIELD_NUMBER

public static final int INITIAL_VIRTUAL_AGENT_QUERY_PARAMS_FIELD_NUMBER
Field Value
Type Description
int

PARTICIPANT_FIELD_NUMBER

public static final int PARTICIPANT_FIELD_NUMBER
Field Value
Type Description
int

VOICE_SESSION_CONFIG_FIELD_NUMBER

public static final int VOICE_SESSION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BidiStreamingAnalyzeContentRequest.Config getDefaultInstance()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BidiStreamingAnalyzeContentRequest.Config.Builder newBuilder()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config.Builder

newBuilder(BidiStreamingAnalyzeContentRequest.Config prototype)

public static BidiStreamingAnalyzeContentRequest.Config.Builder newBuilder(BidiStreamingAnalyzeContentRequest.Config prototype)
Parameter
Name Description
prototype BidiStreamingAnalyzeContentRequest.Config
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config.Builder

parseDelimitedFrom(InputStream input)

public static BidiStreamingAnalyzeContentRequest.Config parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentRequest.Config parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentRequest.Config parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BidiStreamingAnalyzeContentRequest.Config> parser()
Returns
Type Description
Parser<Config>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfigCase()

public BidiStreamingAnalyzeContentRequest.Config.ConfigCase getConfigCase()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config.ConfigCase

getDefaultInstanceForType()

public BidiStreamingAnalyzeContentRequest.Config getDefaultInstanceForType()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config

getInitialVirtualAgentParameters()

public Struct getInitialVirtualAgentParameters()

Parameters to be passed to the virtual agent at the beginning.

.google.protobuf.Struct initial_virtual_agent_parameters = 3;

Returns
Type Description
Struct

The initialVirtualAgentParameters.

getInitialVirtualAgentParametersOrBuilder()

public StructOrBuilder getInitialVirtualAgentParametersOrBuilder()

Parameters to be passed to the virtual agent at the beginning.

.google.protobuf.Struct initial_virtual_agent_parameters = 3;

Returns
Type Description
StructOrBuilder

getInitialVirtualAgentQueryParams()

public QueryParameters getInitialVirtualAgentQueryParams()

Initial parameters for the virtual-agent.

.google.cloud.dialogflow.v2beta1.QueryParameters initial_virtual_agent_query_params = 4;

Returns
Type Description
QueryParameters

The initialVirtualAgentQueryParams.

getInitialVirtualAgentQueryParamsOrBuilder()

public QueryParametersOrBuilder getInitialVirtualAgentQueryParamsOrBuilder()

Initial parameters for the virtual-agent.

.google.cloud.dialogflow.v2beta1.QueryParameters initial_virtual_agent_query_params = 4;

Returns
Type Description
QueryParametersOrBuilder

getParserForType()

public Parser<BidiStreamingAnalyzeContentRequest.Config> getParserForType()
Returns
Type Description
Parser<Config>
Overrides

getParticipant()

public String getParticipant()

Required. The name of the participant to fetch response for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The participant.

getParticipantBytes()

public ByteString getParticipantBytes()

Required. The name of the participant to fetch response for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for participant.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVoiceSessionConfig()

public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig getVoiceSessionConfig()

Configure a voice-based session.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig voice_session_config = 2;

Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig

The voiceSessionConfig.

getVoiceSessionConfigOrBuilder()

public BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfigOrBuilder getVoiceSessionConfigOrBuilder()

Configure a voice-based session.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig voice_session_config = 2;

Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfigOrBuilder

hasInitialVirtualAgentParameters()

public boolean hasInitialVirtualAgentParameters()

Parameters to be passed to the virtual agent at the beginning.

.google.protobuf.Struct initial_virtual_agent_parameters = 3;

Returns
Type Description
boolean

Whether the initialVirtualAgentParameters field is set.

hasInitialVirtualAgentQueryParams()

public boolean hasInitialVirtualAgentQueryParams()

Initial parameters for the virtual-agent.

.google.cloud.dialogflow.v2beta1.QueryParameters initial_virtual_agent_query_params = 4;

Returns
Type Description
boolean

Whether the initialVirtualAgentQueryParams field is set.

hasVoiceSessionConfig()

public boolean hasVoiceSessionConfig()

Configure a voice-based session.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig voice_session_config = 2;

Returns
Type Description
boolean

Whether the voiceSessionConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BidiStreamingAnalyzeContentRequest.Config.Builder newBuilderForType()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BidiStreamingAnalyzeContentRequest.Config.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BidiStreamingAnalyzeContentRequest.Config.Builder toBuilder()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Config.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException