Class CreateChannelPartnerRepricingConfigRequest (3.7.6)

public final class CreateChannelPartnerRepricingConfigRequest extends GeneratedMessageV3 implements CreateChannelPartnerRepricingConfigRequestOrBuilder

Request message for CloudChannelService.CreateChannelPartnerRepricingConfig.

Protobuf type google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateChannelPartnerRepricingConfigRequest

Static Fields

CHANNEL_PARTNER_REPRICING_CONFIG_FIELD_NUMBER

public static final int CHANNEL_PARTNER_REPRICING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateChannelPartnerRepricingConfigRequest getDefaultInstance()
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateChannelPartnerRepricingConfigRequest prototype)

public static CreateChannelPartnerRepricingConfigRequest.Builder newBuilder(CreateChannelPartnerRepricingConfigRequest prototype)
Parameter
NameDescription
prototypeCreateChannelPartnerRepricingConfigRequest
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<CreateChannelPartnerRepricingConfigRequest> parser()
Returns
TypeDescription
Parser<CreateChannelPartnerRepricingConfigRequest>

Methods

equals(Object obj)

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

getChannelPartnerRepricingConfig()

public ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ChannelPartnerRepricingConfig

The channelPartnerRepricingConfig.

getChannelPartnerRepricingConfigOrBuilder()

public ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ChannelPartnerRepricingConfigOrBuilder

getDefaultInstanceForType()

public CreateChannelPartnerRepricingConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest

getParent()

public String getParent()

Required. The resource name of the ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateChannelPartnerRepricingConfigRequest> getParserForType()
Returns
TypeDescription
Parser<CreateChannelPartnerRepricingConfigRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasChannelPartnerRepricingConfig()

public boolean hasChannelPartnerRepricingConfig()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the channelPartnerRepricingConfig field is set.

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 CreateChannelPartnerRepricingConfigRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CreateChannelPartnerRepricingConfigRequest.Builder toBuilder()
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest.Builder

writeTo(CodedOutputStream output)

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