Interface CustomerLabelOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCustomer()
      Output only.
      com.google.protobuf.ByteString getCustomerBytes()
      Output only.
      java.lang.String getLabel()
      Output only.
      com.google.protobuf.ByteString getLabelBytes()
      Output only.
      java.lang.String getResourceName()
      Immutable.
      com.google.protobuf.ByteString getResourceNameBytes()
      Immutable.
      boolean hasCustomer()
      Output only.
      boolean hasLabel()
      Output only.
      • 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.
         Customer label resource names have the form:
         `customers/{customer_id}/customerLabels/{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.
         Customer label resource names have the form:
         `customers/{customer_id}/customerLabels/{label_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for resourceName.
      • hasCustomer

        boolean hasCustomer()
         Output only. The resource name of the customer to which the label is
         attached. Read only.
         
        optional string customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        Whether the customer field is set.
      • getCustomer

        java.lang.String getCustomer()
         Output only. The resource name of the customer to which the label is
         attached. Read only.
         
        optional string customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The customer.
      • getCustomerBytes

        com.google.protobuf.ByteString getCustomerBytes()
         Output only. The resource name of the customer to which the label is
         attached. Read only.
         
        optional string customer = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for customer.
      • hasLabel

        boolean hasLabel()
         Output only. The resource name of the label assigned to the customer.
        
         Note: the Customer ID portion of the label resource name is not
         validated when creating a new CustomerLabel.
         
        optional string label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        Whether the label field is set.
      • getLabel

        java.lang.String getLabel()
         Output only. The resource name of the label assigned to the customer.
        
         Note: the Customer ID portion of the label resource name is not
         validated when creating a new CustomerLabel.
         
        optional string label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The label.
      • getLabelBytes

        com.google.protobuf.ByteString getLabelBytes()
         Output only. The resource name of the label assigned to the customer.
        
         Note: the Customer ID portion of the label resource name is not
         validated when creating a new CustomerLabel.
         
        optional string label = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for label.