Interface CampaignLabelOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CampaignLabel, CampaignLabel.Builder

public interface CampaignLabelOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
    Immutable.
    com.google.protobuf.ByteString
    Immutable.
    boolean
    Immutable.
    boolean
    Immutable.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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. Name of the resource.
       Campaign label resource names have the form:
       `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The resourceName.
    • getResourceNameBytes

      com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. Name of the resource.
       Campaign label resource names have the form:
       `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resourceName.
    • hasCampaign

      boolean hasCampaign()
       Immutable. The campaign to which the label is attached.
       
      optional string campaign = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the campaign field is set.
    • getCampaign

      String getCampaign()
       Immutable. The campaign to which the label is attached.
       
      optional string campaign = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The campaign.
    • getCampaignBytes

      com.google.protobuf.ByteString getCampaignBytes()
       Immutable. The campaign to which the label is attached.
       
      optional string campaign = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for campaign.
    • hasLabel

      boolean hasLabel()
       Immutable. The label assigned to the campaign.
       
      optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      Whether the label field is set.
    • getLabel

      String getLabel()
       Immutable. The label assigned to the campaign.
       
      optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The label.
    • getLabelBytes

      com.google.protobuf.ByteString getLabelBytes()
       Immutable. The label assigned to the campaign.
       
      optional string label = 5 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for label.