public final class BidiSessionClientMessage extends GeneratedMessage implements BidiSessionClientMessageOrBuilderThe top-level message sent by the client for the SessionService.BidiRunSession method.
Protobuf type google.cloud.ces.v1.BidiSessionClientMessage
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BidiSessionClientMessageImplements
BidiSessionClientMessageOrBuilderStatic Fields
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REALTIME_INPUT_FIELD_NUMBER
public static final int REALTIME_INPUT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static BidiSessionClientMessage getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static BidiSessionClientMessage.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage.Builder |
|
newBuilder(BidiSessionClientMessage prototype)
public static BidiSessionClientMessage.Builder newBuilder(BidiSessionClientMessage prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
BidiSessionClientMessage |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage.Builder |
|
parseDelimitedFrom(InputStream input)
public static BidiSessionClientMessage parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BidiSessionClientMessage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static BidiSessionClientMessage parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BidiSessionClientMessage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static BidiSessionClientMessage parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BidiSessionClientMessage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static BidiSessionClientMessage parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BidiSessionClientMessage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static BidiSessionClientMessage parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BidiSessionClientMessage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static BidiSessionClientMessage parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BidiSessionClientMessage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<BidiSessionClientMessage> parser()| Returns | |
|---|---|
| Type | Description |
Parser<BidiSessionClientMessage> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getConfig()
public SessionConfig getConfig()Optional. The initial config message for the session.
.google.cloud.ces.v1.SessionConfig config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SessionConfig |
The config. |
getConfigOrBuilder()
public SessionConfigOrBuilder getConfigOrBuilder()Optional. The initial config message for the session.
.google.cloud.ces.v1.SessionConfig config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SessionConfigOrBuilder |
|
getDefaultInstanceForType()
public BidiSessionClientMessage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage |
|
getMessageTypeCase()
public BidiSessionClientMessage.MessageTypeCase getMessageTypeCase()| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage.MessageTypeCase |
|
getParserForType()
public Parser<BidiSessionClientMessage> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<BidiSessionClientMessage> |
|
getRealtimeInput()
public SessionInput getRealtimeInput()Optional. Realtime input for the session.
.google.cloud.ces.v1.SessionInput realtime_input = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SessionInput |
The realtimeInput. |
getRealtimeInputOrBuilder()
public SessionInputOrBuilder getRealtimeInputOrBuilder()Optional. Realtime input for the session.
.google.cloud.ces.v1.SessionInput realtime_input = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SessionInputOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasConfig()
public boolean hasConfig()Optional. The initial config message for the session.
.google.cloud.ces.v1.SessionConfig config = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the config field is set. |
hasRealtimeInput()
public boolean hasRealtimeInput()Optional. Realtime input for the session.
.google.cloud.ces.v1.SessionInput realtime_input = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the realtimeInput field is set. |
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 BidiSessionClientMessage.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected BidiSessionClientMessage.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage.Builder |
|
toBuilder()
public BidiSessionClientMessage.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
BidiSessionClientMessage.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|