Class RepricingConfig.ChannelPartnerGranularity (3.15.0)

public static final class RepricingConfig.ChannelPartnerGranularity extends GeneratedMessageV3 implements RepricingConfig.ChannelPartnerGranularityOrBuilder

Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object.

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

Inheritance

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

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(RepricingConfig.ChannelPartnerGranularity prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.ChannelPartnerGranularity.Builder newBuilderForType()
Returns
TypeDescription
RepricingConfig.ChannelPartnerGranularity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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