Send feedback
Class UserCountBillingInfo.Builder (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.26.0 (latest)
0.24.0
0.21.0
0.20.0
0.18.0
0.16.0
0.15.0
0.14.0
0.13.0
0.11.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.3.0
0.1.0
public static final class UserCountBillingInfo . Builder extends GeneratedMessageV3 . Builder<UserCountBillingInfo . Builder > implements UserCountBillingInfoOrBuilder
This approach uses total unique user count for billing.
Protobuf type google.cloud.licensemanager.v1.UserCountBillingInfo
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 UserCountBillingInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public UserCountBillingInfo build ()
buildPartial()
public UserCountBillingInfo buildPartial ()
clear()
public UserCountBillingInfo . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UserCountBillingInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UserCountBillingInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearUserCount()
public UserCountBillingInfo . Builder clearUserCount ()
Required. Number of users to bill for.
int32 user_count = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public UserCountBillingInfo . Builder clone ()
Overrides
getDefaultInstanceForType()
public UserCountBillingInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getUserCount()
public int getUserCount ()
Required. Number of users to bill for.
int32 user_count = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The userCount.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(UserCountBillingInfo other)
public UserCountBillingInfo . Builder mergeFrom ( UserCountBillingInfo other )
public UserCountBillingInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public UserCountBillingInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserCountBillingInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public UserCountBillingInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserCountBillingInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserCountBillingInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setUserCount(int value)
public UserCountBillingInfo . Builder setUserCount ( int value )
Required. Number of users to bill for.
int32 user_count = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
int The userCount to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-18 UTC."],[],[]]