Class GoogleAdsField
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.resources.GoogleAdsField
-
- All Implemented Interfaces:
GoogleAdsFieldOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class GoogleAdsField extends com.google.protobuf.GeneratedMessageV3 implements GoogleAdsFieldOrBuilder
A field or resource (artifact) used by GoogleAdsService.
Protobuf typegoogle.ads.googleads.v10.resources.GoogleAdsField- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGoogleAdsField.BuilderA field or resource (artifact) used by GoogleAdsService.-
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 intATTRIBUTE_RESOURCES_FIELD_NUMBERstatic intCATEGORY_FIELD_NUMBERstatic intDATA_TYPE_FIELD_NUMBERstatic intENUM_VALUES_FIELD_NUMBERstatic intFILTERABLE_FIELD_NUMBERstatic intIS_REPEATED_FIELD_NUMBERstatic intMETRICS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intRESOURCE_NAME_FIELD_NUMBERstatic intSEGMENTS_FIELD_NUMBERstatic intSELECTABLE_FIELD_NUMBERstatic intSELECTABLE_WITH_FIELD_NUMBERstatic intSORTABLE_FIELD_NUMBERstatic intTYPE_URL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAttributeResources(int index)Output only.com.google.protobuf.ByteStringgetAttributeResourcesBytes(int index)Output only.intgetAttributeResourcesCount()Output only.com.google.protobuf.ProtocolStringListgetAttributeResourcesList()Output only.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategorygetCategory()Output only.intgetCategoryValue()Output only.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataTypegetDataType()Output only.intgetDataTypeValue()Output only.static GoogleAdsFieldgetDefaultInstance()GoogleAdsFieldgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetEnumValues(int index)Output only.com.google.protobuf.ByteStringgetEnumValuesBytes(int index)Output only.intgetEnumValuesCount()Output only.com.google.protobuf.ProtocolStringListgetEnumValuesList()Output only.booleangetFilterable()Output only.booleangetIsRepeated()Output only.java.lang.StringgetMetrics(int index)Output only.com.google.protobuf.ByteStringgetMetricsBytes(int index)Output only.intgetMetricsCount()Output only.com.google.protobuf.ProtocolStringListgetMetricsList()Output only.java.lang.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<GoogleAdsField>getParserForType()java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.java.lang.StringgetSegments(int index)Output only.com.google.protobuf.ByteStringgetSegmentsBytes(int index)Output only.intgetSegmentsCount()Output only.com.google.protobuf.ProtocolStringListgetSegmentsList()Output only.booleangetSelectable()Output only.java.lang.StringgetSelectableWith(int index)Output only.com.google.protobuf.ByteStringgetSelectableWithBytes(int index)Output only.intgetSelectableWithCount()Output only.com.google.protobuf.ProtocolStringListgetSelectableWithList()Output only.intgetSerializedSize()booleangetSortable()Output only.java.lang.StringgetTypeUrl()Output only.com.google.protobuf.ByteStringgetTypeUrlBytes()Output only.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasFilterable()Output only.inthashCode()booleanhasIsRepeated()Output only.booleanhasName()Output only.booleanhasSelectable()Output only.booleanhasSortable()Output only.booleanhasTypeUrl()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GoogleAdsField.BuildernewBuilder()static GoogleAdsField.BuildernewBuilder(GoogleAdsField prototype)GoogleAdsField.BuildernewBuilderForType()protected GoogleAdsField.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GoogleAdsFieldparseDelimitedFrom(java.io.InputStream input)static GoogleAdsFieldparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GoogleAdsFieldparseFrom(byte[] data)static GoogleAdsFieldparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GoogleAdsFieldparseFrom(com.google.protobuf.ByteString data)static GoogleAdsFieldparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GoogleAdsFieldparseFrom(com.google.protobuf.CodedInputStream input)static GoogleAdsFieldparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GoogleAdsFieldparseFrom(java.io.InputStream input)static GoogleAdsFieldparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GoogleAdsFieldparseFrom(java.nio.ByteBuffer data)static GoogleAdsFieldparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GoogleAdsField>parser()GoogleAdsField.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
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CATEGORY_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELECTABLE_FIELD_NUMBER
public static final int SELECTABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTERABLE_FIELD_NUMBER
public static final int FILTERABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SORTABLE_FIELD_NUMBER
public static final int SORTABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELECTABLE_WITH_FIELD_NUMBER
public static final int SELECTABLE_WITH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTE_RESOURCES_FIELD_NUMBER
public static final int ATTRIBUTE_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEGMENTS_FIELD_NUMBER
public static final int SEGMENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENUM_VALUES_FIELD_NUMBER
public static final int ENUM_VALUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_URL_FIELD_NUMBER
public static final int TYPE_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_REPEATED_FIELD_NUMBER
public static final int IS_REPEATED_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
-
getResourceName
public java.lang.String getResourceName()
Output only. The resource name of the artifact. Artifact resource names have the form: `googleAdsFields/{name}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceGoogleAdsFieldOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Output only. The resource name of the artifact. Artifact resource names have the form: `googleAdsFields/{name}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceGoogleAdsFieldOrBuilder- Returns:
- The bytes for resourceName.
-
hasName
public boolean hasName()
Output only. The name of the artifact.
optional string name = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasNamein interfaceGoogleAdsFieldOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
Output only. The name of the artifact.
optional string name = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceGoogleAdsFieldOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the artifact.
optional string name = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceGoogleAdsFieldOrBuilder- Returns:
- The bytes for name.
-
getCategoryValue
public int getCategoryValue()
Output only. The category of the artifact.
.google.ads.googleads.v10.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory category = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryValuein interfaceGoogleAdsFieldOrBuilder- Returns:
- The enum numeric value on the wire for category.
-
getCategory
public GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory getCategory()
Output only. The category of the artifact.
.google.ads.googleads.v10.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory category = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCategoryin interfaceGoogleAdsFieldOrBuilder- Returns:
- The category.
-
hasSelectable
public boolean hasSelectable()
Output only. Whether the artifact can be used in a SELECT clause in search queries.
optional bool selectable = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSelectablein interfaceGoogleAdsFieldOrBuilder- Returns:
- Whether the selectable field is set.
-
getSelectable
public boolean getSelectable()
Output only. Whether the artifact can be used in a SELECT clause in search queries.
optional bool selectable = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelectablein interfaceGoogleAdsFieldOrBuilder- Returns:
- The selectable.
-
hasFilterable
public boolean hasFilterable()
Output only. Whether the artifact can be used in a WHERE clause in search queries.
optional bool filterable = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFilterablein interfaceGoogleAdsFieldOrBuilder- Returns:
- Whether the filterable field is set.
-
getFilterable
public boolean getFilterable()
Output only. Whether the artifact can be used in a WHERE clause in search queries.
optional bool filterable = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFilterablein interfaceGoogleAdsFieldOrBuilder- Returns:
- The filterable.
-
hasSortable
public boolean hasSortable()
Output only. Whether the artifact can be used in a ORDER BY clause in search queries.
optional bool sortable = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSortablein interfaceGoogleAdsFieldOrBuilder- Returns:
- Whether the sortable field is set.
-
getSortable
public boolean getSortable()
Output only. Whether the artifact can be used in a ORDER BY clause in search queries.
optional bool sortable = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSortablein interfaceGoogleAdsFieldOrBuilder- Returns:
- The sortable.
-
getSelectableWithList
public com.google.protobuf.ProtocolStringList getSelectableWithList()
Output only. The names of all resources, segments, and metrics that are selectable with the described artifact.
repeated string selectable_with = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelectableWithListin interfaceGoogleAdsFieldOrBuilder- Returns:
- A list containing the selectableWith.
-
getSelectableWithCount
public int getSelectableWithCount()
Output only. The names of all resources, segments, and metrics that are selectable with the described artifact.
repeated string selectable_with = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelectableWithCountin interfaceGoogleAdsFieldOrBuilder- Returns:
- The count of selectableWith.
-
getSelectableWith
public java.lang.String getSelectableWith(int index)
Output only. The names of all resources, segments, and metrics that are selectable with the described artifact.
repeated string selectable_with = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelectableWithin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The selectableWith at the given index.
-
getSelectableWithBytes
public com.google.protobuf.ByteString getSelectableWithBytes(int index)
Output only. The names of all resources, segments, and metrics that are selectable with the described artifact.
repeated string selectable_with = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSelectableWithBytesin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the selectableWith at the given index.
-
getAttributeResourcesList
public com.google.protobuf.ProtocolStringList getAttributeResourcesList()
Output only. The names of all resources that are selectable with the described artifact. Fields from these resources do not segment metrics when included in search queries. This field is only set for artifacts whose category is RESOURCE.
repeated string attribute_resources = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAttributeResourcesListin interfaceGoogleAdsFieldOrBuilder- Returns:
- A list containing the attributeResources.
-
getAttributeResourcesCount
public int getAttributeResourcesCount()
Output only. The names of all resources that are selectable with the described artifact. Fields from these resources do not segment metrics when included in search queries. This field is only set for artifacts whose category is RESOURCE.
repeated string attribute_resources = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAttributeResourcesCountin interfaceGoogleAdsFieldOrBuilder- Returns:
- The count of attributeResources.
-
getAttributeResources
public java.lang.String getAttributeResources(int index)
Output only. The names of all resources that are selectable with the described artifact. Fields from these resources do not segment metrics when included in search queries. This field is only set for artifacts whose category is RESOURCE.
repeated string attribute_resources = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAttributeResourcesin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The attributeResources at the given index.
-
getAttributeResourcesBytes
public com.google.protobuf.ByteString getAttributeResourcesBytes(int index)
Output only. The names of all resources that are selectable with the described artifact. Fields from these resources do not segment metrics when included in search queries. This field is only set for artifacts whose category is RESOURCE.
repeated string attribute_resources = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAttributeResourcesBytesin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the attributeResources at the given index.
-
getMetricsList
public com.google.protobuf.ProtocolStringList getMetricsList()
Output only. This field lists the names of all metrics that are selectable with the described artifact when it is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
repeated string metrics = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMetricsListin interfaceGoogleAdsFieldOrBuilder- Returns:
- A list containing the metrics.
-
getMetricsCount
public int getMetricsCount()
Output only. This field lists the names of all metrics that are selectable with the described artifact when it is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
repeated string metrics = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMetricsCountin interfaceGoogleAdsFieldOrBuilder- Returns:
- The count of metrics.
-
getMetrics
public java.lang.String getMetrics(int index)
Output only. This field lists the names of all metrics that are selectable with the described artifact when it is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
repeated string metrics = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMetricsin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The metrics at the given index.
-
getMetricsBytes
public com.google.protobuf.ByteString getMetricsBytes(int index)
Output only. This field lists the names of all metrics that are selectable with the described artifact when it is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
repeated string metrics = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMetricsBytesin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the metrics at the given index.
-
getSegmentsList
public com.google.protobuf.ProtocolStringList getSegmentsList()
Output only. This field lists the names of all artifacts, whether a segment or another resource, that segment metrics when included in search queries and when the described artifact is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
repeated string segments = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSegmentsListin interfaceGoogleAdsFieldOrBuilder- Returns:
- A list containing the segments.
-
getSegmentsCount
public int getSegmentsCount()
Output only. This field lists the names of all artifacts, whether a segment or another resource, that segment metrics when included in search queries and when the described artifact is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
repeated string segments = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSegmentsCountin interfaceGoogleAdsFieldOrBuilder- Returns:
- The count of segments.
-
getSegments
public java.lang.String getSegments(int index)
Output only. This field lists the names of all artifacts, whether a segment or another resource, that segment metrics when included in search queries and when the described artifact is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
repeated string segments = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSegmentsin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The segments at the given index.
-
getSegmentsBytes
public com.google.protobuf.ByteString getSegmentsBytes(int index)
Output only. This field lists the names of all artifacts, whether a segment or another resource, that segment metrics when included in search queries and when the described artifact is used in the FROM clause. It is only set for artifacts whose category is RESOURCE.
repeated string segments = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSegmentsBytesin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the segments at the given index.
-
getEnumValuesList
public com.google.protobuf.ProtocolStringList getEnumValuesList()
Output only. Values the artifact can assume if it is a field of type ENUM. This field is only set for artifacts of category SEGMENT or ATTRIBUTE.
repeated string enum_values = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEnumValuesListin interfaceGoogleAdsFieldOrBuilder- Returns:
- A list containing the enumValues.
-
getEnumValuesCount
public int getEnumValuesCount()
Output only. Values the artifact can assume if it is a field of type ENUM. This field is only set for artifacts of category SEGMENT or ATTRIBUTE.
repeated string enum_values = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEnumValuesCountin interfaceGoogleAdsFieldOrBuilder- Returns:
- The count of enumValues.
-
getEnumValues
public java.lang.String getEnumValues(int index)
Output only. Values the artifact can assume if it is a field of type ENUM. This field is only set for artifacts of category SEGMENT or ATTRIBUTE.
repeated string enum_values = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEnumValuesin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The enumValues at the given index.
-
getEnumValuesBytes
public com.google.protobuf.ByteString getEnumValuesBytes(int index)
Output only. Values the artifact can assume if it is a field of type ENUM. This field is only set for artifacts of category SEGMENT or ATTRIBUTE.
repeated string enum_values = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEnumValuesBytesin interfaceGoogleAdsFieldOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the enumValues at the given index.
-
getDataTypeValue
public int getDataTypeValue()
Output only. This field determines the operators that can be used with the artifact in WHERE clauses.
.google.ads.googleads.v10.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType data_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDataTypeValuein interfaceGoogleAdsFieldOrBuilder- Returns:
- The enum numeric value on the wire for dataType.
-
getDataType
public GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType getDataType()
Output only. This field determines the operators that can be used with the artifact in WHERE clauses.
.google.ads.googleads.v10.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType data_type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDataTypein interfaceGoogleAdsFieldOrBuilder- Returns:
- The dataType.
-
hasTypeUrl
public boolean hasTypeUrl()
Output only. The URL of proto describing the artifact's data type.
optional string type_url = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTypeUrlin interfaceGoogleAdsFieldOrBuilder- Returns:
- Whether the typeUrl field is set.
-
getTypeUrl
public java.lang.String getTypeUrl()
Output only. The URL of proto describing the artifact's data type.
optional string type_url = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeUrlin interfaceGoogleAdsFieldOrBuilder- Returns:
- The typeUrl.
-
getTypeUrlBytes
public com.google.protobuf.ByteString getTypeUrlBytes()
Output only. The URL of proto describing the artifact's data type.
optional string type_url = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeUrlBytesin interfaceGoogleAdsFieldOrBuilder- Returns:
- The bytes for typeUrl.
-
hasIsRepeated
public boolean hasIsRepeated()
Output only. Whether the field artifact is repeated.
optional bool is_repeated = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIsRepeatedin interfaceGoogleAdsFieldOrBuilder- Returns:
- Whether the isRepeated field is set.
-
getIsRepeated
public boolean getIsRepeated()
Output only. Whether the field artifact is repeated.
optional bool is_repeated = 31 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIsRepeatedin interfaceGoogleAdsFieldOrBuilder- Returns:
- The isRepeated.
-
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 GoogleAdsField parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GoogleAdsField parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GoogleAdsField parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GoogleAdsField parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GoogleAdsField parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GoogleAdsField parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GoogleAdsField parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GoogleAdsField parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static GoogleAdsField parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static GoogleAdsField parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GoogleAdsField parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static GoogleAdsField parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public GoogleAdsField.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GoogleAdsField.Builder newBuilder()
-
newBuilder
public static GoogleAdsField.Builder newBuilder(GoogleAdsField prototype)
-
toBuilder
public GoogleAdsField.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GoogleAdsField.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GoogleAdsField getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GoogleAdsField> parser()
-
getParserForType
public com.google.protobuf.Parser<GoogleAdsField> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GoogleAdsField getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-