Class UserListStringRuleItemInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UserListStringRuleItemInfo.Builder>
com.google.ads.googleads.v22.common.UserListStringRuleItemInfo.Builder
- All Implemented Interfaces:
UserListStringRuleItemInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UserListStringRuleItemInfo
public static final class UserListStringRuleItemInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UserListStringRuleItemInfo.Builder>
implements UserListStringRuleItemInfoOrBuilder
A rule item composed of a string operation.Protobuf type
google.ads.googleads.v22.common.UserListStringRuleItemInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()String comparison operator.The right hand side of the string rule item.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorString comparison operator.intString comparison operator.getValue()The right hand side of the string rule item.com.google.protobuf.ByteStringThe right hand side of the string rule item.booleanhasValue()The right hand side of the string rule item.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) String comparison operator.setOperatorValue(int value) String comparison operator.The right hand side of the string rule item.setValueBytes(com.google.protobuf.ByteString value) The right hand side of the string rule item.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UserListStringRuleItemInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UserListStringRuleItemInfo.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.GeneratedMessage.Builder<UserListStringRuleItemInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserListStringRuleItemInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UserListStringRuleItemInfo.Builder>
-
mergeFrom
public UserListStringRuleItemInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserListStringRuleItemInfo.Builder>- Throws:
IOException
-
getOperatorValue
public int getOperatorValue()String comparison operator. This field is required and must be populated when creating a new string rule item.
.google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;- Specified by:
getOperatorValuein interfaceUserListStringRuleItemInfoOrBuilder- Returns:
- The enum numeric value on the wire for operator.
-
setOperatorValue
String comparison operator. This field is required and must be populated when creating a new string rule item.
.google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;- Parameters:
value- The enum numeric value on the wire for operator to set.- Returns:
- This builder for chaining.
-
getOperator
String comparison operator. This field is required and must be populated when creating a new string rule item.
.google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;- Specified by:
getOperatorin interfaceUserListStringRuleItemInfoOrBuilder- Returns:
- The operator.
-
setOperator
public UserListStringRuleItemInfo.Builder setOperator(UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator value) String comparison operator. This field is required and must be populated when creating a new string rule item.
.google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;- Parameters:
value- The operator to set.- Returns:
- This builder for chaining.
-
clearOperator
String comparison operator. This field is required and must be populated when creating a new string rule item.
.google.ads.googleads.v22.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1;- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()The right hand side of the string rule item. For URLs or referrer URLs, the value can not contain illegal URL chars such as newlines, quotes, tabs, or parentheses. This field is required and must be populated when creating a new string rule item.
optional string value = 3;- Specified by:
hasValuein interfaceUserListStringRuleItemInfoOrBuilder- Returns:
- Whether the value field is set.
-
getValue
The right hand side of the string rule item. For URLs or referrer URLs, the value can not contain illegal URL chars such as newlines, quotes, tabs, or parentheses. This field is required and must be populated when creating a new string rule item.
optional string value = 3;- Specified by:
getValuein interfaceUserListStringRuleItemInfoOrBuilder- Returns:
- The value.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()The right hand side of the string rule item. For URLs or referrer URLs, the value can not contain illegal URL chars such as newlines, quotes, tabs, or parentheses. This field is required and must be populated when creating a new string rule item.
optional string value = 3;- Specified by:
getValueBytesin interfaceUserListStringRuleItemInfoOrBuilder- Returns:
- The bytes for value.
-
setValue
The right hand side of the string rule item. For URLs or referrer URLs, the value can not contain illegal URL chars such as newlines, quotes, tabs, or parentheses. This field is required and must be populated when creating a new string rule item.
optional string value = 3;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
clearValue
The right hand side of the string rule item. For URLs or referrer URLs, the value can not contain illegal URL chars such as newlines, quotes, tabs, or parentheses. This field is required and must be populated when creating a new string rule item.
optional string value = 3;- Returns:
- This builder for chaining.
-
setValueBytes
The right hand side of the string rule item. For URLs or referrer URLs, the value can not contain illegal URL chars such as newlines, quotes, tabs, or parentheses. This field is required and must be populated when creating a new string rule item.
optional string value = 3;- Parameters:
value- The bytes for value to set.- Returns:
- This builder for chaining.
-