Class UserCountBillingInfo.Builder (0.16.0)

public static final class UserCountBillingInfo.Builder extends GeneratedMessage.Builder<UserCountBillingInfo.Builder> implements UserCountBillingInfoOrBuilder

This approach uses total unique user count for billing.

Protobuf type google.cloud.licensemanager.v1.UserCountBillingInfo

Static Methods

getDescriptor()

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

Methods

build()

public UserCountBillingInfo build()
Returns
Type Description
UserCountBillingInfo

buildPartial()

public UserCountBillingInfo buildPartial()
Returns
Type Description
UserCountBillingInfo

clear()

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

clearUserCount()

public UserCountBillingInfo.Builder clearUserCount()

Required. Number of users to bill for.

int32 user_count = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCountBillingInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public UserCountBillingInfo getDefaultInstanceForType()
Returns
Type Description
UserCountBillingInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UserCountBillingInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UserCountBillingInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UserCountBillingInfo.Builder
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.

Returns
Type Description
UserCountBillingInfo.Builder

This builder for chaining.