Class BillingSetup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
- com.google.ads.googleads.v10.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,java.lang.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 typegoogle.ads.googleads.v10.resources.BillingSetup
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<BillingSetup.Builder>
-
clear
public 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
public BillingSetup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BillingSetup build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BillingSetup buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BillingSetup.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
clearField
public BillingSetup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
clearOneof
public BillingSetup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.Builder>
-
mergeFrom
public BillingSetup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BillingSetup.Builder>
-
mergeFrom
public BillingSetup.Builder mergeFrom(BillingSetup other)
-
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 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<BillingSetup.Builder>- Throws:
java.io.IOException
-
getStartTimeCase
public BillingSetup.StartTimeCase getStartTimeCase()
- Specified by:
getStartTimeCasein interfaceBillingSetupOrBuilder
-
clearStartTime
public BillingSetup.Builder clearStartTime()
-
getEndTimeCase
public BillingSetup.EndTimeCase getEndTimeCase()
- Specified by:
getEndTimeCasein interfaceBillingSetupOrBuilder
-
clearEndTime
public BillingSetup.Builder clearEndTime()
-
getResourceName
public java.lang.String 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
public BillingSetup.Builder setResourceName(java.lang.String value)
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
public BillingSetup.Builder 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
public BillingSetup.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
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
public BillingSetup.Builder setId(long value)
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
public BillingSetup.Builder 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.v10.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
public BillingSetup.Builder setStatusValue(int value)
Output only. The status of the billing setup.
.google.ads.googleads.v10.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
public BillingSetupStatusEnum.BillingSetupStatus getStatus()
Output only. The status of the billing setup.
.google.ads.googleads.v10.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceBillingSetupOrBuilder- Returns:
- The status.
-
setStatus
public BillingSetup.Builder setStatus(BillingSetupStatusEnum.BillingSetupStatus value)
Output only. The status of the billing setup.
.google.ads.googleads.v10.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public BillingSetup.Builder clearStatus()
Output only. The status of the billing setup.
.google.ads.googleads.v10.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
public java.lang.String 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
public BillingSetup.Builder setPaymentsAccount(java.lang.String value)
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
public BillingSetup.Builder 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
public BillingSetup.Builder setPaymentsAccountBytes(com.google.protobuf.ByteString value)
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.v10.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasPaymentsAccountInfoin interfaceBillingSetupOrBuilder- Returns:
- Whether the paymentsAccountInfo field is set.
-
getPaymentsAccountInfo
public BillingSetup.PaymentsAccountInfo 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.v10.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPaymentsAccountInfoin interfaceBillingSetupOrBuilder- Returns:
- The paymentsAccountInfo.
-
setPaymentsAccountInfo
public BillingSetup.Builder setPaymentsAccountInfo(BillingSetup.PaymentsAccountInfo value)
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.v10.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.v10.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];
-
mergePaymentsAccountInfo
public BillingSetup.Builder mergePaymentsAccountInfo(BillingSetup.PaymentsAccountInfo value)
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.v10.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];
-
clearPaymentsAccountInfo
public BillingSetup.Builder 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.v10.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];
-
getPaymentsAccountInfoBuilder
public BillingSetup.PaymentsAccountInfo.Builder 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.v10.resources.BillingSetup.PaymentsAccountInfo payments_account_info = 12 [(.google.api.field_behavior) = IMMUTABLE];
-
getPaymentsAccountInfoOrBuilder
public BillingSetup.PaymentsAccountInfoOrBuilder 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.v10.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
public java.lang.String 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
public BillingSetup.Builder setStartDateTime(java.lang.String value)
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
public BillingSetup.Builder 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
public BillingSetup.Builder setStartDateTimeBytes(com.google.protobuf.ByteString value)
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.v10.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.v10.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
public BillingSetup.Builder setStartTimeTypeValue(int value)
Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v10.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
public TimeTypeEnum.TimeType getStartTimeType()
Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getStartTimeTypein interfaceBillingSetupOrBuilder- Returns:
- The startTimeType.
-
setStartTimeType
public BillingSetup.Builder setStartTimeType(TimeTypeEnum.TimeType value)
Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType start_time_type = 10 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The startTimeType to set.- Returns:
- This builder for chaining.
-
clearStartTimeType
public BillingSetup.Builder clearStartTimeType()
Immutable. The start time as a type. Only NOW is allowed.
.google.ads.googleads.v10.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
public java.lang.String 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
public BillingSetup.Builder setEndDateTime(java.lang.String value)
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
public BillingSetup.Builder 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
public BillingSetup.Builder setEndDateTimeBytes(com.google.protobuf.ByteString value)
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.v10.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.v10.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
public BillingSetup.Builder setEndTimeTypeValue(int value)
Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v10.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
public TimeTypeEnum.TimeType getEndTimeType()
Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v10.enums.TimeTypeEnum.TimeType end_time_type = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeTypein interfaceBillingSetupOrBuilder- Returns:
- The endTimeType.
-
setEndTimeType
public BillingSetup.Builder setEndTimeType(TimeTypeEnum.TimeType value)
Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v10.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
public BillingSetup.Builder clearEndTimeType()
Output only. The end time as a type. The only possible value is FOREVER.
.google.ads.googleads.v10.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>
-
-