Class AdminUser.Builder (3.59.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AdminUser.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdminUser.Builder
Overrides

build()

public AdminUser build()
Returns
Type Description
AdminUser

buildPartial()

public AdminUser buildPartial()
Returns
Type Description
AdminUser

clear()

public AdminUser.Builder clear()
Returns
Type Description
AdminUser.Builder
Overrides

clearEmail()

public AdminUser.Builder clearEmail()

Primary email of the admin user.

string email = 1;

Returns
Type Description
AdminUser.Builder

This builder for chaining.

clearFamilyName()

public AdminUser.Builder clearFamilyName()

Family name of the admin user.

string family_name = 3;

Returns
Type Description
AdminUser.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AdminUser.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AdminUser.Builder
Overrides

clearGivenName()

public AdminUser.Builder clearGivenName()

Given name of the admin user.

string given_name = 2;

Returns
Type Description
AdminUser.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AdminUser.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AdminUser.Builder
Overrides

clone()

public AdminUser.Builder clone()
Returns
Type Description
AdminUser.Builder
Overrides

getDefaultInstanceForType()

public AdminUser getDefaultInstanceForType()
Returns
Type Description
AdminUser

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEmail()

public String getEmail()

Primary email of the admin user.

string email = 1;

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Primary email of the admin user.

string email = 1;

Returns
Type Description
ByteString

The bytes for email.

getFamilyName()

public String getFamilyName()

Family name of the admin user.

string family_name = 3;

Returns
Type Description
String

The familyName.

getFamilyNameBytes()

public ByteString getFamilyNameBytes()

Family name of the admin user.

string family_name = 3;

Returns
Type Description
ByteString

The bytes for familyName.

getGivenName()

public String getGivenName()

Given name of the admin user.

string given_name = 2;

Returns
Type Description
String

The givenName.

getGivenNameBytes()

public ByteString getGivenNameBytes()

Given name of the admin user.

string given_name = 2;

Returns
Type Description
ByteString

The bytes for givenName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AdminUser other)

public AdminUser.Builder mergeFrom(AdminUser other)
Parameter
Name Description
other AdminUser
Returns
Type Description
AdminUser.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AdminUser.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AdminUser.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AdminUser.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AdminUser.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdminUser.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdminUser.Builder
Overrides

setEmail(String value)

public AdminUser.Builder setEmail(String value)

Primary email of the admin user.

string email = 1;

Parameter
Name Description
value String

The email to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
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
Name Description
value String

The familyName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for familyName to set.

Returns
Type Description
AdminUser.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AdminUser.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdminUser.Builder
Overrides

setGivenName(String value)

public AdminUser.Builder setGivenName(String value)

Given name of the admin user.

string given_name = 2;

Parameter
Name Description
value String

The givenName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for givenName to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AdminUser.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AdminUser.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdminUser.Builder
Overrides