Send feedback
Class Usage (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class Usage extends GeneratedMessageV3 implements UsageOrBuilder
Message describing total counts of users who accessed a VM.
Protobuf type google.cloud.licensemanager.v1.Usage
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
LIMA_INSTANCE_FIELD_NUMBER
public static final int LIMA_INSTANCE_FIELD_NUMBER
Field Value
Type
Description
int
USERS_FIELD_NUMBER
public static final int USERS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Usage getDefaultInstance ()
Returns
Type
Description
Usage
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Usage . Builder newBuilder ()
newBuilder(Usage prototype)
public static Usage . Builder newBuilder ( Usage prototype )
Parameter
Name
Description
prototype
Usage
public static Usage parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Usage
public static Usage parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Usage
parseFrom(byte[] data)
public static Usage parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Usage
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Usage parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Usage
parseFrom(ByteString data)
public static Usage parseFrom ( ByteString data )
Returns
Type
Description
Usage
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Usage parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Usage
public static Usage parseFrom ( CodedInputStream input )
Returns
Type
Description
Usage
public static Usage parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Usage
public static Usage parseFrom ( InputStream input )
Returns
Type
Description
Usage
public static Usage parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Usage
parseFrom(ByteBuffer data)
public static Usage parseFrom ( ByteBuffer data )
Returns
Type
Description
Usage
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Usage parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Usage
parser()
public static Parser<Usage> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Usage getDefaultInstanceForType ()
Returns
Type
Description
Usage
getLimaInstance()
public String getLimaInstance ()
LiMa Instance resource name, i.e.
projects/{project}/locations/{location}/instances/{instance}
string lima_instance = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The limaInstance.
getLimaInstanceBytes()
public ByteString getLimaInstanceBytes ()
LiMa Instance resource name, i.e.
projects/{project}/locations/{location}/instances/{instance}
string lima_instance = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for limaInstance.
getParserForType()
public Parser<Usage> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUsers()
Number of unique users accessing the VM.
int32 users = 2;
Returns
Type
Description
int
The users.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Usage . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Usage . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Usage . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
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 2025-08-01 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 2025-08-01 UTC."],[],[]]