Class ChannelPartnerLink (3.58.0)

public final class ChannelPartnerLink extends GeneratedMessageV3 implements ChannelPartnerLinkOrBuilder

Entity representing a link between distributors and their indirect resellers in an n-tier resale channel.

Protobuf type google.cloud.channel.v1.ChannelPartnerLink

Static Fields

public static final int CHANNEL_PARTNER_CLOUD_IDENTITY_INFO_FIELD_NUMBER
Field Value
Type Description
int
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int
public static final int INVITE_LINK_URI_FIELD_NUMBER
Field Value
Type Description
int
public static final int LINK_STATE_FIELD_NUMBER
Field Value
Type Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int
public static final int PUBLIC_ID_FIELD_NUMBER
Field Value
Type Description
int
public static final int RESELLER_CLOUD_IDENTITY_ID_FIELD_NUMBER
Field Value
Type Description
int
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static ChannelPartnerLink getDefaultInstance()
Returns
Type Description
ChannelPartnerLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static ChannelPartnerLink.Builder newBuilder()
Returns
Type Description
ChannelPartnerLink.Builder
public static ChannelPartnerLink.Builder newBuilder(ChannelPartnerLink prototype)
Parameter
Name Description
prototype ChannelPartnerLink
Returns
Type Description
ChannelPartnerLink.Builder
public static ChannelPartnerLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
IOException
public static ChannelPartnerLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
IOException
public static ChannelPartnerLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
IOException
public static ChannelPartnerLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
IOException
public static ChannelPartnerLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
IOException
public static ChannelPartnerLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
IOException
public static ChannelPartnerLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelPartnerLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<ChannelPartnerLink> parser()
Returns
Type Description
Parser<ChannelPartnerLink>

Methods

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public CloudIdentityInfo getChannelPartnerCloudIdentityInfo()

Output only. Cloud Identity info of the channel partner (IR).

.google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudIdentityInfo

The channelPartnerCloudIdentityInfo.

public CloudIdentityInfoOrBuilder getChannelPartnerCloudIdentityInfoOrBuilder()

Output only. Cloud Identity info of the channel partner (IR).

.google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudIdentityInfoOrBuilder
public Timestamp getCreateTime()

Output only. Timestamp of when the channel partner link is created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp of when the channel partner link is created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
public ChannelPartnerLink getDefaultInstanceForType()
Returns
Type Description
ChannelPartnerLink
public String getInviteLinkUri()

Output only. URI of the web page where partner accepts the link invitation.

string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The inviteLinkUri.

public ByteString getInviteLinkUriBytes()

Output only. URI of the web page where partner accepts the link invitation.

string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for inviteLinkUri.

public ChannelPartnerLinkState getLinkState()

Required. State of the channel partner link.

.google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerLinkState

The linkState.

public int getLinkStateValue()

Required. State of the channel partner link.

.google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for linkState.

public String getName()

Output only. Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

public ByteString getNameBytes()

Output only. Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

public Parser<ChannelPartnerLink> getParserForType()
Returns
Type Description
Parser<ChannelPartnerLink>
Overrides
public String getPublicId()

Output only. Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.

string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The publicId.

public ByteString getPublicIdBytes()

Output only. Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.

string public_id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for publicId.

public String getResellerCloudIdentityId()

Required. Cloud Identity ID of the linked reseller.

string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The resellerCloudIdentityId.

public ByteString getResellerCloudIdentityIdBytes()

Required. Cloud Identity ID of the linked reseller.

string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for resellerCloudIdentityId.

public int getSerializedSize()
Returns
Type Description
int
Overrides
public Timestamp getUpdateTime()

Output only. Timestamp of when the channel partner link is updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp of when the channel partner link is updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder
public boolean hasChannelPartnerCloudIdentityInfo()

Output only. Cloud Identity info of the channel partner (IR).

.google.cloud.channel.v1.CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the channelPartnerCloudIdentityInfo field is set.

public boolean hasCreateTime()

Output only. Timestamp of when the channel partner link is created.

.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

public boolean hasUpdateTime()

Output only. Timestamp of when the channel partner link is updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public ChannelPartnerLink.Builder newBuilderForType()
Returns
Type Description
ChannelPartnerLink.Builder
protected ChannelPartnerLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChannelPartnerLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public ChannelPartnerLink.Builder toBuilder()
Returns
Type Description
ChannelPartnerLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException