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
CHANNEL_PARTNER_CLOUD_IDENTITY_INFO_FIELD_NUMBER
public static final int CHANNEL_PARTNER_CLOUD_IDENTITY_INFO_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
INVITE_LINK_URI_FIELD_NUMBER
public static final int INVITE_LINK_URI_FIELD_NUMBER
Field Value
LINK_STATE_FIELD_NUMBER
public static final int LINK_STATE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PUBLIC_ID_FIELD_NUMBER
public static final int PUBLIC_ID_FIELD_NUMBER
Field Value
RESELLER_CLOUD_IDENTITY_ID_FIELD_NUMBER
public static final int RESELLER_CLOUD_IDENTITY_ID_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ChannelPartnerLink getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ChannelPartnerLink.Builder newBuilder()
Returns
newBuilder(ChannelPartnerLink prototype)
public static ChannelPartnerLink.Builder newBuilder(ChannelPartnerLink prototype)
Parameter
Returns
public static ChannelPartnerLink parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ChannelPartnerLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ChannelPartnerLink parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChannelPartnerLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ChannelPartnerLink parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChannelPartnerLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ChannelPartnerLink parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ChannelPartnerLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ChannelPartnerLink parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ChannelPartnerLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ChannelPartnerLink parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChannelPartnerLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ChannelPartnerLink> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getChannelPartnerCloudIdentityInfo()
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
getChannelPartnerCloudIdentityInfoOrBuilder()
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
getCreateTime()
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
getCreateTimeOrBuilder()
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
getDefaultInstanceForType()
public ChannelPartnerLink getDefaultInstanceForType()
Returns
getInviteLinkUri()
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.
|
getInviteLinkUriBytes()
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.
|
getLinkState()
public ChannelPartnerLinkState getLinkState()
Required. State of the channel partner link.
.google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getLinkStateValue()
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.
|
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.
|
getNameBytes()
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
getParserForType()
public Parser<ChannelPartnerLink> getParserForType()
Returns
Overrides
getPublicId()
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.
|
getPublicIdBytes()
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
getResellerCloudIdentityId()
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.
|
getResellerCloudIdentityIdBytes()
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.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
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
getUpdateTimeOrBuilder()
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
hasChannelPartnerCloudIdentityInfo()
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.
|
hasCreateTime()
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.
|
hasUpdateTime()
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ChannelPartnerLink.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChannelPartnerLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ChannelPartnerLink.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions