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.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 ServiceAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ServiceAccount build()
buildPartial()
public ServiceAccount buildPartial()
clear()
public ServiceAccount.Builder clear()
Overrides
clearEmailAddress()
public ServiceAccount.Builder clearEmailAddress()
The ID of the notification.
string email_address = 1;
clearField(Descriptors.FieldDescriptor field)
public ServiceAccount.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ServiceAccount.Builder clone()
Overrides
getDefaultInstanceForType()
public ServiceAccount getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ServiceAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ServiceAccount.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(ServiceAccount other)
public ServiceAccount.Builder mergeFrom(ServiceAccount other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides