Interface UserListDateRuleItemInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserListDateRuleItemInfo,UserListDateRuleItemInfo.Builder
public interface UserListDateRuleItemInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetOffsetInDays()The relative date value of the right hand side denoted by number of days offset from now.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperatorgetOperator()Date comparison operator.intgetOperatorValue()Date comparison operator.java.lang.StringgetValue()String representing date value to be compared with the rule variable.com.google.protobuf.ByteStringgetValueBytes()String representing date value to be compared with the rule variable.booleanhasOffsetInDays()The relative date value of the right hand side denoted by number of days offset from now.booleanhasValue()String representing date value to be compared with the rule variable.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getOperatorValue
int getOperatorValue()
Date comparison operator. This field is required and must be populated when creating new date rule item.
.google.ads.googleads.v10.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1;- Returns:
- The enum numeric value on the wire for operator.
-
getOperator
UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator getOperator()
Date comparison operator. This field is required and must be populated when creating new date rule item.
.google.ads.googleads.v10.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1;- Returns:
- The operator.
-
hasValue
boolean hasValue()
String representing date value to be compared with the rule variable. Supported date format is YYYY-MM-DD. Times are reported in the customer's time zone.
optional string value = 4;- Returns:
- Whether the value field is set.
-
getValue
java.lang.String getValue()
String representing date value to be compared with the rule variable. Supported date format is YYYY-MM-DD. Times are reported in the customer's time zone.
optional string value = 4;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
String representing date value to be compared with the rule variable. Supported date format is YYYY-MM-DD. Times are reported in the customer's time zone.
optional string value = 4;- Returns:
- The bytes for value.
-
hasOffsetInDays
boolean hasOffsetInDays()
The relative date value of the right hand side denoted by number of days offset from now. The value field will override this field when both are present.
optional int64 offset_in_days = 5;- Returns:
- Whether the offsetInDays field is set.
-
getOffsetInDays
long getOffsetInDays()
The relative date value of the right hand side denoted by number of days offset from now. The value field will override this field when both are present.
optional int64 offset_in_days = 5;- Returns:
- The offsetInDays.
-
-