Package com.google.cloud.channel.v1
Class ChannelPartnerLink.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ChannelPartnerLink.Builder>
com.google.cloud.channel.v1.ChannelPartnerLink.Builder
- All Implemented Interfaces:
ChannelPartnerLinkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ChannelPartnerLink
public static final class ChannelPartnerLink.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ChannelPartnerLink.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Required.Output only.Output only.Required.Output only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Required.intRequired.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(ChannelPartnerLink other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.Output only.setChannelPartnerCloudIdentityInfo(CloudIdentityInfo.Builder builderForValue) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setInviteLinkUri(String value) Output only.setInviteLinkUriBytes(com.google.protobuf.ByteString value) Output only.Required.setLinkStateValue(int value) Required.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPublicId(String value) Output only.setPublicIdBytes(com.google.protobuf.ByteString value) Output only.setResellerCloudIdentityId(String value) Required.setResellerCloudIdentityIdBytes(com.google.protobuf.ByteString value) Required.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ChannelPartnerLink.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ChannelPartnerLink.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ChannelPartnerLink.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChannelPartnerLink.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ChannelPartnerLink.Builder>
-
mergeFrom
public ChannelPartnerLink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChannelPartnerLink.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceChannelPartnerLinkOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceChannelPartnerLinkOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getResellerCloudIdentityId
Required. Cloud Identity ID of the linked reseller.
string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResellerCloudIdentityIdin interfaceChannelPartnerLinkOrBuilder- Returns:
- The resellerCloudIdentityId.
-
getResellerCloudIdentityIdBytes
public com.google.protobuf.ByteString getResellerCloudIdentityIdBytes()Required. Cloud Identity ID of the linked reseller.
string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResellerCloudIdentityIdBytesin interfaceChannelPartnerLinkOrBuilder- Returns:
- The bytes for resellerCloudIdentityId.
-
setResellerCloudIdentityId
Required. Cloud Identity ID of the linked reseller.
string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The resellerCloudIdentityId to set.- Returns:
- This builder for chaining.
-
clearResellerCloudIdentityId
Required. Cloud Identity ID of the linked reseller.
string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setResellerCloudIdentityIdBytes
public ChannelPartnerLink.Builder setResellerCloudIdentityIdBytes(com.google.protobuf.ByteString value) Required. Cloud Identity ID of the linked reseller.
string reseller_cloud_identity_id = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for resellerCloudIdentityId to set.- Returns:
- This builder for chaining.
-
getLinkStateValue
public int getLinkStateValue()Required. State of the channel partner link.
.google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLinkStateValuein interfaceChannelPartnerLinkOrBuilder- Returns:
- The enum numeric value on the wire for linkState.
-
setLinkStateValue
Required. State of the channel partner link.
.google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for linkState to set.- Returns:
- This builder for chaining.
-
getLinkState
Required. State of the channel partner link.
.google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLinkStatein interfaceChannelPartnerLinkOrBuilder- Returns:
- The linkState.
-
setLinkState
Required. State of the channel partner link.
.google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The linkState to set.- Returns:
- This builder for chaining.
-
clearLinkState
Required. State of the channel partner link.
.google.cloud.channel.v1.ChannelPartnerLinkState link_state = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
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];- Specified by:
getInviteLinkUriin interfaceChannelPartnerLinkOrBuilder- Returns:
- The inviteLinkUri.
-
getInviteLinkUriBytes
public com.google.protobuf.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];- Specified by:
getInviteLinkUriBytesin interfaceChannelPartnerLinkOrBuilder- Returns:
- The bytes for inviteLinkUri.
-
setInviteLinkUri
Output only. URI of the web page where partner accepts the link invitation.
string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The inviteLinkUri to set.- Returns:
- This builder for chaining.
-
clearInviteLinkUri
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:
- This builder for chaining.
-
setInviteLinkUriBytes
Output only. URI of the web page where partner accepts the link invitation.
string invite_link_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for inviteLinkUri to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasCreateTimein interfaceChannelPartnerLinkOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.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];- Specified by:
getCreateTimein interfaceChannelPartnerLinkOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Timestamp of when the channel partner link is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public ChannelPartnerLink.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Timestamp of when the channel partner link is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Timestamp of when the channel partner link is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Timestamp of when the channel partner link is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp of when the channel partner link is created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getCreateTimeOrBuilderin interfaceChannelPartnerLinkOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceChannelPartnerLinkOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.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];- Specified by:
getUpdateTimein interfaceChannelPartnerLinkOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Timestamp of when the channel partner link is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public ChannelPartnerLink.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Timestamp of when the channel partner link is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Timestamp of when the channel partner link is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Timestamp of when the channel partner link is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Timestamp of when the channel partner link is updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getUpdateTimeOrBuilderin interfaceChannelPartnerLinkOrBuilder
-
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];- Specified by:
getPublicIdin interfaceChannelPartnerLinkOrBuilder- Returns:
- The publicId.
-
getPublicIdBytes
public com.google.protobuf.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];- Specified by:
getPublicIdBytesin interfaceChannelPartnerLinkOrBuilder- Returns:
- The bytes for publicId.
-
setPublicId
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];- Parameters:
value- The publicId to set.- Returns:
- This builder for chaining.
-
clearPublicId
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:
- This builder for chaining.
-
setPublicIdBytes
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];- Parameters:
value- The bytes for publicId to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasChannelPartnerCloudIdentityInfoin interfaceChannelPartnerLinkOrBuilder- Returns:
- Whether the channelPartnerCloudIdentityInfo field is set.
-
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];- Specified by:
getChannelPartnerCloudIdentityInfoin interfaceChannelPartnerLinkOrBuilder- Returns:
- The channelPartnerCloudIdentityInfo.
-
setChannelPartnerCloudIdentityInfo
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]; -
setChannelPartnerCloudIdentityInfo
public ChannelPartnerLink.Builder setChannelPartnerCloudIdentityInfo(CloudIdentityInfo.Builder builderForValue) 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]; -
mergeChannelPartnerCloudIdentityInfo
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]; -
clearChannelPartnerCloudIdentityInfo
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]; -
getChannelPartnerCloudIdentityInfoBuilder
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
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];- Specified by:
getChannelPartnerCloudIdentityInfoOrBuilderin interfaceChannelPartnerLinkOrBuilder
-