public static final class TransferTypes.GoogleServiceAccount.Builder extends GeneratedMessageV3.Builder<TransferTypes.GoogleServiceAccount.Builder> implements TransferTypes.GoogleServiceAccountOrBuilder
Google service account
Protobuf type google.storagetransfer.v1.GoogleServiceAccount
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 TransferTypes.GoogleServiceAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferTypes.GoogleServiceAccount build()
Returns
buildPartial()
public TransferTypes.GoogleServiceAccount buildPartial()
Returns
clear()
public TransferTypes.GoogleServiceAccount.Builder clear()
Returns
Overrides
clearAccountEmail()
public TransferTypes.GoogleServiceAccount.Builder clearAccountEmail()
Email address of the service account.
string account_email = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public TransferTypes.GoogleServiceAccount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferTypes.GoogleServiceAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSubjectId()
public TransferTypes.GoogleServiceAccount.Builder clearSubjectId()
Unique identifier for the service account.
string subject_id = 2;
Returns
clone()
public TransferTypes.GoogleServiceAccount.Builder clone()
Returns
Overrides
getAccountEmail()
public String getAccountEmail()
Email address of the service account.
string account_email = 1;
Returns
Type |
Description |
String |
The accountEmail.
|
getAccountEmailBytes()
public ByteString getAccountEmailBytes()
Email address of the service account.
string account_email = 1;
Returns
Type |
Description |
ByteString |
The bytes for accountEmail.
|
getDefaultInstanceForType()
public TransferTypes.GoogleServiceAccount getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSubjectId()
public String getSubjectId()
Unique identifier for the service account.
string subject_id = 2;
Returns
Type |
Description |
String |
The subjectId.
|
getSubjectIdBytes()
public ByteString getSubjectIdBytes()
Unique identifier for the service account.
string subject_id = 2;
Returns
Type |
Description |
ByteString |
The bytes for subjectId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public TransferTypes.GoogleServiceAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferTypes.GoogleServiceAccount.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(TransferTypes.GoogleServiceAccount other)
public TransferTypes.GoogleServiceAccount.Builder mergeFrom(TransferTypes.GoogleServiceAccount other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.GoogleServiceAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAccountEmail(String value)
public TransferTypes.GoogleServiceAccount.Builder setAccountEmail(String value)
Email address of the service account.
string account_email = 1;
Parameter
Name |
Description |
value |
String
The accountEmail to set.
|
Returns
setAccountEmailBytes(ByteString value)
public TransferTypes.GoogleServiceAccount.Builder setAccountEmailBytes(ByteString value)
Email address of the service account.
string account_email = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for accountEmail to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TransferTypes.GoogleServiceAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferTypes.GoogleServiceAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSubjectId(String value)
public TransferTypes.GoogleServiceAccount.Builder setSubjectId(String value)
Unique identifier for the service account.
string subject_id = 2;
Parameter
Name |
Description |
value |
String
The subjectId to set.
|
Returns
setSubjectIdBytes(ByteString value)
public TransferTypes.GoogleServiceAccount.Builder setSubjectIdBytes(ByteString value)
Unique identifier for the service account.
string subject_id = 2;
Parameter
Name |
Description |
value |
ByteString
The bytes for subjectId to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferTypes.GoogleServiceAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides