public final class LicenseConfigUsageStats extends GeneratedMessage implements LicenseConfigUsageStatsOrBuilderStats about users' licenses.
Protobuf type google.cloud.discoveryengine.v1beta.LicenseConfigUsageStats
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > LicenseConfigUsageStatsImplements
LicenseConfigUsageStatsOrBuilderStatic Fields
LICENSE_CONFIG_FIELD_NUMBER
public static final int LICENSE_CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
USED_LICENSE_COUNT_FIELD_NUMBER
public static final int USED_LICENSE_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static LicenseConfigUsageStats getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static LicenseConfigUsageStats.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats.Builder |
|
newBuilder(LicenseConfigUsageStats prototype)
public static LicenseConfigUsageStats.Builder newBuilder(LicenseConfigUsageStats prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
LicenseConfigUsageStats |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats.Builder |
|
parseDelimitedFrom(InputStream input)
public static LicenseConfigUsageStats parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LicenseConfigUsageStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static LicenseConfigUsageStats parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LicenseConfigUsageStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static LicenseConfigUsageStats parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LicenseConfigUsageStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static LicenseConfigUsageStats parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LicenseConfigUsageStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static LicenseConfigUsageStats parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LicenseConfigUsageStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static LicenseConfigUsageStats parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LicenseConfigUsageStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<LicenseConfigUsageStats> parser()| Returns | |
|---|---|
| Type | Description |
Parser<LicenseConfigUsageStats> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public LicenseConfigUsageStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats |
|
getLicenseConfig()
public String getLicenseConfig()Required. The LicenseConfig name.
string license_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The licenseConfig. |
getLicenseConfigBytes()
public ByteString getLicenseConfigBytes()Required. The LicenseConfig name.
string license_config = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for licenseConfig. |
getParserForType()
public Parser<LicenseConfigUsageStats> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<LicenseConfigUsageStats> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getUsedLicenseCount()
public long getUsedLicenseCount()Required. The number of licenses used.
int64 used_license_count = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The usedLicenseCount. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public LicenseConfigUsageStats.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected LicenseConfigUsageStats.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats.Builder |
|
toBuilder()
public LicenseConfigUsageStats.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
LicenseConfigUsageStats.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|