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
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public CreateConversationModelOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateConversationModelOperationMetadata build()
Returns
public CreateConversationModelOperationMetadata buildPartial()
Returns
public CreateConversationModelOperationMetadata.Builder clear()
Returns
Overrides
public CreateConversationModelOperationMetadata.Builder clearConversationModel()
The resource name of the conversation model. Format:
projects/<Project ID>/conversationModels/<Conversation Model Id>
string conversation_model = 1;
Returns
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;
Returns
public CreateConversationModelOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public CreateConversationModelOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public CreateConversationModelOperationMetadata.Builder clearState()
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
Returns
public CreateConversationModelOperationMetadata.Builder clone()
Returns
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
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;
Returns
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;
Returns
public CreateConversationModelOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public CreateConversationModelOperationMetadata.State getState()
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
Returns
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()
Returns
Overrides
public final boolean isInitialized()
Returns
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;
Parameter
Returns
public CreateConversationModelOperationMetadata.Builder mergeFrom(CreateConversationModelOperationMetadata other)
Parameter
Returns
public CreateConversationModelOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public CreateConversationModelOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final CreateConversationModelOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns
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;
Parameter
Returns
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
|
Returns
public CreateConversationModelOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public CreateConversationModelOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public CreateConversationModelOperationMetadata.Builder setState(CreateConversationModelOperationMetadata.State value)
State of CreateConversationModel operation.
.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;
Parameter
Returns
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.
|
Returns
public final CreateConversationModelOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides