Class UserInfo.Builder (2.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UserInfo build()
Returns
TypeDescription
UserInfo

buildPartial()

public UserInfo buildPartial()
Returns
TypeDescription
UserInfo

clear()

public UserInfo.Builder clear()
Returns
TypeDescription
UserInfo.Builder
Overrides

clearEmail()

public UserInfo.Builder clearEmail()

E-mail address of the user.

optional string email = 1;

Returns
TypeDescription
UserInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UserInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UserInfo.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public UserInfo getDefaultInstanceForType()
Returns
TypeDescription
UserInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEmail()

public String getEmail()

E-mail address of the user.

optional string email = 1;

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

E-mail address of the user.

optional string email = 1;

Returns
TypeDescription
ByteString

The bytes for email.

hasEmail()

public boolean hasEmail()

E-mail address of the user.

optional string email = 1;

Returns
TypeDescription
boolean

Whether the email field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UserInfo other)

public UserInfo.Builder mergeFrom(UserInfo other)
Parameter
NameDescription
otherUserInfo
Returns
TypeDescription
UserInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UserInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UserInfo.Builder
Overrides

setEmail(String value)

public UserInfo.Builder setEmail(String value)

E-mail address of the user.

optional string email = 1;

Parameter
NameDescription
valueString

The email to set.

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

The bytes for email to set.

Returns
TypeDescription
UserInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UserInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UserInfo.Builder
Overrides