Class SignedinUser.Builder (0.22.0)

public static final class SignedinUser.Builder extends GeneratedMessageV3.Builder<SignedinUser.Builder> implements SignedinUserOrBuilder

A signed-in user can be: a) An individual joining from a personal computer, mobile device, or through companion mode. b) A robot account used by conference room devices.

Protobuf type google.apps.meet.v2beta.SignedinUser

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SignedinUser build()
Returns
Type Description
SignedinUser

buildPartial()

public SignedinUser buildPartial()
Returns
Type Description
SignedinUser

clear()

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

clearDisplayName()

public SignedinUser.Builder clearDisplayName()

Output only. For a personal device, it's the user's first and last name. For a robot account, it's the admin specified device name. For example, "Altostrat Room".

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SignedinUser.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUser()

public SignedinUser.Builder clearUser()

Output only. Unique ID for the user. Interoperable with Admin SDK API and People API. Format: users/{user}

string user = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SignedinUser.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SignedinUser getDefaultInstanceForType()
Returns
Type Description
SignedinUser

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Output only. For a personal device, it's the user's first and last name. For a robot account, it's the admin specified device name. For example, "Altostrat Room".

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. For a personal device, it's the user's first and last name. For a robot account, it's the admin specified device name. For example, "Altostrat Room".

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getUser()

public String getUser()

Output only. Unique ID for the user. Interoperable with Admin SDK API and People API. Format: users/{user}

string user = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The user.

getUserBytes()

public ByteString getUserBytes()

Output only. Unique ID for the user. Interoperable with Admin SDK API and People API. Format: users/{user}

string user = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for user.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SignedinUser other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public SignedinUser.Builder setDisplayName(String value)

Output only. For a personal device, it's the user's first and last name. For a robot account, it's the admin specified device name. For example, "Altostrat Room".

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
SignedinUser.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public SignedinUser.Builder setDisplayNameBytes(ByteString value)

Output only. For a personal device, it's the user's first and last name. For a robot account, it's the admin specified device name. For example, "Altostrat Room".

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
SignedinUser.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SignedinUser.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SignedinUser.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUser(String value)

public SignedinUser.Builder setUser(String value)

Output only. Unique ID for the user. Interoperable with Admin SDK API and People API. Format: users/{user}

string user = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The user to set.

Returns
Type Description
SignedinUser.Builder

This builder for chaining.

setUserBytes(ByteString value)

public SignedinUser.Builder setUserBytes(ByteString value)

Output only. Unique ID for the user. Interoperable with Admin SDK API and People API. Format: users/{user}

string user = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for user to set.

Returns
Type Description
SignedinUser.Builder

This builder for chaining.