Class Conversation.CallMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
- com.google.cloud.contactcenterinsights.v1.Conversation.CallMetadata.Builder
-
- All Implemented Interfaces:
Conversation.CallMetadataOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Conversation.CallMetadata
public static final class Conversation.CallMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder> implements Conversation.CallMetadataOrBuilder
Call-specific metadata.
Protobuf typegoogle.cloud.contactcenterinsights.v1.Conversation.CallMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Conversation.CallMetadata.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Conversation.CallMetadata
build()
Conversation.CallMetadata
buildPartial()
Conversation.CallMetadata.Builder
clear()
Conversation.CallMetadata.Builder
clearAgentChannel()
The audio channel that contains the agent.Conversation.CallMetadata.Builder
clearCustomerChannel()
The audio channel that contains the customer.Conversation.CallMetadata.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Conversation.CallMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Conversation.CallMetadata.Builder
clone()
int
getAgentChannel()
The audio channel that contains the agent.int
getCustomerChannel()
The audio channel that contains the customer.Conversation.CallMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Conversation.CallMetadata.Builder
mergeFrom(Conversation.CallMetadata other)
Conversation.CallMetadata.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Conversation.CallMetadata.Builder
mergeFrom(com.google.protobuf.Message other)
Conversation.CallMetadata.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Conversation.CallMetadata.Builder
setAgentChannel(int value)
The audio channel that contains the agent.Conversation.CallMetadata.Builder
setCustomerChannel(int value)
The audio channel that contains the customer.Conversation.CallMetadata.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Conversation.CallMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Conversation.CallMetadata.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
clear
public Conversation.CallMetadata.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
getDefaultInstanceForType
public Conversation.CallMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Conversation.CallMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Conversation.CallMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Conversation.CallMetadata.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
setField
public Conversation.CallMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
clearField
public Conversation.CallMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
clearOneof
public Conversation.CallMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
setRepeatedField
public Conversation.CallMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
addRepeatedField
public Conversation.CallMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
mergeFrom
public Conversation.CallMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Conversation.CallMetadata.Builder>
-
mergeFrom
public Conversation.CallMetadata.Builder mergeFrom(Conversation.CallMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
mergeFrom
public Conversation.CallMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Conversation.CallMetadata.Builder>
- Throws:
IOException
-
getCustomerChannel
public int getCustomerChannel()
The audio channel that contains the customer.
int32 customer_channel = 1;
- Specified by:
getCustomerChannel
in interfaceConversation.CallMetadataOrBuilder
- Returns:
- The customerChannel.
-
setCustomerChannel
public Conversation.CallMetadata.Builder setCustomerChannel(int value)
The audio channel that contains the customer.
int32 customer_channel = 1;
- Parameters:
value
- The customerChannel to set.- Returns:
- This builder for chaining.
-
clearCustomerChannel
public Conversation.CallMetadata.Builder clearCustomerChannel()
The audio channel that contains the customer.
int32 customer_channel = 1;
- Returns:
- This builder for chaining.
-
getAgentChannel
public int getAgentChannel()
The audio channel that contains the agent.
int32 agent_channel = 2;
- Specified by:
getAgentChannel
in interfaceConversation.CallMetadataOrBuilder
- Returns:
- The agentChannel.
-
setAgentChannel
public Conversation.CallMetadata.Builder setAgentChannel(int value)
The audio channel that contains the agent.
int32 agent_channel = 2;
- Parameters:
value
- The agentChannel to set.- Returns:
- This builder for chaining.
-
clearAgentChannel
public Conversation.CallMetadata.Builder clearAgentChannel()
The audio channel that contains the agent.
int32 agent_channel = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Conversation.CallMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
mergeUnknownFields
public final Conversation.CallMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Conversation.CallMetadata.Builder>
-
-