Class UserInfo.Builder (2.45.0)

public static final class UserInfo.Builder extends GeneratedMessageV3.Builder<UserInfo.Builder> implements UserInfoOrBuilder

Information about a user.

Protobuf type google.cloud.bigquery.datatransfer.v1.UserInfo

Implements

UserInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UserInfo build()
Returns
Type Description
UserInfo

buildPartial()

public UserInfo buildPartial()
Returns
Type Description
UserInfo

clear()

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

clearEmail()

public UserInfo.Builder clearEmail()

E-mail address of the user.

optional string email = 1;

Returns
Type Description
UserInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UserInfo getDefaultInstanceForType()
Returns
Type Description
UserInfo

getDescriptorForType()

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

getEmail()

public String getEmail()

E-mail address of the user.

optional string email = 1;

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

E-mail address of the user.

optional string email = 1;

Returns
Type Description
ByteString

The bytes for email.

hasEmail()

public boolean hasEmail()

E-mail address of the user.

optional string email = 1;

Returns
Type Description
boolean

Whether the email field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UserInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEmail(String value)

public UserInfo.Builder setEmail(String value)

E-mail address of the user.

optional string email = 1;

Parameter
Name Description
value String

The email to set.

Returns
Type Description
UserInfo.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public UserInfo.Builder setEmailBytes(ByteString value)

E-mail address of the user.

optional string email = 1;

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
UserInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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