Class ChannelPartnerLink (3.45.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
TypeDescription
int
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int INVITE_LINK_URI_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int LINK_STATE_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int PUBLIC_ID_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int RESELLER_CLOUD_IDENTITY_ID_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

public static ChannelPartnerLink getDefaultInstance()
Returns
TypeDescription
ChannelPartnerLink
public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor
public static ChannelPartnerLink.Builder newBuilder()
Returns
TypeDescription
ChannelPartnerLink.Builder
public static ChannelPartnerLink.Builder newBuilder(ChannelPartnerLink prototype)
Parameter
NameDescription
prototypeChannelPartnerLink
Returns
TypeDescription
ChannelPartnerLink.Builder
public static ChannelPartnerLink parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
IOException
public static ChannelPartnerLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
IOException
public static ChannelPartnerLink parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
IOException
public static ChannelPartnerLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
IOException
public static ChannelPartnerLink parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
IOException
public static ChannelPartnerLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
IOException
public static ChannelPartnerLink parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static ChannelPartnerLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ChannelPartnerLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static Parser<ChannelPartnerLink> parser()
Returns
TypeDescription
Parser<ChannelPartnerLink>

Methods

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder
public ChannelPartnerLink getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

public Parser<ChannelPartnerLink> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resellerCloudIdentityId.

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.

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