Class RepricingConfig.EntitlementGranularity (3.25.0)

public static final class RepricingConfig.EntitlementGranularity extends GeneratedMessageV3 implements RepricingConfig.EntitlementGranularityOrBuilder

Applies the repricing configuration at the entitlement level.

Protobuf type google.cloud.channel.v1.RepricingConfig.EntitlementGranularity

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RepricingConfig.EntitlementGranularity

Static Fields

ENTITLEMENT_FIELD_NUMBER

public static final int ENTITLEMENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RepricingConfig.EntitlementGranularity getDefaultInstance()
Returns
TypeDescription
RepricingConfig.EntitlementGranularity

getDescriptor()

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

newBuilder()

public static RepricingConfig.EntitlementGranularity.Builder newBuilder()
Returns
TypeDescription
RepricingConfig.EntitlementGranularity.Builder

newBuilder(RepricingConfig.EntitlementGranularity prototype)

public static RepricingConfig.EntitlementGranularity.Builder newBuilder(RepricingConfig.EntitlementGranularity prototype)
Parameter
NameDescription
prototypeRepricingConfig.EntitlementGranularity
Returns
TypeDescription
RepricingConfig.EntitlementGranularity.Builder

parseDelimitedFrom(InputStream input)

public static RepricingConfig.EntitlementGranularity parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepricingConfig.EntitlementGranularity
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RepricingConfig.EntitlementGranularity parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RepricingConfig.EntitlementGranularity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RepricingConfig.EntitlementGranularity parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RepricingConfig.EntitlementGranularity
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RepricingConfig.EntitlementGranularity parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepricingConfig.EntitlementGranularity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RepricingConfig.EntitlementGranularity parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RepricingConfig.EntitlementGranularity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RepricingConfig.EntitlementGranularity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepricingConfig.EntitlementGranularity
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RepricingConfig.EntitlementGranularity> parser()
Returns
TypeDescription
Parser<EntitlementGranularity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RepricingConfig.EntitlementGranularity getDefaultInstanceForType()
Returns
TypeDescription
RepricingConfig.EntitlementGranularity

getEntitlement()

public String getEntitlement()

Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

string entitlement = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The entitlement.

getEntitlementBytes()

public ByteString getEntitlementBytes()

Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

string entitlement = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for entitlement.

getParserForType()

public Parser<RepricingConfig.EntitlementGranularity> getParserForType()
Returns
TypeDescription
Parser<EntitlementGranularity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RepricingConfig.EntitlementGranularity.Builder newBuilderForType()
Returns
TypeDescription
RepricingConfig.EntitlementGranularity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RepricingConfig.EntitlementGranularity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RepricingConfig.EntitlementGranularity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RepricingConfig.EntitlementGranularity.Builder toBuilder()
Returns
TypeDescription
RepricingConfig.EntitlementGranularity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException