Interface SharedCriterionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SharedCriterion,SharedCriterion.Builder
public interface SharedCriterionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBrand()Immutable.Immutable.longOutput only.Immutable.Immutable.Immutable.Immutable.Immutable.Immutable.Immutable.Immutable.Immutable.com.google.protobuf.ByteStringImmutable.Immutable.com.google.protobuf.ByteStringImmutable.getType()Output only.intOutput only.Immutable.Immutable.Immutable.Immutable.booleanhasBrand()Immutable.booleanOutput only.booleanImmutable.booleanImmutable.booleanImmutable.booleanImmutable.booleanImmutable.booleanImmutable.booleanImmutable.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
String getResourceName()Immutable. The resource name of the shared criterion. Shared set resource names have the form: `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the shared criterion. Shared set resource names have the form: `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for resourceName.
-
hasCriterionId
boolean hasCriterionId()Output only. The ID of the criterion. This field is ignored for mutates.
optional int64 criterion_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the criterionId field is set.
-
getCriterionId
long getCriterionId()Output only. The ID of the criterion. This field is ignored for mutates.
optional int64 criterion_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The criterionId.
-
getTypeValue
int getTypeValue()Output only. The type of the criterion.
.google.ads.googleads.v18.enums.CriterionTypeEnum.CriterionType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for type.
-
getType
CriterionTypeEnum.CriterionType getType()Output only. The type of the criterion.
.google.ads.googleads.v18.enums.CriterionTypeEnum.CriterionType type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The type.
-
hasKeyword
boolean hasKeyword()Immutable. Keyword.
.google.ads.googleads.v18.common.KeywordInfo keyword = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the keyword field is set.
-
getKeyword
KeywordInfo getKeyword()Immutable. Keyword.
.google.ads.googleads.v18.common.KeywordInfo keyword = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The keyword.
-
getKeywordOrBuilder
KeywordInfoOrBuilder getKeywordOrBuilder()Immutable. Keyword.
.google.ads.googleads.v18.common.KeywordInfo keyword = 3 [(.google.api.field_behavior) = IMMUTABLE]; -
hasYoutubeVideo
boolean hasYoutubeVideo()Immutable. YouTube Video.
.google.ads.googleads.v18.common.YouTubeVideoInfo youtube_video = 5 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the youtubeVideo field is set.
-
getYoutubeVideo
YouTubeVideoInfo getYoutubeVideo()Immutable. YouTube Video.
.google.ads.googleads.v18.common.YouTubeVideoInfo youtube_video = 5 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The youtubeVideo.
-
getYoutubeVideoOrBuilder
YouTubeVideoInfoOrBuilder getYoutubeVideoOrBuilder()Immutable. YouTube Video.
.google.ads.googleads.v18.common.YouTubeVideoInfo youtube_video = 5 [(.google.api.field_behavior) = IMMUTABLE]; -
hasYoutubeChannel
boolean hasYoutubeChannel()Immutable. YouTube Channel.
.google.ads.googleads.v18.common.YouTubeChannelInfo youtube_channel = 6 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the youtubeChannel field is set.
-
getYoutubeChannel
YouTubeChannelInfo getYoutubeChannel()Immutable. YouTube Channel.
.google.ads.googleads.v18.common.YouTubeChannelInfo youtube_channel = 6 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The youtubeChannel.
-
getYoutubeChannelOrBuilder
YouTubeChannelInfoOrBuilder getYoutubeChannelOrBuilder()Immutable. YouTube Channel.
.google.ads.googleads.v18.common.YouTubeChannelInfo youtube_channel = 6 [(.google.api.field_behavior) = IMMUTABLE]; -
hasPlacement
boolean hasPlacement()Immutable. Placement.
.google.ads.googleads.v18.common.PlacementInfo placement = 7 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the placement field is set.
-
getPlacement
PlacementInfo getPlacement()Immutable. Placement.
.google.ads.googleads.v18.common.PlacementInfo placement = 7 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The placement.
-
getPlacementOrBuilder
PlacementInfoOrBuilder getPlacementOrBuilder()Immutable. Placement.
.google.ads.googleads.v18.common.PlacementInfo placement = 7 [(.google.api.field_behavior) = IMMUTABLE]; -
hasMobileAppCategory
boolean hasMobileAppCategory()Immutable. Mobile App Category.
.google.ads.googleads.v18.common.MobileAppCategoryInfo mobile_app_category = 8 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the mobileAppCategory field is set.
-
getMobileAppCategory
MobileAppCategoryInfo getMobileAppCategory()Immutable. Mobile App Category.
.google.ads.googleads.v18.common.MobileAppCategoryInfo mobile_app_category = 8 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The mobileAppCategory.
-
getMobileAppCategoryOrBuilder
MobileAppCategoryInfoOrBuilder getMobileAppCategoryOrBuilder()Immutable. Mobile App Category.
.google.ads.googleads.v18.common.MobileAppCategoryInfo mobile_app_category = 8 [(.google.api.field_behavior) = IMMUTABLE]; -
hasMobileApplication
boolean hasMobileApplication()Immutable. Mobile application.
.google.ads.googleads.v18.common.MobileApplicationInfo mobile_application = 9 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the mobileApplication field is set.
-
getMobileApplication
MobileApplicationInfo getMobileApplication()Immutable. Mobile application.
.google.ads.googleads.v18.common.MobileApplicationInfo mobile_application = 9 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The mobileApplication.
-
getMobileApplicationOrBuilder
MobileApplicationInfoOrBuilder getMobileApplicationOrBuilder()Immutable. Mobile application.
.google.ads.googleads.v18.common.MobileApplicationInfo mobile_application = 9 [(.google.api.field_behavior) = IMMUTABLE]; -
hasBrand
boolean hasBrand()Immutable. Brand.
.google.ads.googleads.v18.common.BrandInfo brand = 12 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the brand field is set.
-
getBrand
BrandInfo getBrand()Immutable. Brand.
.google.ads.googleads.v18.common.BrandInfo brand = 12 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The brand.
-
getBrandOrBuilder
BrandInfoOrBuilder getBrandOrBuilder()Immutable. Brand.
.google.ads.googleads.v18.common.BrandInfo brand = 12 [(.google.api.field_behavior) = IMMUTABLE]; -
getCriterionCase
SharedCriterion.CriterionCase getCriterionCase()
-