Class LeadFormField
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.LeadFormField
-
- All Implemented Interfaces:
LeadFormFieldOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class LeadFormField extends com.google.protobuf.GeneratedMessageV3 implements LeadFormFieldOrBuilder
One input field instance within a form.
Protobuf typegoogle.ads.googleads.v10.common.LeadFormField- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLeadFormField.AnswersCasestatic classLeadFormField.BuilderOne input field instance within a form.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intINPUT_TYPE_FIELD_NUMBERstatic intSINGLE_CHOICE_ANSWERS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)LeadFormField.AnswersCasegetAnswersCase()static LeadFormFieldgetDefaultInstance()LeadFormFieldgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputTypegetInputType()Describes the input type, which may be a predefined type such as "full name" or a pre-vetted question like "Do you own a car?".intgetInputTypeValue()Describes the input type, which may be a predefined type such as "full name" or a pre-vetted question like "Do you own a car?".com.google.protobuf.Parser<LeadFormField>getParserForType()intgetSerializedSize()LeadFormSingleChoiceAnswersgetSingleChoiceAnswers()Answer configuration for a single choice question.LeadFormSingleChoiceAnswersOrBuildergetSingleChoiceAnswersOrBuilder()Answer configuration for a single choice question.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasSingleChoiceAnswers()Answer configuration for a single choice question.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LeadFormField.BuildernewBuilder()static LeadFormField.BuildernewBuilder(LeadFormField prototype)LeadFormField.BuildernewBuilderForType()protected LeadFormField.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LeadFormFieldparseDelimitedFrom(java.io.InputStream input)static LeadFormFieldparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeadFormFieldparseFrom(byte[] data)static LeadFormFieldparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeadFormFieldparseFrom(com.google.protobuf.ByteString data)static LeadFormFieldparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeadFormFieldparseFrom(com.google.protobuf.CodedInputStream input)static LeadFormFieldparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeadFormFieldparseFrom(java.io.InputStream input)static LeadFormFieldparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeadFormFieldparseFrom(java.nio.ByteBuffer data)static LeadFormFieldparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LeadFormField>parser()LeadFormField.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INPUT_TYPE_FIELD_NUMBER
public static final int INPUT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINGLE_CHOICE_ANSWERS_FIELD_NUMBER
public static final int SINGLE_CHOICE_ANSWERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAnswersCase
public LeadFormField.AnswersCase getAnswersCase()
- Specified by:
getAnswersCasein interfaceLeadFormFieldOrBuilder
-
getInputTypeValue
public int getInputTypeValue()
Describes the input type, which may be a predefined type such as "full name" or a pre-vetted question like "Do you own a car?".
.google.ads.googleads.v10.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1;- Specified by:
getInputTypeValuein interfaceLeadFormFieldOrBuilder- Returns:
- The enum numeric value on the wire for inputType.
-
getInputType
public LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType getInputType()
Describes the input type, which may be a predefined type such as "full name" or a pre-vetted question like "Do you own a car?".
.google.ads.googleads.v10.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1;- Specified by:
getInputTypein interfaceLeadFormFieldOrBuilder- Returns:
- The inputType.
-
hasSingleChoiceAnswers
public boolean hasSingleChoiceAnswers()
Answer configuration for a single choice question. Can be set only for pre-vetted question fields. Minimum of 2 answers required and maximum of 12 allowed.
.google.ads.googleads.v10.common.LeadFormSingleChoiceAnswers single_choice_answers = 2;- Specified by:
hasSingleChoiceAnswersin interfaceLeadFormFieldOrBuilder- Returns:
- Whether the singleChoiceAnswers field is set.
-
getSingleChoiceAnswers
public LeadFormSingleChoiceAnswers getSingleChoiceAnswers()
Answer configuration for a single choice question. Can be set only for pre-vetted question fields. Minimum of 2 answers required and maximum of 12 allowed.
.google.ads.googleads.v10.common.LeadFormSingleChoiceAnswers single_choice_answers = 2;- Specified by:
getSingleChoiceAnswersin interfaceLeadFormFieldOrBuilder- Returns:
- The singleChoiceAnswers.
-
getSingleChoiceAnswersOrBuilder
public LeadFormSingleChoiceAnswersOrBuilder getSingleChoiceAnswersOrBuilder()
Answer configuration for a single choice question. Can be set only for pre-vetted question fields. Minimum of 2 answers required and maximum of 12 allowed.
.google.ads.googleads.v10.common.LeadFormSingleChoiceAnswers single_choice_answers = 2;- Specified by:
getSingleChoiceAnswersOrBuilderin interfaceLeadFormFieldOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LeadFormField parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LeadFormField parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LeadFormField parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LeadFormField parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LeadFormField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LeadFormField parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LeadFormField parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LeadFormField parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LeadFormField parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LeadFormField parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LeadFormField parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LeadFormField parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public LeadFormField.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LeadFormField.Builder newBuilder()
-
newBuilder
public static LeadFormField.Builder newBuilder(LeadFormField prototype)
-
toBuilder
public LeadFormField.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LeadFormField.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static LeadFormField getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LeadFormField> parser()
-
getParserForType
public com.google.protobuf.Parser<LeadFormField> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LeadFormField getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-