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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder> implements CloudIdentityCustomerAccountOrBuilder
Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.
Protobuf typegoogle.cloud.channel.v1.CloudIdentityCustomerAccount
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudIdentityCustomerAccount.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CloudIdentityCustomerAccountbuild()CloudIdentityCustomerAccountbuildPartial()CloudIdentityCustomerAccount.Builderclear()CloudIdentityCustomerAccount.BuilderclearCustomerCloudIdentityId()If existing = true, the Cloud Identity ID of the customer.CloudIdentityCustomerAccount.BuilderclearCustomerName()If owned = true, the name of the customer that owns the Cloud Identity account.CloudIdentityCustomerAccount.BuilderclearExisting()Returns true if a Cloud Identity account exists for a specific domain.CloudIdentityCustomerAccount.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CloudIdentityCustomerAccount.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CloudIdentityCustomerAccount.BuilderclearOwned()Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.CloudIdentityCustomerAccount.Builderclone()StringgetCustomerCloudIdentityId()If existing = true, the Cloud Identity ID of the customer.com.google.protobuf.ByteStringgetCustomerCloudIdentityIdBytes()If existing = true, the Cloud Identity ID of the customer.StringgetCustomerName()If owned = true, the name of the customer that owns the Cloud Identity account.com.google.protobuf.ByteStringgetCustomerNameBytes()If owned = true, the name of the customer that owns the Cloud Identity account.CloudIdentityCustomerAccountgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetExisting()Returns 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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CloudIdentityCustomerAccount.BuildermergeFrom(CloudIdentityCustomerAccount other)CloudIdentityCustomerAccount.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CloudIdentityCustomerAccount.BuildermergeFrom(com.google.protobuf.Message other)CloudIdentityCustomerAccount.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CloudIdentityCustomerAccount.BuildersetCustomerCloudIdentityId(String value)If existing = true, the Cloud Identity ID of the customer.CloudIdentityCustomerAccount.BuildersetCustomerCloudIdentityIdBytes(com.google.protobuf.ByteString value)If existing = true, the Cloud Identity ID of the customer.CloudIdentityCustomerAccount.BuildersetCustomerName(String value)If owned = true, the name of the customer that owns the Cloud Identity account.CloudIdentityCustomerAccount.BuildersetCustomerNameBytes(com.google.protobuf.ByteString value)If owned = true, the name of the customer that owns the Cloud Identity account.CloudIdentityCustomerAccount.BuildersetExisting(boolean value)Returns true if a Cloud Identity account exists for a specific domain.CloudIdentityCustomerAccount.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CloudIdentityCustomerAccount.BuildersetOwned(boolean value)Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.CloudIdentityCustomerAccount.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CloudIdentityCustomerAccount.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
clear
public CloudIdentityCustomerAccount.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
getDefaultInstanceForType
public CloudIdentityCustomerAccount getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CloudIdentityCustomerAccount build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CloudIdentityCustomerAccount buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CloudIdentityCustomerAccount.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
setField
public CloudIdentityCustomerAccount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
clearField
public CloudIdentityCustomerAccount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
clearOneof
public CloudIdentityCustomerAccount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
setRepeatedField
public CloudIdentityCustomerAccount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
addRepeatedField
public CloudIdentityCustomerAccount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
mergeFrom
public CloudIdentityCustomerAccount.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CloudIdentityCustomerAccount.Builder>
-
mergeFrom
public CloudIdentityCustomerAccount.Builder mergeFrom(CloudIdentityCustomerAccount other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public CloudIdentityCustomerAccount.Builder setExisting(boolean value)
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
public CloudIdentityCustomerAccount.Builder 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.
bool owned = 2;- Specified by:
getOwnedin interfaceCloudIdentityCustomerAccountOrBuilder- Returns:
- The owned.
-
setOwned
public CloudIdentityCustomerAccount.Builder setOwned(boolean value)
Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.
bool owned = 2;- Parameters:
value- The owned to set.- Returns:
- This builder for chaining.
-
clearOwned
public CloudIdentityCustomerAccount.Builder clearOwned()
Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.
bool owned = 2;- Returns:
- This builder for chaining.
-
getCustomerName
public String 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
public CloudIdentityCustomerAccount.Builder setCustomerName(String 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 customerName to set.- Returns:
- This builder for chaining.
-
clearCustomerName
public CloudIdentityCustomerAccount.Builder 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
public String 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
public CloudIdentityCustomerAccount.Builder setCustomerCloudIdentityId(String value)
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
public CloudIdentityCustomerAccount.Builder 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.
-
setUnknownFields
public final CloudIdentityCustomerAccount.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
mergeUnknownFields
public final CloudIdentityCustomerAccount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
-