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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public UserInfo buildPartial()
Returns
clear()
public UserInfo.Builder clear()
Returns
Overrides
clearEmail()
public UserInfo.Builder clearEmail()
E-mail address of the user.
optional string email = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public UserInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UserInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public UserInfo.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UserInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UserInfo other)
public UserInfo.Builder mergeFrom(UserInfo other)
Parameter
Returns
public UserInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UserInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public UserInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides