public static final class BillingInfo.Builder extends GeneratedMessageV3.Builder<BillingInfo.Builder> implements BillingInfoOrBuilder
Billing Information.
Protobuf type google.cloud.licensemanager.v1.BillingInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BillingInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BillingInfo build()
buildPartial()
public BillingInfo buildPartial()
clear()
public BillingInfo.Builder clear()
Overrides
clearCurrentBillingInfo()
public BillingInfo.Builder clearCurrentBillingInfo()
clearEndTime()
public BillingInfo.Builder clearEndTime()
Output only. When the billing ends.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public BillingInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BillingInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStartTime()
public BillingInfo.Builder clearStartTime()
Output only. When the billing starts.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
clone()
public BillingInfo.Builder clone()
Overrides
getCurrentBillingInfoCase()
public BillingInfo.CurrentBillingInfoCase getCurrentBillingInfoCase()
getDefaultInstanceForType()
public BillingInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. When the billing ends.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. When the billing starts.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(BillingInfo other)
public BillingInfo.Builder mergeFrom(BillingInfo other)
public BillingInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BillingInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BillingInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public BillingInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BillingInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BillingInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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];