Class Conversation.CallMetadata (2.27.0)

public static final class Conversation.CallMetadata extends GeneratedMessageV3 implements Conversation.CallMetadataOrBuilder

Call-specific metadata.

Protobuf type google.cloud.contactcenterinsights.v1.Conversation.CallMetadata

Static Fields

AGENT_CHANNEL_FIELD_NUMBER

public static final int AGENT_CHANNEL_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOMER_CHANNEL_FIELD_NUMBER

public static final int CUSTOMER_CHANNEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Conversation.CallMetadata getDefaultInstance()
Returns
TypeDescription
Conversation.CallMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Conversation.CallMetadata.Builder newBuilder()
Returns
TypeDescription
Conversation.CallMetadata.Builder

newBuilder(Conversation.CallMetadata prototype)

public static Conversation.CallMetadata.Builder newBuilder(Conversation.CallMetadata prototype)
Parameter
NameDescription
prototypeConversation.CallMetadata
Returns
TypeDescription
Conversation.CallMetadata.Builder

parseDelimitedFrom(InputStream input)

public static Conversation.CallMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation.CallMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Conversation.CallMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Conversation.CallMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Conversation.CallMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Conversation.CallMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Conversation.CallMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation.CallMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Conversation.CallMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Conversation.CallMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Conversation.CallMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Conversation.CallMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.CallMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Conversation.CallMetadata> parser()
Returns
TypeDescription
Parser<CallMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAgentChannel()

public int getAgentChannel()

The audio channel that contains the agent.

int32 agent_channel = 2;

Returns
TypeDescription
int

The agentChannel.

getCustomerChannel()

public int getCustomerChannel()

The audio channel that contains the customer.

int32 customer_channel = 1;

Returns
TypeDescription
int

The customerChannel.

getDefaultInstanceForType()

public Conversation.CallMetadata getDefaultInstanceForType()
Returns
TypeDescription
Conversation.CallMetadata

getParserForType()

public Parser<Conversation.CallMetadata> getParserForType()
Returns
TypeDescription
Parser<CallMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Conversation.CallMetadata.Builder newBuilderForType()
Returns
TypeDescription
Conversation.CallMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Conversation.CallMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Conversation.CallMetadata.Builder toBuilder()
Returns
TypeDescription
Conversation.CallMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException