Class CreateConversationModelOperationMetadata (4.15.0)

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
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateConversationModelOperationMetadata getDefaultInstance()
Returns
Type Description
CreateConversationModelOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateConversationModelOperationMetadata.Builder newBuilder()
Returns
Type Description
CreateConversationModelOperationMetadata.Builder

newBuilder(CreateConversationModelOperationMetadata prototype)

public static CreateConversationModelOperationMetadata.Builder newBuilder(CreateConversationModelOperationMetadata prototype)
Parameter
Name Description
prototype CreateConversationModelOperationMetadata
Returns
Type Description
CreateConversationModelOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static CreateConversationModelOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateConversationModelOperationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateConversationModelOperationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateConversationModelOperationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateConversationModelOperationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateConversationModelOperationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateConversationModelOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConversationModelOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateConversationModelOperationMetadata> parser()
Returns
Type Description
Parser<CreateConversationModelOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateConversationModelOperationMetadata getDefaultInstanceForType()
Returns
Type Description
CreateConversationModelOperationMetadata

getParserForType()

public Parser<CreateConversationModelOperationMetadata> getParserForType()
Returns
Type Description
Parser<CreateConversationModelOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public CreateConversationModelOperationMetadata.State getState()

State of CreateConversationModel operation.

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

Returns
Type Description
CreateConversationModelOperationMetadata.State

The state.

getStateValue()

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
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
Type Description
boolean

Whether the createTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateConversationModelOperationMetadata.Builder newBuilderForType()
Returns
Type Description
CreateConversationModelOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateConversationModelOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateConversationModelOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateConversationModelOperationMetadata.Builder toBuilder()
Returns
Type Description
CreateConversationModelOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException