Class SmartReplyModelMetadata (4.7.5)

public final class SmartReplyModelMetadata extends GeneratedMessageV3 implements SmartReplyModelMetadataOrBuilder

Metadata for smart reply models.

Protobuf type google.cloud.dialogflow.v2.SmartReplyModelMetadata

Static Fields

TRAINING_MODEL_TYPE_FIELD_NUMBER

public static final int TRAINING_MODEL_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SmartReplyModelMetadata getDefaultInstance()
Returns
TypeDescription
SmartReplyModelMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(SmartReplyModelMetadata prototype)

public static SmartReplyModelMetadata.Builder newBuilder(SmartReplyModelMetadata prototype)
Parameter
NameDescription
prototypeSmartReplyModelMetadata
Returns
TypeDescription
SmartReplyModelMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SmartReplyModelMetadata getDefaultInstanceForType()
Returns
TypeDescription
SmartReplyModelMetadata

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTrainingModelType()

public ConversationModel.ModelType getTrainingModelType()

Optional. Type of the smart reply model. If not provided, model_type is used.

.google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ConversationModel.ModelType

The trainingModelType.

getTrainingModelTypeValue()

public int getTrainingModelTypeValue()

Optional. Type of the smart reply model. If not provided, model_type is used.

.google.cloud.dialogflow.v2.ConversationModel.ModelType training_model_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for trainingModelType.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 SmartReplyModelMetadata.Builder newBuilderForType()
Returns
TypeDescription
SmartReplyModelMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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