Package com.google.cloud.channel.v1
Class BillingAccount.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
- com.google.cloud.channel.v1.BillingAccount.Builder
-
- All Implemented Interfaces:
BillingAccountOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- BillingAccount
public static final class BillingAccount.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder> implements BillingAccountOrBuilder
Represents a billing account.
Protobuf typegoogle.cloud.channel.v1.BillingAccount
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BillingAccount.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BillingAccount
build()
BillingAccount
buildPartial()
BillingAccount.Builder
clear()
BillingAccount.Builder
clearCreateTime()
Output only.BillingAccount.Builder
clearCurrencyCode()
Output only.BillingAccount.Builder
clearDisplayName()
Display name of the billing account.BillingAccount.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BillingAccount.Builder
clearName()
Output only.BillingAccount.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BillingAccount.Builder
clearRegionCode()
Output only.BillingAccount.Builder
clone()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getCurrencyCode()
Output only.com.google.protobuf.ByteString
getCurrencyCodeBytes()
Output only.BillingAccount
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Display name of the billing account.com.google.protobuf.ByteString
getDisplayNameBytes()
Display name of the billing account.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getRegionCode()
Output only.com.google.protobuf.ByteString
getRegionCodeBytes()
Output only.boolean
hasCreateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BillingAccount.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.BillingAccount.Builder
mergeFrom(BillingAccount other)
BillingAccount.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BillingAccount.Builder
mergeFrom(com.google.protobuf.Message other)
BillingAccount.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BillingAccount.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.BillingAccount.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.BillingAccount.Builder
setCurrencyCode(String value)
Output only.BillingAccount.Builder
setCurrencyCodeBytes(com.google.protobuf.ByteString value)
Output only.BillingAccount.Builder
setDisplayName(String value)
Display name of the billing account.BillingAccount.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name of the billing account.BillingAccount.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BillingAccount.Builder
setName(String value)
Output only.BillingAccount.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.BillingAccount.Builder
setRegionCode(String value)
Output only.BillingAccount.Builder
setRegionCodeBytes(com.google.protobuf.ByteString value)
Output only.BillingAccount.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BillingAccount.Builder
setUnknownFields(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, internalGetMutableMapField, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
clear
public BillingAccount.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
getDefaultInstanceForType
public BillingAccount getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BillingAccount build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BillingAccount buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BillingAccount.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
setField
public BillingAccount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
clearField
public BillingAccount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
clearOneof
public BillingAccount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
setRepeatedField
public BillingAccount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
addRepeatedField
public BillingAccount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
mergeFrom
public BillingAccount.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BillingAccount.Builder>
-
mergeFrom
public BillingAccount.Builder mergeFrom(BillingAccount other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
mergeFrom
public BillingAccount.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BillingAccount.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. Resource name of the billing account. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceBillingAccountOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the billing account. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceBillingAccountOrBuilder
- Returns:
- The bytes for name.
-
setName
public BillingAccount.Builder setName(String value)
Output only. Resource name of the billing account. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public BillingAccount.Builder clearName()
Output only. Resource name of the billing account. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public BillingAccount.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the billing account. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
Display name of the billing account.
string display_name = 2;
- Specified by:
getDisplayName
in interfaceBillingAccountOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Display name of the billing account.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in interfaceBillingAccountOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public BillingAccount.Builder setDisplayName(String value)
Display name of the billing account.
string display_name = 2;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public BillingAccount.Builder clearDisplayName()
Display name of the billing account.
string display_name = 2;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public BillingAccount.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name of the billing account.
string display_name = 2;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time when this billing account was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceBillingAccountOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when this billing account was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceBillingAccountOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public BillingAccount.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when this billing account was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public BillingAccount.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when this billing account was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public BillingAccount.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when this billing account was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public BillingAccount.Builder clearCreateTime()
Output only. The time when this billing account was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when this billing account was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when this billing account was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceBillingAccountOrBuilder
-
getCurrencyCode
public String getCurrencyCode()
Output only. The 3-letter currency code defined in ISO 4217.
string currency_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCurrencyCode
in interfaceBillingAccountOrBuilder
- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()
Output only. The 3-letter currency code defined in ISO 4217.
string currency_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCurrencyCodeBytes
in interfaceBillingAccountOrBuilder
- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
public BillingAccount.Builder setCurrencyCode(String value)
Output only. The 3-letter currency code defined in ISO 4217.
string currency_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The currencyCode to set.- Returns:
- This builder for chaining.
-
clearCurrencyCode
public BillingAccount.Builder clearCurrencyCode()
Output only. The 3-letter currency code defined in ISO 4217.
string currency_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setCurrencyCodeBytes
public BillingAccount.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
Output only. The 3-letter currency code defined in ISO 4217.
string currency_code = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
getRegionCode
public String getRegionCode()
Output only. The CLDR region code.
string region_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRegionCode
in interfaceBillingAccountOrBuilder
- Returns:
- The regionCode.
-
getRegionCodeBytes
public com.google.protobuf.ByteString getRegionCodeBytes()
Output only. The CLDR region code.
string region_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRegionCodeBytes
in interfaceBillingAccountOrBuilder
- Returns:
- The bytes for regionCode.
-
setRegionCode
public BillingAccount.Builder setRegionCode(String value)
Output only. The CLDR region code.
string region_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The regionCode to set.- Returns:
- This builder for chaining.
-
clearRegionCode
public BillingAccount.Builder clearRegionCode()
Output only. The CLDR region code.
string region_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setRegionCodeBytes
public BillingAccount.Builder setRegionCodeBytes(com.google.protobuf.ByteString value)
Output only. The CLDR region code.
string region_code = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for regionCode to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BillingAccount.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
mergeUnknownFields
public final BillingAccount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BillingAccount.Builder>
-
-