Class BillingInfo.Builder (0.1.0)

public static final class BillingInfo.Builder extends GeneratedMessageV3.Builder<BillingInfo.Builder> implements BillingInfoOrBuilder

Billing Information.

Protobuf type google.cloud.licensemanager.v1.BillingInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BillingInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BillingInfo.Builder
Overrides

build()

public BillingInfo build()
Returns
Type Description
BillingInfo

buildPartial()

public BillingInfo buildPartial()
Returns
Type Description
BillingInfo

clear()

public BillingInfo.Builder clear()
Returns
Type Description
BillingInfo.Builder
Overrides

clearCurrentBillingInfo()

public BillingInfo.Builder clearCurrentBillingInfo()
Returns
Type Description
BillingInfo.Builder

clearEndTime()

public BillingInfo.Builder clearEndTime()

Output only. When the billing ends.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BillingInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public BillingInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BillingInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BillingInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BillingInfo.Builder
Overrides

clearStartTime()

public BillingInfo.Builder clearStartTime()

Output only. When the billing starts.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BillingInfo.Builder

clearUserCountBilling()

public BillingInfo.Builder clearUserCountBilling()

Required. This type of billing uses user count for computing total charge.

.google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BillingInfo.Builder

clone()

public BillingInfo.Builder clone()
Returns
Type Description
BillingInfo.Builder
Overrides

getCurrentBillingInfoCase()

public BillingInfo.CurrentBillingInfoCase getCurrentBillingInfoCase()
Returns
Type Description
BillingInfo.CurrentBillingInfoCase

getDefaultInstanceForType()

public BillingInfo getDefaultInstanceForType()
Returns
Type Description
BillingInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. When the billing ends.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. When the billing ends.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. When the billing ends.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getStartTime()

public Timestamp getStartTime()

Output only. When the billing starts.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. When the billing starts.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. When the billing starts.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getUserCountBilling()

public UserCountBillingInfo getUserCountBilling()

Required. This type of billing uses user count for computing total charge.

.google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCountBillingInfo

The userCountBilling.

getUserCountBillingBuilder()

public UserCountBillingInfo.Builder getUserCountBillingBuilder()

Required. This type of billing uses user count for computing total charge.

.google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCountBillingInfo.Builder

getUserCountBillingOrBuilder()

public UserCountBillingInfoOrBuilder getUserCountBillingOrBuilder()

Required. This type of billing uses user count for computing total charge.

.google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCountBillingInfoOrBuilder

hasEndTime()

public boolean hasEndTime()

Output only. When the billing ends.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. When the billing starts.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

hasUserCountBilling()

public boolean hasUserCountBilling()

Required. This type of billing uses user count for computing total charge.

.google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the userCountBilling field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public BillingInfo.Builder mergeEndTime(Timestamp value)

Output only. When the billing ends.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BillingInfo.Builder

mergeFrom(BillingInfo other)

public BillingInfo.Builder mergeFrom(BillingInfo other)
Parameter
Name Description
other BillingInfo
Returns
Type Description
BillingInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BillingInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BillingInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BillingInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BillingInfo.Builder
Overrides

mergeStartTime(Timestamp value)

public BillingInfo.Builder mergeStartTime(Timestamp value)

Output only. When the billing starts.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BillingInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BillingInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BillingInfo.Builder
Overrides

mergeUserCountBilling(UserCountBillingInfo value)

public BillingInfo.Builder mergeUserCountBilling(UserCountBillingInfo value)

Required. This type of billing uses user count for computing total charge.

.google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserCountBillingInfo
Returns
Type Description
BillingInfo.Builder

setEndTime(Timestamp value)

public BillingInfo.Builder setEndTime(Timestamp value)

Output only. When the billing ends.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BillingInfo.Builder

setEndTime(Timestamp.Builder builderForValue)

public BillingInfo.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. When the billing ends.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BillingInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BillingInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BillingInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BillingInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BillingInfo.Builder
Overrides

setStartTime(Timestamp value)

public BillingInfo.Builder setStartTime(Timestamp value)

Output only. When the billing starts.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
BillingInfo.Builder

setStartTime(Timestamp.Builder builderForValue)

public BillingInfo.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. When the billing starts.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BillingInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BillingInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BillingInfo.Builder
Overrides

setUserCountBilling(UserCountBillingInfo value)

public BillingInfo.Builder setUserCountBilling(UserCountBillingInfo value)

Required. This type of billing uses user count for computing total charge.

.google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value UserCountBillingInfo
Returns
Type Description
BillingInfo.Builder

setUserCountBilling(UserCountBillingInfo.Builder builderForValue)

public BillingInfo.Builder setUserCountBilling(UserCountBillingInfo.Builder builderForValue)

Required. This type of billing uses user count for computing total charge.

.google.cloud.licensemanager.v1.UserCountBillingInfo user_count_billing = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue UserCountBillingInfo.Builder
Returns
Type Description
BillingInfo.Builder