Class Usage (2.10.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class Usage extends GeneratedMessageV3 implements UsageOrBuilder

Configuration controlling usage of a service.

Protobuf type google.api.Usage

Implements

UsageOrBuilder

Static Fields

PRODUCER_NOTIFICATION_CHANNEL_FIELD_NUMBER

public static final int PRODUCER_NOTIFICATION_CHANNEL_FIELD_NUMBER
Field Value
TypeDescription
int

REQUIREMENTS_FIELD_NUMBER

public static final int REQUIREMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

RULES_FIELD_NUMBER

public static final int RULES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Usage getDefaultInstance()
Returns
TypeDescription
Usage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Usage.Builder newBuilder()
Returns
TypeDescription
Usage.Builder

newBuilder(Usage prototype)

public static Usage.Builder newBuilder(Usage prototype)
Parameter
NameDescription
prototypeUsage
Returns
TypeDescription
Usage.Builder

parseDelimitedFrom(InputStream input)

public static Usage parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Usage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Usage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Usage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Usage parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Usage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Usage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Usage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Usage parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Usage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Usage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Usage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Usage parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Usage
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Usage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Usage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Usage parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Usage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Usage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Usage
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Usage parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Usage
Exceptions
TypeDescription