Class CreateChannelPartnerLinkRequest (3.26.0)

public final class CreateChannelPartnerLinkRequest extends GeneratedMessageV3 implements CreateChannelPartnerLinkRequestOrBuilder

Request message for CloudChannelService.CreateChannelPartnerLink

Protobuf type google.cloud.channel.v1.CreateChannelPartnerLinkRequest

Inheritance

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

Static Fields

public static final int CHANNEL_PARTNER_LINK_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 CreateChannelPartnerLinkRequest getDefaultInstance()
Returns
TypeDescription
CreateChannelPartnerLinkRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateChannelPartnerLinkRequest prototype)

public static CreateChannelPartnerLinkRequest.Builder newBuilder(CreateChannelPartnerLinkRequest prototype)
Parameter
NameDescription
prototypeCreateChannelPartnerLinkRequest
Returns
TypeDescription
CreateChannelPartnerLinkRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ChannelPartnerLink

The channelPartnerLink.

getChannelPartnerLinkOrBuilder()

public ChannelPartnerLinkOrBuilder getChannelPartnerLinkOrBuilder()

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ChannelPartnerLinkOrBuilder

getDefaultInstanceForType()

public CreateChannelPartnerLinkRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateChannelPartnerLinkRequest

getParent()

public String getParent()

Required. Create a channel partner link for the provided reseller account's resource name. Parent uses the format: accounts/{account_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Create a channel partner link for the provided reseller account's resource name. Parent uses the format: accounts/{account_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides
public boolean hasChannelPartnerLink()

Required. The channel partner link to create. Either channel_partner_link.reseller_cloud_identity_id or domain can be used to create a link.

.google.cloud.channel.v1.ChannelPartnerLink channel_partner_link = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the channelPartnerLink 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 CreateChannelPartnerLinkRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateChannelPartnerLinkRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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