public static final class CreateConversationModelOperationMetadata.Builder extends GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder> implements CreateConversationModelOperationMetadataOrBuilder
Metadata for a [ConversationModels.CreateConversationModel][google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel] operation.Protobuf type
google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateConversationModelOperationMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateConversationModelOperationMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateConversationModelOperationMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata.Builder mergeFrom(CreateConversationModelOperationMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public CreateConversationModelOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateConversationModelOperationMetadata.Builder>
IOException
public String getConversationModel()
The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;
getConversationModel
in interface CreateConversationModelOperationMetadataOrBuilder
public ByteString getConversationModelBytes()
The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;
getConversationModelBytes
in interface CreateConversationModelOperationMetadataOrBuilder
public CreateConversationModelOperationMetadata.Builder setConversationModel(String value)
The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;
value
- The conversationModel to set.public CreateConversationModelOperationMetadata.Builder clearConversationModel()
The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;
public CreateConversationModelOperationMetadata.Builder setConversationModelBytes(ByteString value)
The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;
value
- The bytes for conversationModel to set.public int getStateValue()
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
getStateValue
in interface CreateConversationModelOperationMetadataOrBuilder
public CreateConversationModelOperationMetadata.Builder setStateValue(int value)
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
value
- The enum numeric value on the wire for state to set.public CreateConversationModelOperationMetadata.State getState()
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
getState
in interface CreateConversationModelOperationMetadataOrBuilder
public CreateConversationModelOperationMetadata.Builder setState(CreateConversationModelOperationMetadata.State value)
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
value
- The state to set.public CreateConversationModelOperationMetadata.Builder clearState()
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
public boolean hasCreateTime()
Timestamp when the request to create conversation model is submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;
hasCreateTime
in interface CreateConversationModelOperationMetadataOrBuilder
public Timestamp getCreateTime()
Timestamp when the request to create conversation model is submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;
getCreateTime
in interface CreateConversationModelOperationMetadataOrBuilder
public CreateConversationModelOperationMetadata.Builder setCreateTime(Timestamp value)
Timestamp when the request to create conversation model is submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;
public CreateConversationModelOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Timestamp when the request to create conversation model is submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;
public CreateConversationModelOperationMetadata.Builder mergeCreateTime(Timestamp value)
Timestamp when the request to create conversation model is submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;
public CreateConversationModelOperationMetadata.Builder clearCreateTime()
Timestamp when the request to create conversation model is submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;
public Timestamp.Builder getCreateTimeBuilder()
Timestamp when the request to create conversation model is submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;
public TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp when the request to create conversation model is submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;
getCreateTimeOrBuilder
in interface CreateConversationModelOperationMetadataOrBuilder
public final CreateConversationModelOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
public final CreateConversationModelOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.