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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CloudIdentityCustomerAccount
build()
CloudIdentityCustomerAccount
buildPartial()
CloudIdentityCustomerAccount.Builder
clear()
CloudIdentityCustomerAccount.Builder
clearCustomerCloudIdentityId()
If existing = true, the Cloud Identity ID of the customer.CloudIdentityCustomerAccount.Builder
clearCustomerName()
If owned = true, the name of the customer that owns the Cloud Identity account.CloudIdentityCustomerAccount.Builder
clearExisting()
Returns true if a Cloud Identity account exists for a specific domain.CloudIdentityCustomerAccount.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CloudIdentityCustomerAccount.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CloudIdentityCustomerAccount.Builder
clearOwned()
Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.CloudIdentityCustomerAccount.Builder
clone()
String
getCustomerCloudIdentityId()
If existing = true, the Cloud Identity ID of the customer.com.google.protobuf.ByteString
getCustomerCloudIdentityIdBytes()
If existing = true, the Cloud Identity ID of the customer.String
getCustomerName()
If owned = true, the name of the customer that owns the Cloud Identity account.com.google.protobuf.ByteString
getCustomerNameBytes()
If owned = true, the name of the customer that owns the Cloud Identity account.CloudIdentityCustomerAccount
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getExisting()
Returns true if a Cloud Identity account exists for a specific domain.boolean
getOwned()
Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CloudIdentityCustomerAccount.Builder
mergeFrom(CloudIdentityCustomerAccount other)
CloudIdentityCustomerAccount.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CloudIdentityCustomerAccount.Builder
mergeFrom(com.google.protobuf.Message other)
CloudIdentityCustomerAccount.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CloudIdentityCustomerAccount.Builder
setCustomerCloudIdentityId(String value)
If existing = true, the Cloud Identity ID of the customer.CloudIdentityCustomerAccount.Builder
setCustomerCloudIdentityIdBytes(com.google.protobuf.ByteString value)
If existing = true, the Cloud Identity ID of the customer.CloudIdentityCustomerAccount.Builder
setCustomerName(String value)
If owned = true, the name of the customer that owns the Cloud Identity account.CloudIdentityCustomerAccount.Builder
setCustomerNameBytes(com.google.protobuf.ByteString value)
If owned = true, the name of the customer that owns the Cloud Identity account.CloudIdentityCustomerAccount.Builder
setExisting(boolean value)
Returns true if a Cloud Identity account exists for a specific domain.CloudIdentityCustomerAccount.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CloudIdentityCustomerAccount.Builder
setOwned(boolean value)
Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.CloudIdentityCustomerAccount.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CloudIdentityCustomerAccount.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
clear
public CloudIdentityCustomerAccount.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
getDefaultInstanceForType
public CloudIdentityCustomerAccount getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CloudIdentityCustomerAccount build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CloudIdentityCustomerAccount buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CloudIdentityCustomerAccount.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
setField
public CloudIdentityCustomerAccount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
clearField
public CloudIdentityCustomerAccount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
clearOneof
public CloudIdentityCustomerAccount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
setRepeatedField
public CloudIdentityCustomerAccount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
addRepeatedField
public CloudIdentityCustomerAccount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
mergeFrom
public CloudIdentityCustomerAccount.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CloudIdentityCustomerAccount.Builder>
-
mergeFrom
public CloudIdentityCustomerAccount.Builder mergeFrom(CloudIdentityCustomerAccount other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getExisting
in 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:
getOwned
in 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:
getCustomerName
in 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:
getCustomerNameBytes
in 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:
getCustomerCloudIdentityId
in 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:
getCustomerCloudIdentityIdBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
mergeUnknownFields
public final CloudIdentityCustomerAccount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder>
-
-