Class BillingSetup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
com.google.ads.googleads.v18.resources.BillingSetup.Builder
- All Implemented Interfaces:
BillingSetupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BillingSetup
public static final class BillingSetup.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
implements BillingSetupOrBuilder
A billing setup, which associates a payments account and an advertiser. A billing setup is specific to one advertiser.Protobuf type
google.ads.googleads.v18.resources.BillingSetup-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Immutable.Immutable.Immutable.Immutable.Immutable.Output only.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.longgetId()Output only.Immutable.com.google.protobuf.ByteStringImmutable.Immutable.Immutable.Immutable.Immutable.com.google.protobuf.ByteStringImmutable.Immutable.com.google.protobuf.ByteStringImmutable.Immutable.intImmutable.Output only.intOutput only.booleanOutput only.booleanOutput only.booleanhasId()Output only.booleanImmutable.booleanImmutable.booleanImmutable.booleanImmutable.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(BillingSetup other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Immutable.final BillingSetup.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setEndDateTime(String value) Output only.setEndDateTimeBytes(com.google.protobuf.ByteString value) Output only.Output only.setEndTimeTypeValue(int value) Output only.setId(long value) Output only.setPaymentsAccount(String value) Immutable.setPaymentsAccountBytes(com.google.protobuf.ByteString value) Immutable.Immutable.setPaymentsAccountInfo(BillingSetup.PaymentsAccountInfo.Builder builderForValue) Immutable.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.setStartDateTime(String value) Immutable.setStartDateTimeBytes(com.google.protobuf.ByteString value) Immutable.Immutable.setStartTimeTypeValue(int value) Immutable.Output only.setStatusValue(int value) Output only.final BillingSetup.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, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.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<BillingSetup.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<BillingSetup.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
setField
public BillingSetup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
setRepeatedField
public BillingSetup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
addRepeatedField
public BillingSetup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BillingSetup.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
mergeFrom
public BillingSetup.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<BillingSetup.Builder>- Throws:
IOException
-
getStartTimeCase
- Specified by:
getStartTimeCasein interfaceBillingSetupOrBuilder
-
clearStartTime
-
getEndTimeCase
- Specified by:
getEndTimeCasein interfaceBillingSetupOrBuilder
-
clearEndTime
-
getResourceName
Immutable. The resource name of the billing setup. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceBillingSetupOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the billing setup. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceBillingSetupOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Immutable. The resource name of the billing setup. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Immutable. The resource name of the billing setup. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Immutable. The resource name of the billing setup. BillingSetup resource names have the form: `customers/{customer_id}/billingSetups/{billing_setup_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. The ID of the billing setup.
optional int64 id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasIdin interfaceBillingSetupOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. The ID of the billing setup.
optional int64 id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceBillingSetupOrBuilder- Returns:
- The id.
-
setId
Output only. The ID of the billing setup.
optional int64 id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. The ID of the billing setup.
optional int64 id = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()Output only. The status of the billing setup.
.google.ads.googleads.v18.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceBillingSetupOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Output only. The status of the billing setup.
.google.ads.googleads.v18.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Output only. The status of the billing setup.
.google.ads.googleads.v18.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceBillingSetupOrBuilder- Returns:
- The status.
-
setStatus
Output only. The status of the billing setup.
.google.ads.googleads.v18.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. The status of the billing setup.
.google.ads.googleads.v18.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasPaymentsAccount
public boolean hasPaymentsAccount()Immutable. The resource name of the payments account associated with this billing setup. Payments resource names have the form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}` When setting up billing, this is used to signup with an existing payments account (and then payments_account_info should not be set). When getting a billing setup, this and payments_account_info will be populated.optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
hasPaymentsAccountin interfaceBillingSetupOrBuilder- Returns:
- Whether the paymentsAccount field is set.
-
getPaymentsAccount
Immutable. The resource name of the payments account associated with this billing setup. Payments resource names have the form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}` When setting up billing, this is used to signup with an existing payments account (and then payments_account_info should not be set). When getting a billing setup, this and payments_account_info will be populated.optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getPaymentsAccountin interfaceBillingSetupOrBuilder- Returns:
- The paymentsAccount.
-
getPaymentsAccountBytes
public com.google.protobuf.ByteString getPaymentsAccountBytes()Immutable. The resource name of the payments account associated with this billing setup. Payments resource names have the form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}` When setting up billing, this is used to signup with an existing payments account (and then payments_account_info should not be set). When getting a billing setup, this and payments_account_info will be populated.optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getPaymentsAccountBytesin interfaceBillingSetupOrBuilder- Returns:
- The bytes for paymentsAccount.
-
setPaymentsAccount
Immutable. The resource name of the payments account associated with this billing setup. Payments resource names have the form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}` When setting up billing, this is used to signup with an existing payments account (and then payments_account_info should not be set). When getting a billing setup, this and payments_account_info will be populated.optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The paymentsAccount to set.- Returns:
- This builder for chaining.
-
clearPaymentsAccount
Immutable. The resource name of the payments account associated with this billing setup. Payments resource names have the form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}` When setting up billing, this is used to signup with an existing payments account (and then payments_account_info should not be set). When getting a billing setup, this and payments_account_info will be populated.optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setPaymentsAccountBytes
Immutable. The resource name of the payments account associated with this billing setup. Payments resource names have the form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}` When setting up billing, this is used to signup with an existing payments account (and then payments_account_info should not be set). When getting a billing setup, this and payments_account_info will be populated.optional string payments_account = 18 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for paymentsAccount to set.- Returns:
- This builder for chaining.
-
hasPaymentsAccountInfo
public boolean hasPaymentsAccountInfo()Immutable. The payments account information associated with this billing setup. When setting up billing, this is used to signup with a new payments account (and then payments_account should not be set). When getting a billing setup, this and payments_account will be populated.
.google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasPaymentsAccountInfoin interfaceBillingSetupOrBuilder- Returns:
- Whether the paymentsAccountInfo field is set.
-
getPaymentsAccountInfo
Immutable. The payments account information associated with this billing setup. When setting up billing, this is used to signup with a new payments account (and then payments_account should not be set). When getting a billing setup, this and payments_account will be populated.
.google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPaymentsAccountInfoin interfaceBillingSetupOrBuilder- Returns:
- The paymentsAccountInfo.
-
setPaymentsAccountInfo
Immutable. The payments account information associated with this billing setup. When setting up billing, this is used to signup with a new payments account (and then payments_account should not be set). When getting a billing setup, this and payments_account will be populated.
.google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE]; -
setPaymentsAccountInfo
public BillingSetup.Builder setPaymentsAccountInfo(BillingSetup.PaymentsAccountInfo.Builder builderForValue) Immutable. The payments account information associated with this billing setup. When setting up billing, this is used to signup with a new payments account (and then payments_account should not be set). When getting a billing setup, this and payments_account will be populated.
.google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE]; -
mergePaymentsAccountInfo
Immutable. The payments account information associated with this billing setup. When setting up billing, this is used to signup with a new payments account (and then payments_account should not be set). When getting a billing setup, this and payments_account will be populated.
.google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE]; -
clearPaymentsAccountInfo
Immutable. The payments account information associated with this billing setup. When setting up billing, this is used to signup with a new payments account (and then payments_account should not be set). When getting a billing setup, this and payments_account will be populated.
.google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE]; -
getPaymentsAccountInfoBuilder
Immutable. The payments account information associated with this billing setup. When setting up billing, this is used to signup with a new payments account (and then payments_account should not be set). When getting a billing setup, this and payments_account will be populated.
.google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE]; -
getPaymentsAccountInfoOrBuilder
Immutable. The payments account information associated with this billing setup. When setting up billing, this is used to signup with a new payments account (and then payments_account should not be set). When getting a billing setup, this and payments_account will be populated.
.google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPaymentsAccountInfoOrBuilderin interfaceBillingSetupOrBuilder
-
hasStartDateTime
public boolean hasStartDateTime()Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a future time is allowed.
string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasStartDateTimein interfaceBillingSetupOrBuilder- Returns:
- Whether the startDateTime field is set.
-
getStartDateTime
Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a future time is allowed.
string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getStartDateTimein interfaceBillingSetupOrBuilder- Returns:
- The startDateTime.
-
getStartDateTimeBytes
public com.google.protobuf.ByteString getStartDateTimeBytes()Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a future time is allowed.
string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getStartDateTimeBytesin interfaceBillingSetupOrBuilder- Returns:
- The bytes for startDateTime.
-
setStartDateTime
Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a future time is allowed.
string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The startDateTime to set.- Returns:
- This builder for chaining.
-
clearStartDateTime
Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a future time is allowed.
string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setStartDateTimeBytes
Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a future time is allowed.
string start_date_time = 16 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for startDateTime to set.- Returns:
- This builder for chaining.
-
hasStartTimeType
public boolean hasStartTimeType()Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasStartTimeTypein interfaceBillingSetupOrBuilder- Returns:
- Whether the startTimeType field is set.
-
getStartTimeTypeValue
public int getStartTimeTypeValue()Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getStartTimeTypeValuein interfaceBillingSetupOrBuilder- Returns:
- The enum numeric value on the wire for startTimeType.
-
setStartTimeTypeValue
Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for startTimeType to set.- Returns:
- This builder for chaining.
-
getStartTimeType
Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getStartTimeTypein interfaceBillingSetupOrBuilder- Returns:
- The startTimeType.
-
setStartTimeType
Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The startTimeType to set.- Returns:
- This builder for chaining.
-
clearStartTimeType
Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
hasEndDateTime
public boolean hasEndDateTime()Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format.
string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndDateTimein interfaceBillingSetupOrBuilder- Returns:
- Whether the endDateTime field is set.
-
getEndDateTime
Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format.
string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndDateTimein interfaceBillingSetupOrBuilder- Returns:
- The endDateTime.
-
getEndDateTimeBytes
public com.google.protobuf.ByteString getEndDateTimeBytes()Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format.
string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndDateTimeBytesin interfaceBillingSetupOrBuilder- Returns:
- The bytes for endDateTime.
-
setEndDateTime
Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format.
string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The endDateTime to set.- Returns:
- This builder for chaining.
-
clearEndDateTime
Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format.
string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setEndDateTimeBytes
Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format.
string end_date_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for endDateTime to set.- Returns:
- This builder for chaining.
-
hasEndTimeType
public boolean hasEndTimeType()Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimeTypein interfaceBillingSetupOrBuilder- Returns:
- Whether the endTimeType field is set.
-
getEndTimeTypeValue
public int getEndTimeTypeValue()Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeTypeValuein interfaceBillingSetupOrBuilder- Returns:
- The enum numeric value on the wire for endTimeType.
-
setEndTimeTypeValue
Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for endTimeType to set.- Returns:
- This builder for chaining.
-
getEndTimeType
Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeTypein interfaceBillingSetupOrBuilder- Returns:
- The endTimeType.
-
setEndTimeType
Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The endTimeType to set.- Returns:
- This builder for chaining.
-
clearEndTimeType
Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v18.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final BillingSetup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
mergeUnknownFields
public final BillingSetup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-