public static final class ConversationInfo.Builder extends GeneratedMessageV3.Builder<ConversationInfo.Builder> implements ConversationInfoOrBuilder
Represents metadata of a conversation.
Protobuf type google.cloud.dialogflow.v2.ConversationInfo
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConversationInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ConversationInfo build()
Returns
buildPartial()
public ConversationInfo buildPartial()
Returns
clear()
public ConversationInfo.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConversationInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLanguageCode()
public ConversationInfo.Builder clearLanguageCode()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ConversationInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ConversationInfo.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ConversationInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLanguageCode()
public String getLanguageCode()
Returns
Type | Description |
String | The languageCode.
|
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Returns
Type | Description |
ByteString | The bytes for languageCode.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ConversationInfo other)
public ConversationInfo.Builder mergeFrom(ConversationInfo other)
Parameter
Returns
public ConversationInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ConversationInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConversationInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ConversationInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLanguageCode(String value)
public ConversationInfo.Builder setLanguageCode(String value)
Parameter
Name | Description |
value | String
The languageCode to set.
|
Returns
setLanguageCodeBytes(ByteString value)
public ConversationInfo.Builder setLanguageCodeBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for languageCode to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConversationInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConversationInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides