public final class SetSuggestionFeatureConfigOperationMetadata extends GeneratedMessageV3 implements SetSuggestionFeatureConfigOperationMetadataOrBuilder
Metadata for a [ConversationProfile.SetSuggestionFeatureConfig][]
operation.
Protobuf type google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata
Static Fields
public static final int CONVERSATION_PROFILE_FIELD_NUMBER
Field Value
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int PARTICIPANT_ROLE_FIELD_NUMBER
Field Value
public static final int SUGGESTION_FEATURE_TYPE_FIELD_NUMBER
Field Value
Static Methods
public static SetSuggestionFeatureConfigOperationMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static SetSuggestionFeatureConfigOperationMetadata.Builder newBuilder()
Returns
public static SetSuggestionFeatureConfigOperationMetadata.Builder newBuilder(SetSuggestionFeatureConfigOperationMetadata prototype)
Parameter
Returns
public static SetSuggestionFeatureConfigOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static SetSuggestionFeatureConfigOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<SetSuggestionFeatureConfigOperationMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
Type |
Description |
String |
The conversationProfile.
|
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
Type |
Description |
ByteString |
The bytes for conversationProfile.
|
public Timestamp getCreateTime()
Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4;
Returns
public SetSuggestionFeatureConfigOperationMetadata getDefaultInstanceForType()
Returns
public Parser<SetSuggestionFeatureConfigOperationMetadata> getParserForType()
Returns
Overrides
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
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
Type |
Description |
int |
The enum numeric value on the wire for participantRole.
|
public int getSerializedSize()
Returns
Overrides
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
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
Type |
Description |
int |
The enum numeric value on the wire for suggestionFeatureType.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasCreateTime()
Timestamp whe the request was created. The time is measured on server side.
.google.protobuf.Timestamp create_time = 4;
Returns
Type |
Description |
boolean |
Whether the createTime field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public SetSuggestionFeatureConfigOperationMetadata.Builder newBuilderForType()
Returns
protected SetSuggestionFeatureConfigOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public SetSuggestionFeatureConfigOperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions