Send feedback
Class CreateConversationModelOperationMetadata.Builder (4.7.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.3 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]