com.google.cloud.dialogflow.cx.v3.PageInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-cx-v3 Show documentation
Show all versions of proto-google-cloud-dialogflow-cx-v3 Show documentation
PROTO library for proto-google-cloud-dialogflow-cx-v3
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3/webhook.proto
package com.google.cloud.dialogflow.cx.v3;
/**
*
*
*
* Represents page information communicated to and from the webhook.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3.PageInfo}
*/
public final class PageInfo extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.PageInfo)
PageInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use PageInfo.newBuilder() to construct.
private PageInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PageInfo() {
currentPage_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new PageInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private PageInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
java.lang.String s = input.readStringRequireUtf8();
currentPage_ = s;
break;
}
case 26:
{
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.Builder subBuilder = null;
if (formInfo_ != null) {
subBuilder = formInfo_.toBuilder();
}
formInfo_ =
input.readMessage(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.parser(),
extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(formInfo_);
formInfo_ = subBuilder.buildPartial();
}
break;
}
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dialogflow.cx.v3.PageInfo.class,
com.google.cloud.dialogflow.cx.v3.PageInfo.Builder.class);
}
public interface FormInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
java.util.List
getParameterInfoList();
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo getParameterInfo(int index);
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
int getParameterInfoCount();
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
java.util.List<
? extends com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder>
getParameterInfoOrBuilderList();
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder
getParameterInfoOrBuilder(int index);
}
/**
*
*
*
* Represents form information.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3.PageInfo.FormInfo}
*/
public static final class FormInfo extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo)
FormInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use FormInfo.newBuilder() to construct.
private FormInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FormInfo() {
parameterInfo_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new FormInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private FormInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 18:
{
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
parameterInfo_ =
new java.util.ArrayList<
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo>();
mutable_bitField0_ |= 0x00000001;
}
parameterInfo_.add(
input.readMessage(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.parser(),
extensionRegistry));
break;
}
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
parameterInfo_ = java.util.Collections.unmodifiableList(parameterInfo_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.class,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.Builder.class);
}
public interface ParameterInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
*
*
* string display_name = 1;
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
*
*
* string display_name = 1;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
*
*
* bool required = 2;
*
* @return The required.
*/
boolean getRequired();
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
* to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
* the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
* to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
* the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
*
*
* @return The state.
*/
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState getState();
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*
* @return Whether the value field is set.
*/
boolean hasValue();
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*
* @return The value.
*/
com.google.protobuf.Value getValue();
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*/
com.google.protobuf.ValueOrBuilder getValueOrBuilder();
/**
*
*
*
* Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
*
* bool just_collected = 5;
*
* @return The justCollected.
*/
boolean getJustCollected();
}
/**
*
*
*
* Represents parameter information.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo}
*/
public static final class ParameterInfo extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo)
ParameterInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ParameterInfo.newBuilder() to construct.
private ParameterInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ParameterInfo() {
displayName_ = "";
state_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ParameterInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private ParameterInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
java.lang.String s = input.readStringRequireUtf8();
displayName_ = s;
break;
}
case 16:
{
required_ = input.readBool();
break;
}
case 24:
{
int rawValue = input.readEnum();
state_ = rawValue;
break;
}
case 34:
{
com.google.protobuf.Value.Builder subBuilder = null;
if (value_ != null) {
subBuilder = value_.toBuilder();
}
value_ = input.readMessage(com.google.protobuf.Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(value_);
value_ = subBuilder.buildPartial();
}
break;
}
case 40:
{
justCollected_ = input.readBool();
break;
}
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_ParameterInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_ParameterInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.class,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder.class);
}
/**
*
*
*
* Represents the state of a parameter.
*
*
* Protobuf enum {@code
* google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState}
*/
public enum ParameterState implements com.google.protobuf.ProtocolMessageEnum {
/**
*
*
*
* Not specified. This value should be never used.
*
*
* PARAMETER_STATE_UNSPECIFIED = 0;
*/
PARAMETER_STATE_UNSPECIFIED(0),
/**
*
*
*
* Indicates that the parameter does not have a value.
*
*
* EMPTY = 1;
*/
EMPTY(1),
/**
*
*
*
* Indicates that the parameter value is invalid. This field can be used
* by the webhook to invalidate the parameter and ask the server to
* collect it from the user again.
*
*
* INVALID = 2;
*/
INVALID(2),
/**
*
*
*
* Indicates that the parameter has a value.
*
*
* FILLED = 3;
*/
FILLED(3),
UNRECOGNIZED(-1),
;
/**
*
*
*
* Not specified. This value should be never used.
*
*
* PARAMETER_STATE_UNSPECIFIED = 0;
*/
public static final int PARAMETER_STATE_UNSPECIFIED_VALUE = 0;
/**
*
*
*
* Indicates that the parameter does not have a value.
*
*
* EMPTY = 1;
*/
public static final int EMPTY_VALUE = 1;
/**
*
*
*
* Indicates that the parameter value is invalid. This field can be used
* by the webhook to invalidate the parameter and ask the server to
* collect it from the user again.
*
*
* INVALID = 2;
*/
public static final int INVALID_VALUE = 2;
/**
*
*
*
* Indicates that the parameter has a value.
*
*
* FILLED = 3;
*/
public static final int FILLED_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ParameterState valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ParameterState forNumber(int value) {
switch (value) {
case 0:
return PARAMETER_STATE_UNSPECIFIED;
case 1:
return EMPTY;
case 2:
return INVALID;
case 3:
return FILLED;
default:
return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ParameterState findValueByNumber(int number) {
return ParameterState.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.getDescriptor()
.getEnumTypes()
.get(0);
}
private static final ParameterState[] VALUES = values();
public static ParameterState valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ParameterState(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState)
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object displayName_;
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
*
*
* string display_name = 1;
*
* @return The displayName.
*/
@java.lang.Override
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayName_ = s;
return s;
}
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
*
*
* string display_name = 1;
*
* @return The bytes for displayName.
*/
@java.lang.Override
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
displayName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REQUIRED_FIELD_NUMBER = 2;
private boolean required_;
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
*
*
* bool required = 2;
*
* @return The required.
*/
@java.lang.Override
public boolean getRequired() {
return required_;
}
public static final int STATE_FIELD_NUMBER = 3;
private int state_;
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
* to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
* the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
*
*
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override
public int getStateValue() {
return state_;
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
* to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
* the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
*
*
* @return The state.
*/
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState
getState() {
@SuppressWarnings("deprecation")
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState result =
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState
.valueOf(state_);
return result == null
? com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState
.UNRECOGNIZED
: result;
}
public static final int VALUE_FIELD_NUMBER = 4;
private com.google.protobuf.Value value_;
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return value_ != null;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.Value getValue() {
return value_ == null ? com.google.protobuf.Value.getDefaultInstance() : value_;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*/
@java.lang.Override
public com.google.protobuf.ValueOrBuilder getValueOrBuilder() {
return getValue();
}
public static final int JUST_COLLECTED_FIELD_NUMBER = 5;
private boolean justCollected_;
/**
*
*
*
* Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
*
* bool just_collected = 5;
*
* @return The justCollected.
*/
@java.lang.Override
public boolean getJustCollected() {
return justCollected_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getDisplayNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_);
}
if (required_ != false) {
output.writeBool(2, required_);
}
if (state_
!= com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState
.PARAMETER_STATE_UNSPECIFIED
.getNumber()) {
output.writeEnum(3, state_);
}
if (value_ != null) {
output.writeMessage(4, getValue());
}
if (justCollected_ != false) {
output.writeBool(5, justCollected_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getDisplayNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_);
}
if (required_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, required_);
}
if (state_
!= com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState
.PARAMETER_STATE_UNSPECIFIED
.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_);
}
if (value_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getValue());
}
if (justCollected_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, justCollected_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo)) {
return super.equals(obj);
}
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo other =
(com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo) obj;
if (!getDisplayName().equals(other.getDisplayName())) return false;
if (getRequired() != other.getRequired()) return false;
if (state_ != other.state_) return false;
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue().equals(other.getValue())) return false;
}
if (getJustCollected() != other.getJustCollected()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDisplayName().hashCode();
hash = (37 * hash) + REQUIRED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequired());
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + state_;
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (37 * hash) + JUST_COLLECTED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getJustCollected());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
*
* Represents parameter information.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo)
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_ParameterInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_ParameterInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.class,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder.class);
}
// Construct using
// com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
}
@java.lang.Override
public Builder clear() {
super.clear();
displayName_ = "";
required_ = false;
state_ = 0;
if (valueBuilder_ == null) {
value_ = null;
} else {
value_ = null;
valueBuilder_ = null;
}
justCollected_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_ParameterInfo_descriptor;
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
getDefaultInstanceForType() {
return com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
.getDefaultInstance();
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo build() {
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo buildPartial() {
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo result =
new com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo(this);
result.displayName_ = displayName_;
result.required_ = required_;
result.state_ = state_;
if (valueBuilder_ == null) {
result.value_ = value_;
} else {
result.value_ = valueBuilder_.build();
}
result.justCollected_ = justCollected_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo) {
return mergeFrom(
(com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo other) {
if (other
== com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
.getDefaultInstance()) return this;
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
onChanged();
}
if (other.getRequired() != false) {
setRequired(other.getRequired());
}
if (other.state_ != 0) {
setStateValue(other.getStateValue());
}
if (other.hasValue()) {
mergeValue(other.getValue());
}
if (other.getJustCollected() != false) {
setJustCollected(other.getJustCollected());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo)
e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object displayName_ = "";
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
*
*
* string display_name = 1;
*
* @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
*
*
* string display_name = 1;
*
* @return The bytes for displayName.
*/
public com.google.protobuf.ByteString getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
displayName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
*
*
* string display_name = 1;
*
* @param value The displayName to set.
* @return This builder for chaining.
*/
public Builder setDisplayName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
displayName_ = value;
onChanged();
return this;
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
*
*
* string display_name = 1;
*
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
displayName_ = getDefaultInstance().getDisplayName();
onChanged();
return this;
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The human-readable name of the parameter, unique within the form. This
* field cannot be modified by the webhook.
*
*
* string display_name = 1;
*
* @param value The bytes for displayName to set.
* @return This builder for chaining.
*/
public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
displayName_ = value;
onChanged();
return this;
}
private boolean required_;
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
*
*
* bool required = 2;
*
* @return The required.
*/
@java.lang.Override
public boolean getRequired() {
return required_;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
*
*
* bool required = 2;
*
* @param value The required to set.
* @return This builder for chaining.
*/
public Builder setRequired(boolean value) {
required_ = value;
onChanged();
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates whether the parameter is required. Optional parameters will
* not trigger prompts; however, they are filled if the user specifies
* them. Required parameters must be filled before form filling concludes.
*
*
* bool required = 2;
*
* @return This builder for chaining.
*/
public Builder clearRequired() {
required_ = false;
onChanged();
return this;
}
private int state_ = 0;
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
* to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
* the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
*
*
* @return The enum numeric value on the wire for state.
*/
@java.lang.Override
public int getStateValue() {
return state_;
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
* to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
* the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
*
*
* @param value The enum numeric value on the wire for state to set.
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
state_ = value;
onChanged();
return this;
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
* to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
* the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
*
*
* @return The state.
*/
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState
getState() {
@SuppressWarnings("deprecation")
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState result =
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState
.valueOf(state_);
return result == null
? com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState
.UNRECOGNIZED
: result;
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
* to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
* the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
*
*
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState
value) {
if (value == null) {
throw new NullPointerException();
}
state_ = value.getNumber();
onChanged();
return this;
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
* [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
* to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
* the webhook to invalidate the parameter; other values set by the
* webhook will be ignored.
*
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState state = 3;
*
*
* @return This builder for chaining.
*/
public Builder clearState() {
state_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Value value_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Value,
com.google.protobuf.Value.Builder,
com.google.protobuf.ValueOrBuilder>
valueBuilder_;
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*
* @return Whether the value field is set.
*/
public boolean hasValue() {
return valueBuilder_ != null || value_ != null;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*
* @return The value.
*/
public com.google.protobuf.Value getValue() {
if (valueBuilder_ == null) {
return value_ == null ? com.google.protobuf.Value.getDefaultInstance() : value_;
} else {
return valueBuilder_.getMessage();
}
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*/
public Builder setValue(com.google.protobuf.Value value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
valueBuilder_.setMessage(value);
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*/
public Builder setValue(com.google.protobuf.Value.Builder builderForValue) {
if (valueBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
valueBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*/
public Builder mergeValue(com.google.protobuf.Value value) {
if (valueBuilder_ == null) {
if (value_ != null) {
value_ = com.google.protobuf.Value.newBuilder(value_).mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
valueBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*/
public Builder clearValue() {
if (valueBuilder_ == null) {
value_ = null;
onChanged();
} else {
value_ = null;
valueBuilder_ = null;
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*/
public com.google.protobuf.Value.Builder getValueBuilder() {
onChanged();
return getValueFieldBuilder().getBuilder();
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*/
public com.google.protobuf.ValueOrBuilder getValueOrBuilder() {
if (valueBuilder_ != null) {
return valueBuilder_.getMessageOrBuilder();
} else {
return value_ == null ? com.google.protobuf.Value.getDefaultInstance() : value_;
}
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The value of the parameter. This field can be set by the webhook to
* change the parameter value.
*
*
* .google.protobuf.Value value = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Value,
com.google.protobuf.Value.Builder,
com.google.protobuf.ValueOrBuilder>
getValueFieldBuilder() {
if (valueBuilder_ == null) {
valueBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Value,
com.google.protobuf.Value.Builder,
com.google.protobuf.ValueOrBuilder>(
getValue(), getParentForChildren(), isClean());
value_ = null;
}
return valueBuilder_;
}
private boolean justCollected_;
/**
*
*
*
* Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
*
* bool just_collected = 5;
*
* @return The justCollected.
*/
@java.lang.Override
public boolean getJustCollected() {
return justCollected_;
}
/**
*
*
*
* Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
*
* bool just_collected = 5;
*
* @param value The justCollected to set.
* @return This builder for chaining.
*/
public Builder setJustCollected(boolean value) {
justCollected_ = value;
onChanged();
return this;
}
/**
*
*
*
* Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Indicates if the parameter value was just collected on the last
* conversation turn.
*
*
* bool just_collected = 5;
*
* @return This builder for chaining.
*/
public Builder clearJustCollected() {
justCollected_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo)
}
// @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo)
private static final com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo();
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ParameterInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ParameterInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int PARAMETER_INFO_FIELD_NUMBER = 2;
private java.util.List
parameterInfo_;
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
@java.lang.Override
public java.util.List
getParameterInfoList() {
return parameterInfo_;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
@java.lang.Override
public java.util.List<
? extends com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder>
getParameterInfoOrBuilderList() {
return parameterInfo_;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
@java.lang.Override
public int getParameterInfoCount() {
return parameterInfo_.size();
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo getParameterInfo(
int index) {
return parameterInfo_.get(index);
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder
getParameterInfoOrBuilder(int index) {
return parameterInfo_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < parameterInfo_.size(); i++) {
output.writeMessage(2, parameterInfo_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < parameterInfo_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, parameterInfo_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo)) {
return super.equals(obj);
}
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo other =
(com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo) obj;
if (!getParameterInfoList().equals(other.getParameterInfoList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getParameterInfoCount() > 0) {
hash = (37 * hash) + PARAMETER_INFO_FIELD_NUMBER;
hash = (53 * hash) + getParameterInfoList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
*
* Represents form information.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3.PageInfo.FormInfo}
*/
public static final class Builder
extends com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo)
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.class,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.Builder.class);
}
// Construct using com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getParameterInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (parameterInfoBuilder_ == null) {
parameterInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
parameterInfoBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_FormInfo_descriptor;
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo getDefaultInstanceForType() {
return com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.getDefaultInstance();
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo build() {
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo buildPartial() {
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo result =
new com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo(this);
int from_bitField0_ = bitField0_;
if (parameterInfoBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
parameterInfo_ = java.util.Collections.unmodifiableList(parameterInfo_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.parameterInfo_ = parameterInfo_;
} else {
result.parameterInfo_ = parameterInfoBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo) {
return mergeFrom((com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo other) {
if (other == com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.getDefaultInstance())
return this;
if (parameterInfoBuilder_ == null) {
if (!other.parameterInfo_.isEmpty()) {
if (parameterInfo_.isEmpty()) {
parameterInfo_ = other.parameterInfo_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureParameterInfoIsMutable();
parameterInfo_.addAll(other.parameterInfo_);
}
onChanged();
}
} else {
if (!other.parameterInfo_.isEmpty()) {
if (parameterInfoBuilder_.isEmpty()) {
parameterInfoBuilder_.dispose();
parameterInfoBuilder_ = null;
parameterInfo_ = other.parameterInfo_;
bitField0_ = (bitField0_ & ~0x00000001);
parameterInfoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getParameterInfoFieldBuilder()
: null;
} else {
parameterInfoBuilder_.addAllMessages(other.parameterInfo_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List
parameterInfo_ = java.util.Collections.emptyList();
private void ensureParameterInfoIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
parameterInfo_ =
new java.util.ArrayList<
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo>(
parameterInfo_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder>
parameterInfoBuilder_;
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public java.util.List
getParameterInfoList() {
if (parameterInfoBuilder_ == null) {
return java.util.Collections.unmodifiableList(parameterInfo_);
} else {
return parameterInfoBuilder_.getMessageList();
}
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public int getParameterInfoCount() {
if (parameterInfoBuilder_ == null) {
return parameterInfo_.size();
} else {
return parameterInfoBuilder_.getCount();
}
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo getParameterInfo(
int index) {
if (parameterInfoBuilder_ == null) {
return parameterInfo_.get(index);
} else {
return parameterInfoBuilder_.getMessage(index);
}
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public Builder setParameterInfo(
int index, com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo value) {
if (parameterInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParameterInfoIsMutable();
parameterInfo_.set(index, value);
onChanged();
} else {
parameterInfoBuilder_.setMessage(index, value);
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public Builder setParameterInfo(
int index,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder
builderForValue) {
if (parameterInfoBuilder_ == null) {
ensureParameterInfoIsMutable();
parameterInfo_.set(index, builderForValue.build());
onChanged();
} else {
parameterInfoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public Builder addParameterInfo(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo value) {
if (parameterInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParameterInfoIsMutable();
parameterInfo_.add(value);
onChanged();
} else {
parameterInfoBuilder_.addMessage(value);
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public Builder addParameterInfo(
int index, com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo value) {
if (parameterInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureParameterInfoIsMutable();
parameterInfo_.add(index, value);
onChanged();
} else {
parameterInfoBuilder_.addMessage(index, value);
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public Builder addParameterInfo(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder
builderForValue) {
if (parameterInfoBuilder_ == null) {
ensureParameterInfoIsMutable();
parameterInfo_.add(builderForValue.build());
onChanged();
} else {
parameterInfoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public Builder addParameterInfo(
int index,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder
builderForValue) {
if (parameterInfoBuilder_ == null) {
ensureParameterInfoIsMutable();
parameterInfo_.add(index, builderForValue.build());
onChanged();
} else {
parameterInfoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public Builder addAllParameterInfo(
java.lang.Iterable<
? extends com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo>
values) {
if (parameterInfoBuilder_ == null) {
ensureParameterInfoIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameterInfo_);
onChanged();
} else {
parameterInfoBuilder_.addAllMessages(values);
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public Builder clearParameterInfo() {
if (parameterInfoBuilder_ == null) {
parameterInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
parameterInfoBuilder_.clear();
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public Builder removeParameterInfo(int index) {
if (parameterInfoBuilder_ == null) {
ensureParameterInfoIsMutable();
parameterInfo_.remove(index);
onChanged();
} else {
parameterInfoBuilder_.remove(index);
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder
getParameterInfoBuilder(int index) {
return getParameterInfoFieldBuilder().getBuilder(index);
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder
getParameterInfoOrBuilder(int index) {
if (parameterInfoBuilder_ == null) {
return parameterInfo_.get(index);
} else {
return parameterInfoBuilder_.getMessageOrBuilder(index);
}
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public java.util.List<
? extends com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder>
getParameterInfoOrBuilderList() {
if (parameterInfoBuilder_ != null) {
return parameterInfoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(parameterInfo_);
}
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder
addParameterInfoBuilder() {
return getParameterInfoFieldBuilder()
.addBuilder(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
.getDefaultInstance());
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder
addParameterInfoBuilder(int index) {
return getParameterInfoFieldBuilder()
.addBuilder(
index,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo
.getDefaultInstance());
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The parameters contained in the form. Note that the webhook cannot add
* or remove any form parameter.
*
*
*
* repeated .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo parameter_info = 2;
*
*/
public java.util.List<
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder>
getParameterInfoBuilderList() {
return getParameterInfoFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder>
getParameterInfoFieldBuilder() {
if (parameterInfoBuilder_ == null) {
parameterInfoBuilder_ =
new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.Builder,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfoOrBuilder>(
parameterInfo_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
parameterInfo_ = null;
}
return parameterInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo)
}
// @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.PageInfo.FormInfo)
private static final com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo();
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FormInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FormInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int CURRENT_PAGE_FIELD_NUMBER = 1;
private volatile java.lang.Object currentPage_;
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The unique identifier of the current page.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
*
* @return The currentPage.
*/
@java.lang.Override
public java.lang.String getCurrentPage() {
java.lang.Object ref = currentPage_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
currentPage_ = s;
return s;
}
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The unique identifier of the current page.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
*
* @return The bytes for currentPage.
*/
@java.lang.Override
public com.google.protobuf.ByteString getCurrentPageBytes() {
java.lang.Object ref = currentPage_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
currentPage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FORM_INFO_FIELD_NUMBER = 3;
private com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo formInfo_;
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*
* @return Whether the formInfo field is set.
*/
@java.lang.Override
public boolean hasFormInfo() {
return formInfo_ != null;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*
* @return The formInfo.
*/
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo getFormInfo() {
return formInfo_ == null
? com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.getDefaultInstance()
: formInfo_;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*/
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfoOrBuilder getFormInfoOrBuilder() {
return getFormInfo();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!getCurrentPageBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, currentPage_);
}
if (formInfo_ != null) {
output.writeMessage(3, getFormInfo());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getCurrentPageBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, currentPage_);
}
if (formInfo_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFormInfo());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.cloud.dialogflow.cx.v3.PageInfo)) {
return super.equals(obj);
}
com.google.cloud.dialogflow.cx.v3.PageInfo other =
(com.google.cloud.dialogflow.cx.v3.PageInfo) obj;
if (!getCurrentPage().equals(other.getCurrentPage())) return false;
if (hasFormInfo() != other.hasFormInfo()) return false;
if (hasFormInfo()) {
if (!getFormInfo().equals(other.getFormInfo())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CURRENT_PAGE_FIELD_NUMBER;
hash = (53 * hash) + getCurrentPage().hashCode();
if (hasFormInfo()) {
hash = (37 * hash) + FORM_INFO_FIELD_NUMBER;
hash = (53 * hash) + getFormInfo().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.cloud.dialogflow.cx.v3.PageInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
*
* Represents page information communicated to and from the webhook.
*
*
* Protobuf type {@code google.cloud.dialogflow.cx.v3.PageInfo}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.cloud.dialogflow.cx.v3.PageInfo)
com.google.cloud.dialogflow.cx.v3.PageInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dialogflow.cx.v3.PageInfo.class,
com.google.cloud.dialogflow.cx.v3.PageInfo.Builder.class);
}
// Construct using com.google.cloud.dialogflow.cx.v3.PageInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
}
@java.lang.Override
public Builder clear() {
super.clear();
currentPage_ = "";
if (formInfoBuilder_ == null) {
formInfo_ = null;
} else {
formInfo_ = null;
formInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.dialogflow.cx.v3.WebhookProto
.internal_static_google_cloud_dialogflow_cx_v3_PageInfo_descriptor;
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo getDefaultInstanceForType() {
return com.google.cloud.dialogflow.cx.v3.PageInfo.getDefaultInstance();
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo build() {
com.google.cloud.dialogflow.cx.v3.PageInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo buildPartial() {
com.google.cloud.dialogflow.cx.v3.PageInfo result =
new com.google.cloud.dialogflow.cx.v3.PageInfo(this);
result.currentPage_ = currentPage_;
if (formInfoBuilder_ == null) {
result.formInfo_ = formInfo_;
} else {
result.formInfo_ = formInfoBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.cloud.dialogflow.cx.v3.PageInfo) {
return mergeFrom((com.google.cloud.dialogflow.cx.v3.PageInfo) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.PageInfo other) {
if (other == com.google.cloud.dialogflow.cx.v3.PageInfo.getDefaultInstance()) return this;
if (!other.getCurrentPage().isEmpty()) {
currentPage_ = other.currentPage_;
onChanged();
}
if (other.hasFormInfo()) {
mergeFormInfo(other.getFormInfo());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.cloud.dialogflow.cx.v3.PageInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.google.cloud.dialogflow.cx.v3.PageInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object currentPage_ = "";
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The unique identifier of the current page.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
*
* @return The currentPage.
*/
public java.lang.String getCurrentPage() {
java.lang.Object ref = currentPage_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
currentPage_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The unique identifier of the current page.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
*
* @return The bytes for currentPage.
*/
public com.google.protobuf.ByteString getCurrentPageBytes() {
java.lang.Object ref = currentPage_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
currentPage_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The unique identifier of the current page.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
*
* @param value The currentPage to set.
* @return This builder for chaining.
*/
public Builder setCurrentPage(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
currentPage_ = value;
onChanged();
return this;
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The unique identifier of the current page.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
*
* @return This builder for chaining.
*/
public Builder clearCurrentPage() {
currentPage_ = getDefaultInstance().getCurrentPage();
onChanged();
return this;
}
/**
*
*
*
* Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* The unique identifier of the current page.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/flows/<Flow ID>/pages/<Page ID>`.
*
*
* string current_page = 1 [(.google.api.resource_reference) = { ... }
*
* @param value The bytes for currentPage to set.
* @return This builder for chaining.
*/
public Builder setCurrentPageBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
currentPage_ = value;
onChanged();
return this;
}
private com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo formInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.Builder,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfoOrBuilder>
formInfoBuilder_;
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*
* @return Whether the formInfo field is set.
*/
public boolean hasFormInfo() {
return formInfoBuilder_ != null || formInfo_ != null;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*
* @return The formInfo.
*/
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo getFormInfo() {
if (formInfoBuilder_ == null) {
return formInfo_ == null
? com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.getDefaultInstance()
: formInfo_;
} else {
return formInfoBuilder_.getMessage();
}
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*/
public Builder setFormInfo(com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo value) {
if (formInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
formInfo_ = value;
onChanged();
} else {
formInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*/
public Builder setFormInfo(
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.Builder builderForValue) {
if (formInfoBuilder_ == null) {
formInfo_ = builderForValue.build();
onChanged();
} else {
formInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*/
public Builder mergeFormInfo(com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo value) {
if (formInfoBuilder_ == null) {
if (formInfo_ != null) {
formInfo_ =
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.newBuilder(formInfo_)
.mergeFrom(value)
.buildPartial();
} else {
formInfo_ = value;
}
onChanged();
} else {
formInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*/
public Builder clearFormInfo() {
if (formInfoBuilder_ == null) {
formInfo_ = null;
onChanged();
} else {
formInfo_ = null;
formInfoBuilder_ = null;
}
return this;
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*/
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.Builder getFormInfoBuilder() {
onChanged();
return getFormInfoFieldBuilder().getBuilder();
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*/
public com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfoOrBuilder getFormInfoOrBuilder() {
if (formInfoBuilder_ != null) {
return formInfoBuilder_.getMessageOrBuilder();
} else {
return formInfo_ == null
? com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.getDefaultInstance()
: formInfo_;
}
}
/**
*
*
*
* Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
* Information about the form.
*
*
* .google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.Builder,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfoOrBuilder>
getFormInfoFieldBuilder() {
if (formInfoBuilder_ == null) {
formInfoBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.Builder,
com.google.cloud.dialogflow.cx.v3.PageInfo.FormInfoOrBuilder>(
getFormInfo(), getParentForChildren(), isClean());
formInfo_ = null;
}
return formInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.cloud.dialogflow.cx.v3.PageInfo)
}
// @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.PageInfo)
private static final com.google.cloud.dialogflow.cx.v3.PageInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.PageInfo();
}
public static com.google.cloud.dialogflow.cx.v3.PageInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
@java.lang.Override
public PageInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PageInfo(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.cloud.dialogflow.cx.v3.PageInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy