Class AudienceInsightsAttributeMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v14.services.AudienceInsightsAttributeMetadata
-
- All Implemented Interfaces:
AudienceInsightsAttributeMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class AudienceInsightsAttributeMetadata extends com.google.protobuf.GeneratedMessageV3 implements AudienceInsightsAttributeMetadataOrBuilder
An audience attribute, with metadata about it, returned in response to a search.
Protobuf typegoogle.ads.googleads.v14.services.AudienceInsightsAttributeMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAudienceInsightsAttributeMetadata.BuilderAn audience attribute, with metadata about it, returned in response to a search.static classAudienceInsightsAttributeMetadata.DimensionMetadataCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intATTRIBUTE_FIELD_NUMBERstatic intDIMENSION_FIELD_NUMBERstatic intDISPLAY_INFO_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intDYNAMIC_ATTRIBUTE_METADATA_FIELD_NUMBERstatic intLOCATION_ATTRIBUTE_METADATA_FIELD_NUMBERstatic intSCORE_FIELD_NUMBERstatic intYOUTUBE_CHANNEL_METADATA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)AudienceInsightsAttributegetAttribute()The attribute itself.AudienceInsightsAttributeOrBuildergetAttributeOrBuilder()The attribute itself.static AudienceInsightsAttributeMetadatagetDefaultInstance()AudienceInsightsAttributeMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()AudienceInsightsDimensionEnum.AudienceInsightsDimensiongetDimension()The type of the attribute.AudienceInsightsAttributeMetadata.DimensionMetadataCasegetDimensionMetadataCase()intgetDimensionValue()The type of the attribute.java.lang.StringgetDisplayInfo()A string that supplements the display_name to identify the attribute.com.google.protobuf.ByteStringgetDisplayInfoBytes()A string that supplements the display_name to identify the attribute.java.lang.StringgetDisplayName()The human-readable name of the attribute.com.google.protobuf.ByteStringgetDisplayNameBytes()The human-readable name of the attribute.DynamicLineupAttributeMetadatagetDynamicAttributeMetadata()Special metadata for a YouTube Dynamic Lineup.DynamicLineupAttributeMetadataOrBuildergetDynamicAttributeMetadataOrBuilder()Special metadata for a YouTube Dynamic Lineup.LocationAttributeMetadatagetLocationAttributeMetadata()Special metadata for a Location.LocationAttributeMetadataOrBuildergetLocationAttributeMetadataOrBuilder()Special metadata for a Location.com.google.protobuf.Parser<AudienceInsightsAttributeMetadata>getParserForType()doublegetScore()A relevance score for this attribute, between 0 and 1.intgetSerializedSize()YouTubeChannelAttributeMetadatagetYoutubeChannelMetadata()Special metadata for a YouTube channel.YouTubeChannelAttributeMetadataOrBuildergetYoutubeChannelMetadataOrBuilder()Special metadata for a YouTube channel.booleanhasAttribute()The attribute itself.booleanhasDynamicAttributeMetadata()Special metadata for a YouTube Dynamic Lineup.inthashCode()booleanhasLocationAttributeMetadata()Special metadata for a Location.booleanhasYoutubeChannelMetadata()Special metadata for a YouTube channel.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AudienceInsightsAttributeMetadata.BuildernewBuilder()static AudienceInsightsAttributeMetadata.BuildernewBuilder(AudienceInsightsAttributeMetadata prototype)AudienceInsightsAttributeMetadata.BuildernewBuilderForType()protected AudienceInsightsAttributeMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AudienceInsightsAttributeMetadataparseDelimitedFrom(java.io.InputStream input)static AudienceInsightsAttributeMetadataparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AudienceInsightsAttributeMetadataparseFrom(byte[] data)static AudienceInsightsAttributeMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AudienceInsightsAttributeMetadataparseFrom(com.google.protobuf.ByteString data)static AudienceInsightsAttributeMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AudienceInsightsAttributeMetadataparseFrom(com.google.protobuf.CodedInputStream input)static AudienceInsightsAttributeMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AudienceInsightsAttributeMetadataparseFrom(java.io.InputStream input)static AudienceInsightsAttributeMetadataparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AudienceInsightsAttributeMetadataparseFrom(java.nio.ByteBuffer data)static AudienceInsightsAttributeMetadataparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AudienceInsightsAttributeMetadata>parser()AudienceInsightsAttributeMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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
-
DIMENSION_FIELD_NUMBER
public static final int DIMENSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTRIBUTE_FIELD_NUMBER
public static final int ATTRIBUTE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_INFO_FIELD_NUMBER
public static final int DISPLAY_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
YOUTUBE_CHANNEL_METADATA_FIELD_NUMBER
public static final int YOUTUBE_CHANNEL_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DYNAMIC_ATTRIBUTE_METADATA_FIELD_NUMBER
public static final int DYNAMIC_ATTRIBUTE_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCATION_ATTRIBUTE_METADATA_FIELD_NUMBER
public static final int LOCATION_ATTRIBUTE_METADATA_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
-
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
-
getDimensionMetadataCase
public AudienceInsightsAttributeMetadata.DimensionMetadataCase getDimensionMetadataCase()
- Specified by:
getDimensionMetadataCasein interfaceAudienceInsightsAttributeMetadataOrBuilder
-
getDimensionValue
public int getDimensionValue()
The type of the attribute.
.google.ads.googleads.v14.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1;- Specified by:
getDimensionValuein interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The enum numeric value on the wire for dimension.
-
getDimension
public AudienceInsightsDimensionEnum.AudienceInsightsDimension getDimension()
The type of the attribute.
.google.ads.googleads.v14.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1;- Specified by:
getDimensionin interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The dimension.
-
hasAttribute
public boolean hasAttribute()
The attribute itself.
.google.ads.googleads.v14.services.AudienceInsightsAttribute attribute = 2;- Specified by:
hasAttributein interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- Whether the attribute field is set.
-
getAttribute
public AudienceInsightsAttribute getAttribute()
The attribute itself.
.google.ads.googleads.v14.services.AudienceInsightsAttribute attribute = 2;- Specified by:
getAttributein interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The attribute.
-
getAttributeOrBuilder
public AudienceInsightsAttributeOrBuilder getAttributeOrBuilder()
The attribute itself.
.google.ads.googleads.v14.services.AudienceInsightsAttribute attribute = 2;- Specified by:
getAttributeOrBuilderin interfaceAudienceInsightsAttributeMetadataOrBuilder
-
getDisplayName
public java.lang.String getDisplayName()
The human-readable name of the attribute.
string display_name = 3;- Specified by:
getDisplayNamein interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The human-readable name of the attribute.
string display_name = 3;- Specified by:
getDisplayNameBytesin interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The bytes for displayName.
-
getScore
public double getScore()
A relevance score for this attribute, between 0 and 1.
double score = 4;- Specified by:
getScorein interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The score.
-
getDisplayInfo
public java.lang.String getDisplayInfo()
A string that supplements the display_name to identify the attribute. If the dimension is TOPIC, this is a brief description of the Knowledge Graph entity, such as "American singer-songwriter". If the dimension is CATEGORY, this is the complete path to the category in The Product & Service taxonomy, for example "/Apparel/Clothing/Outerwear".
string display_info = 5;- Specified by:
getDisplayInfoin interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The displayInfo.
-
getDisplayInfoBytes
public com.google.protobuf.ByteString getDisplayInfoBytes()
A string that supplements the display_name to identify the attribute. If the dimension is TOPIC, this is a brief description of the Knowledge Graph entity, such as "American singer-songwriter". If the dimension is CATEGORY, this is the complete path to the category in The Product & Service taxonomy, for example "/Apparel/Clothing/Outerwear".
string display_info = 5;- Specified by:
getDisplayInfoBytesin interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The bytes for displayInfo.
-
hasYoutubeChannelMetadata
public boolean hasYoutubeChannelMetadata()
Special metadata for a YouTube channel.
.google.ads.googleads.v14.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;- Specified by:
hasYoutubeChannelMetadatain interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- Whether the youtubeChannelMetadata field is set.
-
getYoutubeChannelMetadata
public YouTubeChannelAttributeMetadata getYoutubeChannelMetadata()
Special metadata for a YouTube channel.
.google.ads.googleads.v14.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;- Specified by:
getYoutubeChannelMetadatain interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The youtubeChannelMetadata.
-
getYoutubeChannelMetadataOrBuilder
public YouTubeChannelAttributeMetadataOrBuilder getYoutubeChannelMetadataOrBuilder()
Special metadata for a YouTube channel.
.google.ads.googleads.v14.services.YouTubeChannelAttributeMetadata youtube_channel_metadata = 6;- Specified by:
getYoutubeChannelMetadataOrBuilderin interfaceAudienceInsightsAttributeMetadataOrBuilder
-
hasDynamicAttributeMetadata
public boolean hasDynamicAttributeMetadata()
Special metadata for a YouTube Dynamic Lineup.
.google.ads.googleads.v14.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;- Specified by:
hasDynamicAttributeMetadatain interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- Whether the dynamicAttributeMetadata field is set.
-
getDynamicAttributeMetadata
public DynamicLineupAttributeMetadata getDynamicAttributeMetadata()
Special metadata for a YouTube Dynamic Lineup.
.google.ads.googleads.v14.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;- Specified by:
getDynamicAttributeMetadatain interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The dynamicAttributeMetadata.
-
getDynamicAttributeMetadataOrBuilder
public DynamicLineupAttributeMetadataOrBuilder getDynamicAttributeMetadataOrBuilder()
Special metadata for a YouTube Dynamic Lineup.
.google.ads.googleads.v14.services.DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7;- Specified by:
getDynamicAttributeMetadataOrBuilderin interfaceAudienceInsightsAttributeMetadataOrBuilder
-
hasLocationAttributeMetadata
public boolean hasLocationAttributeMetadata()
Special metadata for a Location.
.google.ads.googleads.v14.services.LocationAttributeMetadata location_attribute_metadata = 8;- Specified by:
hasLocationAttributeMetadatain interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- Whether the locationAttributeMetadata field is set.
-
getLocationAttributeMetadata
public LocationAttributeMetadata getLocationAttributeMetadata()
Special metadata for a Location.
.google.ads.googleads.v14.services.LocationAttributeMetadata location_attribute_metadata = 8;- Specified by:
getLocationAttributeMetadatain interfaceAudienceInsightsAttributeMetadataOrBuilder- Returns:
- The locationAttributeMetadata.
-
getLocationAttributeMetadataOrBuilder
public LocationAttributeMetadataOrBuilder getLocationAttributeMetadataOrBuilder()
Special metadata for a Location.
.google.ads.googleads.v14.services.LocationAttributeMetadata location_attribute_metadata = 8;- Specified by:
getLocationAttributeMetadataOrBuilderin interfaceAudienceInsightsAttributeMetadataOrBuilder
-
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 AudienceInsightsAttributeMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttributeMetadata parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttributeMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttributeMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttributeMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttributeMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceInsightsAttributeMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AudienceInsightsAttributeMetadata parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AudienceInsightsAttributeMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AudienceInsightsAttributeMetadata parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AudienceInsightsAttributeMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AudienceInsightsAttributeMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AudienceInsightsAttributeMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AudienceInsightsAttributeMetadata.Builder newBuilder()
-
newBuilder
public static AudienceInsightsAttributeMetadata.Builder newBuilder(AudienceInsightsAttributeMetadata prototype)
-
toBuilder
public AudienceInsightsAttributeMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AudienceInsightsAttributeMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AudienceInsightsAttributeMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AudienceInsightsAttributeMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<AudienceInsightsAttributeMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AudienceInsightsAttributeMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-