Class AdminUser (3.35.0)

public final class AdminUser extends GeneratedMessageV3 implements AdminUserOrBuilder

Information needed to create an Admin User for Google Workspace.

Protobuf type google.cloud.channel.v1.AdminUser

Implements

AdminUserOrBuilder

Static Fields

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

FAMILY_NAME_FIELD_NUMBER

public static final int FAMILY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

GIVEN_NAME_FIELD_NUMBER

public static final int GIVEN_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AdminUser getDefaultInstance()
Returns
TypeDescription
AdminUser

getDescriptor()

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

newBuilder()

public static AdminUser.Builder newBuilder()
Returns
TypeDescription
AdminUser.Builder

newBuilder(AdminUser prototype)

public static AdminUser.Builder newBuilder(AdminUser prototype)
Parameter
NameDescription
prototypeAdminUser
Returns
TypeDescription
AdminUser.Builder

parseDelimitedFrom(InputStream input)

public static AdminUser parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdminUser parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AdminUser parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AdminUser parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AdminUser parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AdminUser parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AdminUser parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AdminUser parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AdminUser parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdminUser parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AdminUser parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AdminUser parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdminUser
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AdminUser> parser()
Returns
TypeDescription
Parser<AdminUser>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AdminUser getDefaultInstanceForType()
Returns
TypeDescription
AdminUser

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.

getParserForType()

public Parser<AdminUser> getParserForType()
Returns
TypeDescription
Parser<AdminUser>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AdminUser.Builder newBuilderForType()
Returns
TypeDescription
AdminUser.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AdminUser.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AdminUser.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AdminUser.Builder toBuilder()
Returns
TypeDescription
AdminUser.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException