Class CreateConversationModelOperationMetadata (4.5.11)

public final class CreateConversationModelOperationMetadata extends GeneratedMessageV3 implements CreateConversationModelOperationMetadataOrBuilder

Metadata for a ConversationModels.CreateConversationModel operation.

Protobuf type google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateConversationModelOperationMetadata

Static Fields

CONVERSATION_MODEL_FIELD_NUMBER

public static final int CONVERSATION_MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateConversationModelOperationMetadata getDefaultInstance()
Returns
TypeDescription
CreateConversationModelOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateConversationModelOperationMetadata.Builder newBuilder()
Returns
TypeDescription
CreateConversationModelOperationMetadata.Builder

newBuilder(CreateConversationModelOperationMetadata prototype)

public static CreateConversationModelOperationMetadata.Builder newBuilder(CreateConversationModelOperationMetadata prototype)
Parameter
NameDescription
prototypeCreateConversationModelOperationMetadata
Returns
TypeDescription
CreateConversationModelOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static CreateConversationModelOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateConversationModelOperationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateConversationModelOperationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateConversationModelOperationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateConversationModelOperationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateConversationModelOperationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConversationModelOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateConversationModelOperationMetadata> parser()
Returns
TypeDescription
Parser<CreateConversationModelOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConversationModel()

public String getConversationModel()

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

string conversation_model = 1;

Returns
TypeDescription
String

The conversationModel.

getConversationModelBytes()

public ByteString getConversationModelBytes()

The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>

string conversation_model = 1;

Returns
TypeDescription
ByteString

The bytes for conversationModel.

getCreateTime()

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
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CreateConversationModelOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateConversationModelOperationMetadata

getParserForType()

public Parser<CreateConversationModelOperationMetadata> getParserForType()
Returns
TypeDescription
Parser<CreateConversationModelOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public CreateConversationModelOperationMetadata.State getState()

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;

Returns
TypeDescription
CreateConversationModelOperationMetadata.State

The state.

getStateValue()

public int getStateValue()

State of CreateConversationModel operation.

.google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata.State state = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCreateTime()

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
TypeDescription
boolean

Whether the createTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateConversationModelOperationMetadata.Builder newBuilderForType()
Returns
TypeDescription
CreateConversationModelOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateConversationModelOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateConversationModelOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateConversationModelOperationMetadata.Builder toBuilder()
Returns
TypeDescription
CreateConversationModelOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException