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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public UserInfo buildPartial()
clear()
public UserInfo.Builder clear()
Overrides
clearEmail()
public UserInfo.Builder clearEmail()
E-mail address of the user.
optional string email = 1;
clearField(Descriptors.FieldDescriptor field)
public UserInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UserInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public UserInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public UserInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UserInfo other)
public UserInfo.Builder mergeFrom(UserInfo other)
public UserInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UserInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public UserInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides