Package com.google.cloud.channel.v1
Class CloudIdentityCustomerAccount.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CloudIdentityCustomerAccount.Builder>
com.google.cloud.channel.v1.CloudIdentityCustomerAccount.Builder
- All Implemented Interfaces:
CloudIdentityCustomerAccountOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CloudIdentityCustomerAccount
public static final class CloudIdentityCustomerAccount.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CloudIdentityCustomerAccount.Builder>
implements CloudIdentityCustomerAccountOrBuilder
Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.Protobuf type
google.cloud.channel.v1.CloudIdentityCustomerAccount-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()If existing = true, and is 2-tier customer, the channel partner of the customer.If existing = true, the Cloud Identity ID of the customer.If owned = true, the name of the customer that owns the Cloud Identity account.If existing = true, the type of the customer.Returns true if a Cloud Identity account exists for a specific domain.Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).If existing = true, and is 2-tier customer, the channel partner of the customer.com.google.protobuf.ByteStringIf existing = true, and is 2-tier customer, the channel partner of the customer.If existing = true, the Cloud Identity ID of the customer.com.google.protobuf.ByteStringIf existing = true, the Cloud Identity ID of the customer.If owned = true, the name of the customer that owns the Cloud Identity account.com.google.protobuf.ByteStringIf owned = true, the name of the customer that owns the Cloud Identity account.If existing = true, the type of the customer.intIf existing = true, the type of the customer.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanReturns true if a Cloud Identity account exists for a specific domain.booleangetOwned()Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) If existing = true, and is 2-tier customer, the channel partner of the customer.setChannelPartnerCloudIdentityIdBytes(com.google.protobuf.ByteString value) If existing = true, and is 2-tier customer, the channel partner of the customer.setCustomerCloudIdentityId(String value) If existing = true, the Cloud Identity ID of the customer.setCustomerCloudIdentityIdBytes(com.google.protobuf.ByteString value) If existing = true, the Cloud Identity ID of the customer.setCustomerName(String value) If owned = true, the name of the customer that owns the Cloud Identity account.setCustomerNameBytes(com.google.protobuf.ByteString value) If owned = true, the name of the customer that owns the Cloud Identity account.If existing = true, the type of the customer.setCustomerTypeValue(int value) If existing = true, the type of the customer.setExisting(boolean value) Returns true if a Cloud Identity account exists for a specific domain.setOwned(boolean value) Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).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<CloudIdentityCustomerAccount.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<CloudIdentityCustomerAccount.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<CloudIdentityCustomerAccount.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<CloudIdentityCustomerAccount.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CloudIdentityCustomerAccount.Builder>
-
mergeFrom
public CloudIdentityCustomerAccount.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<CloudIdentityCustomerAccount.Builder>- Throws:
IOException
-
getExisting
public boolean getExisting()Returns true if a Cloud Identity account exists for a specific domain.
bool existing = 1;- Specified by:
getExistingin interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The existing.
-
setExisting
Returns true if a Cloud Identity account exists for a specific domain.
bool existing = 1;- Parameters:
value- The existing to set.- Returns:
- This builder for chaining.
-
clearExisting
Returns true if a Cloud Identity account exists for a specific domain.
bool existing = 1;- Returns:
- This builder for chaining.
-
getOwned
public boolean getOwned()Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).
bool owned = 2;- Specified by:
getOwnedin interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The owned.
-
setOwned
Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).
bool owned = 2;- Parameters:
value- The owned to set.- Returns:
- This builder for chaining.
-
clearOwned
Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).
bool owned = 2;- Returns:
- This builder for chaining.
-
getCustomerName
If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}string customer_name = 3;- Specified by:
getCustomerNamein interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The customerName.
-
getCustomerNameBytes
public com.google.protobuf.ByteString getCustomerNameBytes()If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}string customer_name = 3;- Specified by:
getCustomerNameBytesin interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The bytes for customerName.
-
setCustomerName
If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}string customer_name = 3;- Parameters:
value- The customerName to set.- Returns:
- This builder for chaining.
-
clearCustomerName
If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}string customer_name = 3;- Returns:
- This builder for chaining.
-
setCustomerNameBytes
public CloudIdentityCustomerAccount.Builder setCustomerNameBytes(com.google.protobuf.ByteString value) If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}string customer_name = 3;- Parameters:
value- The bytes for customerName to set.- Returns:
- This builder for chaining.
-
getCustomerCloudIdentityId
If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;- Specified by:
getCustomerCloudIdentityIdin interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The customerCloudIdentityId.
-
getCustomerCloudIdentityIdBytes
public com.google.protobuf.ByteString getCustomerCloudIdentityIdBytes()If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;- Specified by:
getCustomerCloudIdentityIdBytesin interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The bytes for customerCloudIdentityId.
-
setCustomerCloudIdentityId
If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;- Parameters:
value- The customerCloudIdentityId to set.- Returns:
- This builder for chaining.
-
clearCustomerCloudIdentityId
If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;- Returns:
- This builder for chaining.
-
setCustomerCloudIdentityIdBytes
public CloudIdentityCustomerAccount.Builder setCustomerCloudIdentityIdBytes(com.google.protobuf.ByteString value) If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;- Parameters:
value- The bytes for customerCloudIdentityId to set.- Returns:
- This builder for chaining.
-
getCustomerTypeValue
public int getCustomerTypeValue()If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;- Specified by:
getCustomerTypeValuein interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The enum numeric value on the wire for customerType.
-
setCustomerTypeValue
If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;- Parameters:
value- The enum numeric value on the wire for customerType to set.- Returns:
- This builder for chaining.
-
getCustomerType
If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;- Specified by:
getCustomerTypein interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The customerType.
-
setCustomerType
If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;- Parameters:
value- The customerType to set.- Returns:
- This builder for chaining.
-
clearCustomerType
If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;- Returns:
- This builder for chaining.
-
getChannelPartnerCloudIdentityId
If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;- Specified by:
getChannelPartnerCloudIdentityIdin interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The channelPartnerCloudIdentityId.
-
getChannelPartnerCloudIdentityIdBytes
public com.google.protobuf.ByteString getChannelPartnerCloudIdentityIdBytes()If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;- Specified by:
getChannelPartnerCloudIdentityIdBytesin interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The bytes for channelPartnerCloudIdentityId.
-
setChannelPartnerCloudIdentityId
If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;- Parameters:
value- The channelPartnerCloudIdentityId to set.- Returns:
- This builder for chaining.
-
clearChannelPartnerCloudIdentityId
If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;- Returns:
- This builder for chaining.
-
setChannelPartnerCloudIdentityIdBytes
public CloudIdentityCustomerAccount.Builder setChannelPartnerCloudIdentityIdBytes(com.google.protobuf.ByteString value) If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;- Parameters:
value- The bytes for channelPartnerCloudIdentityId to set.- Returns:
- This builder for chaining.
-