Class SetSuggestionFeatureConfigOperationMetadata (4.6.0)

public final class SetSuggestionFeatureConfigOperationMetadata extends GeneratedMessageV3 implements SetSuggestionFeatureConfigOperationMetadataOrBuilder

Metadata for a [ConversationProfile.SetSuggestionFeatureConfig][] operation.

Protobuf type google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata

Inheritance

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

Static Fields

CONVERSATION_PROFILE_FIELD_NUMBER

public static final int CONVERSATION_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

PARTICIPANT_ROLE_FIELD_NUMBER

public static final int PARTICIPANT_ROLE_FIELD_NUMBER
Field Value
TypeDescription
int

SUGGESTION_FEATURE_TYPE_FIELD_NUMBER

public static final int SUGGESTION_FEATURE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SetSuggestionFeatureConfigOperationMetadata getDefaultInstance()
Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(SetSuggestionFeatureConfigOperationMetadata prototype)

public static SetSuggestionFeatureConfigOperationMetadata.Builder newBuilder(SetSuggestionFeatureConfigOperationMetadata prototype)
Parameter
NameDescription
prototypeSetSuggestionFeatureConfigOperationMetadata
Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConversationProfile()

public String getConversationProfile()

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

string conversation_profile = 1;

Returns
TypeDescription
String

The conversationProfile.

getConversationProfileBytes()

public ByteString getConversationProfileBytes()

The resource name of the conversation profile. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>

string conversation_profile = 1;

Returns
TypeDescription
ByteString

The bytes for conversationProfile.

getCreateTime()

public Timestamp getCreateTime()

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public SetSuggestionFeatureConfigOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
SetSuggestionFeatureConfigOperationMetadata

getParserForType()

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

getParticipantRole()

public Participant.Role getParticipantRole()

Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Participant.Role

The participantRole.

getParticipantRoleValue()

public int getParticipantRoleValue()

Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

.google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for participantRole.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSuggestionFeatureType()

public SuggestionFeature.Type getSuggestionFeatureType()

Required. The type of the suggestion feature to add or update.

.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SuggestionFeature.Type

The suggestionFeatureType.

getSuggestionFeatureTypeValue()

public int getSuggestionFeatureTypeValue()

Required. The type of the suggestion feature to add or update.

.google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for suggestionFeatureType.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCreateTime()

public boolean hasCreateTime()

Timestamp whe the request was created. The time is measured on server side.

.google.protobuf.Timestamp create_time = 4;

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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