Send feedback
Class ServiceAccount.Builder (2.22.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.22.3 keyboard_arrow_down
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 ()
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]