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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CHANNEL_PARTNER_CLOUD_IDENTITY_INFO_FIELD_NUMBER
public static final int CHANNEL_PARTNER_CLOUD_IDENTITY_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INVITE_LINK_URI_FIELD_NUMBER
public static final int INVITE_LINK_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LINK_STATE_FIELD_NUMBER
public static final int LINK_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PUBLIC_ID_FIELD_NUMBER
public static final int PUBLIC_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESELLER_CLOUD_IDENTITY_ID_FIELD_NUMBER
public static final int RESELLER_CLOUD_IDENTITY_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ChannelPartnerLink getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ChannelPartnerLink.Builder newBuilder()
newBuilder(ChannelPartnerLink prototype)
public static ChannelPartnerLink.Builder newBuilder(ChannelPartnerLink prototype)
public static ChannelPartnerLink parseDelimitedFrom(InputStream input)
public static ChannelPartnerLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ChannelPartnerLink parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChannelPartnerLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ChannelPartnerLink parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChannelPartnerLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChannelPartnerLink parseFrom(CodedInputStream input)
public static ChannelPartnerLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChannelPartnerLink parseFrom(InputStream input)
public static ChannelPartnerLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ChannelPartnerLink parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChannelPartnerLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ChannelPartnerLink> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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];
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];
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 |
Type |
Description |
Timestamp |
The createTime.
|
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];
getDefaultInstanceForType()
public ChannelPartnerLink getDefaultInstanceForType()
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];
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 |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<ChannelPartnerLink> getParserForType()
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 |
Type |
Description |
ByteString |
The bytes for publicId.
|
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 |
Type |
Description |
int |
|
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 |
Type |
Description |
Timestamp |
The updateTime.
|
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];
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ChannelPartnerLink.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChannelPartnerLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ChannelPartnerLink.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides