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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCampaign()
      Immutable.
      com.google.protobuf.ByteString getCampaignBytes()
      Immutable.
      java.lang.String getLabel()
      Immutable.
      com.google.protobuf.ByteString getLabelBytes()
      Immutable.
      java.lang.String getResourceName()
      Immutable.
      com.google.protobuf.ByteString getResourceNameBytes()
      Immutable.
      boolean hasCampaign()
      Immutable.
      boolean hasLabel()
      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 Detail

      • getResourceName

        java.lang.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

        java.lang.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

        java.lang.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.