Class CustomVariable.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CustomVariable.Builder>
com.google.ads.googleads.v22.services.CustomVariable.Builder
All Implemented Interfaces:
CustomVariableOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CustomVariable

public static final class CustomVariable.Builder extends com.google.protobuf.GeneratedMessage.Builder<CustomVariable.Builder> implements CustomVariableOrBuilder
 A custom variable.
 
Protobuf type google.ads.googleads.v22.services.CustomVariable
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Resource name of the custom variable associated with this conversion.
    The value string of this custom variable.
    Resource name of the custom variable associated with this conversion.
    com.google.protobuf.ByteString
    Resource name of the custom variable associated with this conversion.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The value string of this custom variable.
    com.google.protobuf.ByteString
    The value string of this custom variable.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Resource name of the custom variable associated with this conversion.
    setConversionCustomVariableBytes(com.google.protobuf.ByteString value)
    Resource name of the custom variable associated with this conversion.
    The value string of this custom variable.
    setValueBytes(com.google.protobuf.ByteString value)
    The value string of this custom variable.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CustomVariable.Builder>
    • clear

      public CustomVariable.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CustomVariable.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CustomVariable.Builder>
    • getDefaultInstanceForType

      public CustomVariable getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CustomVariable build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CustomVariable buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CustomVariable.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomVariable.Builder>
    • mergeFrom

      public CustomVariable.Builder mergeFrom(CustomVariable other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CustomVariable.Builder>
    • mergeFrom

      public CustomVariable.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CustomVariable.Builder>
      Throws:
      IOException
    • getConversionCustomVariable

      public String getConversionCustomVariable()
       Resource name of the custom variable associated with this conversion.
      
       Note: Although this resource name consists of a customer id and a
       conversion custom variable id, validation will ignore the customer id and
       use the conversion custom variable id as the sole identifier of the
       conversion custom variable.
       
      string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getConversionCustomVariable in interface CustomVariableOrBuilder
      Returns:
      The conversionCustomVariable.
    • getConversionCustomVariableBytes

      public com.google.protobuf.ByteString getConversionCustomVariableBytes()
       Resource name of the custom variable associated with this conversion.
      
       Note: Although this resource name consists of a customer id and a
       conversion custom variable id, validation will ignore the customer id and
       use the conversion custom variable id as the sole identifier of the
       conversion custom variable.
       
      string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getConversionCustomVariableBytes in interface CustomVariableOrBuilder
      Returns:
      The bytes for conversionCustomVariable.
    • setConversionCustomVariable

      public CustomVariable.Builder setConversionCustomVariable(String value)
       Resource name of the custom variable associated with this conversion.
      
       Note: Although this resource name consists of a customer id and a
       conversion custom variable id, validation will ignore the customer id and
       use the conversion custom variable id as the sole identifier of the
       conversion custom variable.
       
      string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The conversionCustomVariable to set.
      Returns:
      This builder for chaining.
    • clearConversionCustomVariable

      public CustomVariable.Builder clearConversionCustomVariable()
       Resource name of the custom variable associated with this conversion.
      
       Note: Although this resource name consists of a customer id and a
       conversion custom variable id, validation will ignore the customer id and
       use the conversion custom variable id as the sole identifier of the
       conversion custom variable.
       
      string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setConversionCustomVariableBytes

      public CustomVariable.Builder setConversionCustomVariableBytes(com.google.protobuf.ByteString value)
       Resource name of the custom variable associated with this conversion.
      
       Note: Although this resource name consists of a customer id and a
       conversion custom variable id, validation will ignore the customer id and
       use the conversion custom variable id as the sole identifier of the
       conversion custom variable.
       
      string conversion_custom_variable = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for conversionCustomVariable to set.
      Returns:
      This builder for chaining.
    • getValue

      public String getValue()
       The value string of this custom variable.
       The value of the custom variable should not contain private customer data,
       such as email addresses or phone numbers.
       
      string value = 2;
      Specified by:
      getValue in interface CustomVariableOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
       The value string of this custom variable.
       The value of the custom variable should not contain private customer data,
       such as email addresses or phone numbers.
       
      string value = 2;
      Specified by:
      getValueBytes in interface CustomVariableOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public CustomVariable.Builder setValue(String value)
       The value string of this custom variable.
       The value of the custom variable should not contain private customer data,
       such as email addresses or phone numbers.
       
      string value = 2;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public CustomVariable.Builder clearValue()
       The value string of this custom variable.
       The value of the custom variable should not contain private customer data,
       such as email addresses or phone numbers.
       
      string value = 2;
      Returns:
      This builder for chaining.
    • setValueBytes

      public CustomVariable.Builder setValueBytes(com.google.protobuf.ByteString value)
       The value string of this custom variable.
       The value of the custom variable should not contain private customer data,
       such as email addresses or phone numbers.
       
      string value = 2;
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.