public static final class ServiceAccount.Builder extends GeneratedMessageV3.Builder<ServiceAccount.Builder> implements ServiceAccountOrBuilder
A service account, owned by Cloud Storage, which may be used when taking
action on behalf of a given project, for example to publish Pub/Sub
notifications or to retrieve security keys.
Protobuf type google.storage.v2.ServiceAccount
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 ServiceAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ServiceAccount build()
Returns
buildPartial()
public ServiceAccount buildPartial()
Returns
clear()
public ServiceAccount.Builder clear()
Returns
Overrides
clearEmailAddress()
public ServiceAccount.Builder clearEmailAddress()
The ID of the notification.
string email_address = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ServiceAccount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ServiceAccount.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ServiceAccount getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEmailAddress()
public String getEmailAddress()
The ID of the notification.
string email_address = 1;
Returns
Type |
Description |
String |
The emailAddress.
|
getEmailAddressBytes()
public ByteString getEmailAddressBytes()
The ID of the notification.
string email_address = 1;
Returns
Type |
Description |
ByteString |
The bytes for emailAddress.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ServiceAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ServiceAccount.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ServiceAccount other)
public ServiceAccount.Builder mergeFrom(ServiceAccount other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEmailAddress(String value)
public ServiceAccount.Builder setEmailAddress(String value)
The ID of the notification.
string email_address = 1;
Parameter
Name |
Description |
value |
String
The emailAddress to set.
|
Returns
setEmailAddressBytes(ByteString value)
public ServiceAccount.Builder setEmailAddressBytes(ByteString value)
The ID of the notification.
string email_address = 1;
Parameter
Name |
Description |
value |
ByteString
The bytes for emailAddress to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides