Class SignedinUser.Builder (0.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SignedinUser build()
Returns
TypeDescription
SignedinUser

buildPartial()

public SignedinUser buildPartial()
Returns
TypeDescription
SignedinUser

clear()

public SignedinUser.Builder clear()
Returns
TypeDescription
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
TypeDescription
SignedinUser.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SignedinUser.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SignedinUser.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SignedinUser getDefaultInstanceForType()
Returns
TypeDescription
SignedinUser

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for user.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SignedinUser other)

public SignedinUser.Builder mergeFrom(SignedinUser other)
Parameter
NameDescription
otherSignedinUser
Returns
TypeDescription
SignedinUser.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SignedinUser.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
SignedinUser.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final SignedinUser.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The user to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for user to set.

Returns
TypeDescription
SignedinUser.Builder

This builder for chaining.