public static final class CreateConversationModelOperationMetadata.Builder extends GeneratedMessageV3.Builder<CreateConversationModelOperationMetadata.Builder> implements CreateConversationModelOperationMetadataOrBuilder
Metadata for a
ConversationModels.CreateConversationModel
operation.
Protobuf type google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CreateConversationModelOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateConversationModelOperationMetadata build()
public CreateConversationModelOperationMetadata buildPartial()
public CreateConversationModelOperationMetadata.Builder clear()
Overrides
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 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 CreateConversationModelOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateConversationModelOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CreateConversationModelOperationMetadata.Builder clearState()
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
public CreateConversationModelOperationMetadata.Builder clone()
Overrides
public String getConversationModel()
The resource name of the conversation model. Format:
projects/<Project ID>/conversationModels/<Conversation Model Id>
string conversation_model = 1;
Returns |
Type |
Description |
String |
The conversationModel.
|
public ByteString getConversationModelBytes()
The resource name of the conversation model. Format:
projects/<Project ID>/conversationModels/<Conversation Model Id>
string conversation_model = 1;
Returns |
Type |
Description |
ByteString |
The bytes for conversationModel.
|
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;
Returns |
Type |
Description |
Timestamp |
The createTime.
|
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;
public CreateConversationModelOperationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public CreateConversationModelOperationMetadata.State getState()
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
public int getStateValue()
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
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;
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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 mergeFrom(CreateConversationModelOperationMetadata other)
public CreateConversationModelOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateConversationModelOperationMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final CreateConversationModelOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
Parameter |
Name |
Description |
value |
String
The conversationModel to set.
|
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for conversationModel to set.
|
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;
Parameter |
Name |
Description |
builderForValue |
Builder
|
public CreateConversationModelOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateConversationModelOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public CreateConversationModelOperationMetadata.Builder setState(CreateConversationModelOperationMetadata.State value)
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
public CreateConversationModelOperationMetadata.Builder setStateValue(int value)
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for state to set.
|
public final CreateConversationModelOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides