Class Operand.ConstantOperand.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
com.google.ads.googleads.v18.common.Operand.ConstantOperand.Builder
All Implemented Interfaces:
Operand.ConstantOperandOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Operand.ConstantOperand

public static final class Operand.ConstantOperand.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder> implements Operand.ConstantOperandOrBuilder
 A constant operand in a matching function.
 
Protobuf type google.ads.googleads.v18.common.Operand.ConstantOperand
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.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.GeneratedMessageV3.Builder<Operand.ConstantOperand.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.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
    • getDefaultInstanceForType

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

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

      public Operand.ConstantOperand buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
    • setField

      public Operand.ConstantOperand.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
    • clearField

      public Operand.ConstantOperand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
    • clearOneof

      public Operand.ConstantOperand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
    • setRepeatedField

      public Operand.ConstantOperand.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
    • addRepeatedField

      public Operand.ConstantOperand.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
    • mergeFrom

      public Operand.ConstantOperand.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<Operand.ConstantOperand.Builder>
    • mergeFrom

    • isInitialized

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

      public Operand.ConstantOperand.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<Operand.ConstantOperand.Builder>
      Throws:
      IOException
    • getConstantOperandValueCase

      public Operand.ConstantOperand.ConstantOperandValueCase getConstantOperandValueCase()
      Specified by:
      getConstantOperandValueCase in interface Operand.ConstantOperandOrBuilder
    • clearConstantOperandValue

      public Operand.ConstantOperand.Builder clearConstantOperandValue()
    • hasStringValue

      public boolean hasStringValue()
       String value of the operand if it is a string type.
       
      string string_value = 5;
      Specified by:
      hasStringValue in interface Operand.ConstantOperandOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
       String value of the operand if it is a string type.
       
      string string_value = 5;
      Specified by:
      getStringValue in interface Operand.ConstantOperandOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
       String value of the operand if it is a string type.
       
      string string_value = 5;
      Specified by:
      getStringValueBytes in interface Operand.ConstantOperandOrBuilder
      Returns:
      The bytes for stringValue.
    • setStringValue

      public Operand.ConstantOperand.Builder setStringValue(String value)
       String value of the operand if it is a string type.
       
      string string_value = 5;
      Parameters:
      value - The stringValue to set.
      Returns:
      This builder for chaining.
    • clearStringValue

      public Operand.ConstantOperand.Builder clearStringValue()
       String value of the operand if it is a string type.
       
      string string_value = 5;
      Returns:
      This builder for chaining.
    • setStringValueBytes

      public Operand.ConstantOperand.Builder setStringValueBytes(com.google.protobuf.ByteString value)
       String value of the operand if it is a string type.
       
      string string_value = 5;
      Parameters:
      value - The bytes for stringValue to set.
      Returns:
      This builder for chaining.
    • hasLongValue

      public boolean hasLongValue()
       Int64 value of the operand if it is a int64 type.
       
      int64 long_value = 6;
      Specified by:
      hasLongValue in interface Operand.ConstantOperandOrBuilder
      Returns:
      Whether the longValue field is set.
    • getLongValue

      public long getLongValue()
       Int64 value of the operand if it is a int64 type.
       
      int64 long_value = 6;
      Specified by:
      getLongValue in interface Operand.ConstantOperandOrBuilder
      Returns:
      The longValue.
    • setLongValue

      public Operand.ConstantOperand.Builder setLongValue(long value)
       Int64 value of the operand if it is a int64 type.
       
      int64 long_value = 6;
      Parameters:
      value - The longValue to set.
      Returns:
      This builder for chaining.
    • clearLongValue

      public Operand.ConstantOperand.Builder clearLongValue()
       Int64 value of the operand if it is a int64 type.
       
      int64 long_value = 6;
      Returns:
      This builder for chaining.
    • hasBooleanValue

      public boolean hasBooleanValue()
       Boolean value of the operand if it is a boolean type.
       
      bool boolean_value = 7;
      Specified by:
      hasBooleanValue in interface Operand.ConstantOperandOrBuilder
      Returns:
      Whether the booleanValue field is set.
    • getBooleanValue

      public boolean getBooleanValue()
       Boolean value of the operand if it is a boolean type.
       
      bool boolean_value = 7;
      Specified by:
      getBooleanValue in interface Operand.ConstantOperandOrBuilder
      Returns:
      The booleanValue.
    • setBooleanValue

      public Operand.ConstantOperand.Builder setBooleanValue(boolean value)
       Boolean value of the operand if it is a boolean type.
       
      bool boolean_value = 7;
      Parameters:
      value - The booleanValue to set.
      Returns:
      This builder for chaining.
    • clearBooleanValue

      public Operand.ConstantOperand.Builder clearBooleanValue()
       Boolean value of the operand if it is a boolean type.
       
      bool boolean_value = 7;
      Returns:
      This builder for chaining.
    • hasDoubleValue

      public boolean hasDoubleValue()
       Double value of the operand if it is a double type.
       
      double double_value = 8;
      Specified by:
      hasDoubleValue in interface Operand.ConstantOperandOrBuilder
      Returns:
      Whether the doubleValue field is set.
    • getDoubleValue

      public double getDoubleValue()
       Double value of the operand if it is a double type.
       
      double double_value = 8;
      Specified by:
      getDoubleValue in interface Operand.ConstantOperandOrBuilder
      Returns:
      The doubleValue.
    • setDoubleValue

      public Operand.ConstantOperand.Builder setDoubleValue(double value)
       Double value of the operand if it is a double type.
       
      double double_value = 8;
      Parameters:
      value - The doubleValue to set.
      Returns:
      This builder for chaining.
    • clearDoubleValue

      public Operand.ConstantOperand.Builder clearDoubleValue()
       Double value of the operand if it is a double type.
       
      double double_value = 8;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Operand.ConstantOperand.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
    • mergeUnknownFields

      public final Operand.ConstantOperand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>