Class AdminUser.Builder (3.7.0)

public static final class AdminUser.Builder extends GeneratedMessageV3.Builder<AdminUser.Builder> implements AdminUserOrBuilder

Information needed to create an Admin User for Google Workspace.

Protobuf type google.cloud.channel.v1.AdminUser

Implements

AdminUserOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AdminUser.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AdminUser.Builder
Overrides

build()

public AdminUser build()
Returns
TypeDescription
AdminUser

buildPartial()

public AdminUser buildPartial()
Returns
TypeDescription
AdminUser

clear()

public AdminUser.Builder clear()
Returns
TypeDescription
AdminUser.Builder
Overrides

clearEmail()

public AdminUser.Builder clearEmail()

Primary email of the admin user.

string email = 1;

Returns
TypeDescription
AdminUser.Builder

This builder for chaining.

clearFamilyName()

public AdminUser.Builder clearFamilyName()

Family name of the admin user.

string family_name = 3;

Returns
TypeDescription
AdminUser.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AdminUser.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AdminUser.Builder
Overrides

clearGivenName()

public AdminUser.Builder clearGivenName()

Given name of the admin user.

string given_name = 2;

Returns
TypeDescription
AdminUser.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AdminUser.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AdminUser.Builder
Overrides

clone()

public AdminUser.Builder clone()
Returns
TypeDescription
AdminUser.Builder
Overrides

getDefaultInstanceForType()

public AdminUser getDefaultInstanceForType()
Returns
TypeDescription
AdminUser

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEmail()

public String getEmail()

Primary email of the admin user.

string email = 1;

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Primary email of the admin user.

string email = 1;

Returns
TypeDescription
ByteString

The bytes for email.

getFamilyName()

public String getFamilyName()

Family name of the admin user.

string family_name = 3;

Returns
TypeDescription
String

The familyName.

getFamilyNameBytes()

public ByteString getFamilyNameBytes()

Family name of the admin user.

string family_name = 3;

Returns
TypeDescription
ByteString

The bytes for familyName.

getGivenName()

public String getGivenName()

Given name of the admin user.

string given_name = 2;

Returns
TypeDescription
String

The givenName.

getGivenNameBytes()

public ByteString getGivenNameBytes()

Given name of the admin user.

string given_name = 2;

Returns
TypeDescription
ByteString

The bytes for givenName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AdminUser other)

public AdminUser.Builder mergeFrom(AdminUser other)
Parameter
NameDescription
otherAdminUser
Returns
TypeDescription
AdminUser.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AdminUser.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdminUser.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AdminUser.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AdminUser.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdminUser.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AdminUser.Builder
Overrides

setEmail(String value)

public AdminUser.Builder setEmail(String value)

Primary email of the admin user.

string email = 1;

Parameter
NameDescription
valueString

The email to set.

Returns
TypeDescription
AdminUser.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public AdminUser.Builder setEmailBytes(ByteString value)

Primary email of the admin user.

string email = 1;

Parameter
NameDescription
valueByteString

The bytes for email to set.

Returns
TypeDescription
AdminUser.Builder

This builder for chaining.

setFamilyName(String value)

public AdminUser.Builder setFamilyName(String value)

Family name of the admin user.

string family_name = 3;

Parameter
NameDescription
valueString

The familyName to set.

Returns
TypeDescription
AdminUser.Builder

This builder for chaining.

setFamilyNameBytes(ByteString value)

public AdminUser.Builder setFamilyNameBytes(ByteString value)

Family name of the admin user.

string family_name = 3;

Parameter
NameDescription
valueByteString

The bytes for familyName to set.

Returns
TypeDescription
AdminUser.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AdminUser.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AdminUser.Builder
Overrides

setGivenName(String value)

public AdminUser.Builder setGivenName(String value)

Given name of the admin user.

string given_name = 2;

Parameter
NameDescription
valueString

The givenName to set.

Returns
TypeDescription
AdminUser.Builder

This builder for chaining.

setGivenNameBytes(ByteString value)

public AdminUser.Builder setGivenNameBytes(ByteString value)

Given name of the admin user.

string given_name = 2;

Parameter
NameDescription
valueByteString

The bytes for givenName to set.

Returns
TypeDescription
AdminUser.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AdminUser.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AdminUser.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AdminUser.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AdminUser.Builder
Overrides