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.v14.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,java.lang.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 typegoogle.ads.googleads.v14.common.Operand.ConstantOperand
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Operand.ConstantOperand.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Operand.ConstantOperandbuild()Operand.ConstantOperandbuildPartial()Operand.ConstantOperand.Builderclear()Operand.ConstantOperand.BuilderclearBooleanValue()Boolean value of the operand if it is a boolean type.Operand.ConstantOperand.BuilderclearConstantOperandValue()Operand.ConstantOperand.BuilderclearDoubleValue()Double value of the operand if it is a double type.Operand.ConstantOperand.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Operand.ConstantOperand.BuilderclearLongValue()Int64 value of the operand if it is a int64 type.Operand.ConstantOperand.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Operand.ConstantOperand.BuilderclearStringValue()String value of the operand if it is a string type.Operand.ConstantOperand.Builderclone()booleangetBooleanValue()Boolean value of the operand if it is a boolean type.Operand.ConstantOperand.ConstantOperandValueCasegetConstantOperandValueCase()Operand.ConstantOperandgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()doublegetDoubleValue()Double value of the operand if it is a double type.longgetLongValue()Int64 value of the operand if it is a int64 type.java.lang.StringgetStringValue()String value of the operand if it is a string type.com.google.protobuf.ByteStringgetStringValueBytes()String value of the operand if it is a string type.booleanhasBooleanValue()Boolean value of the operand if it is a boolean type.booleanhasDoubleValue()Double value of the operand if it is a double type.booleanhasLongValue()Int64 value of the operand if it is a int64 type.booleanhasStringValue()String value of the operand if it is a string type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Operand.ConstantOperand.BuildermergeFrom(Operand.ConstantOperand other)Operand.ConstantOperand.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Operand.ConstantOperand.BuildermergeFrom(com.google.protobuf.Message other)Operand.ConstantOperand.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Operand.ConstantOperand.BuildersetBooleanValue(boolean value)Boolean value of the operand if it is a boolean type.Operand.ConstantOperand.BuildersetDoubleValue(double value)Double value of the operand if it is a double type.Operand.ConstantOperand.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Operand.ConstantOperand.BuildersetLongValue(long value)Int64 value of the operand if it is a int64 type.Operand.ConstantOperand.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Operand.ConstantOperand.BuildersetStringValue(java.lang.String value)String value of the operand if it is a string type.Operand.ConstantOperand.BuildersetStringValueBytes(com.google.protobuf.ByteString value)String value of the operand if it is a string type.Operand.ConstantOperand.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
clear
public Operand.ConstantOperand.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
getDefaultInstanceForType
public Operand.ConstantOperand getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Operand.ConstantOperand build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Operand.ConstantOperand buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Operand.ConstantOperand.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
setField
public Operand.ConstantOperand.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
clearField
public Operand.ConstantOperand.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
clearOneof
public Operand.ConstantOperand.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
setRepeatedField
public Operand.ConstantOperand.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
addRepeatedField
public Operand.ConstantOperand.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
mergeFrom
public Operand.ConstantOperand.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Operand.ConstantOperand.Builder>
-
mergeFrom
public Operand.ConstantOperand.Builder mergeFrom(Operand.ConstantOperand other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
mergeFrom
public Operand.ConstantOperand.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Operand.ConstantOperand.Builder>- Throws:
java.io.IOException
-
getConstantOperandValueCase
public Operand.ConstantOperand.ConstantOperandValueCase getConstantOperandValueCase()
- Specified by:
getConstantOperandValueCasein interfaceOperand.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:
hasStringValuein interfaceOperand.ConstantOperandOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
public java.lang.String getStringValue()
String value of the operand if it is a string type.
string string_value = 5;- Specified by:
getStringValuein interfaceOperand.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:
getStringValueBytesin interfaceOperand.ConstantOperandOrBuilder- Returns:
- The bytes for stringValue.
-
setStringValue
public Operand.ConstantOperand.Builder setStringValue(java.lang.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:
hasLongValuein interfaceOperand.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:
getLongValuein interfaceOperand.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:
hasBooleanValuein interfaceOperand.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:
getBooleanValuein interfaceOperand.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:
hasDoubleValuein interfaceOperand.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:
getDoubleValuein interfaceOperand.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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
mergeUnknownFields
public final Operand.ConstantOperand.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Operand.ConstantOperand.Builder>
-
-