public static final class ServiceAccount.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder> implements ServiceAccountOrBuilder
A service account.Protobuf type
google.cloud.compute.v1.ServiceAccount| Modifier and Type | Method and Description |
|---|---|
ServiceAccount.Builder |
addAllScopes(Iterable<String> values)
The list of scopes to be made available for this service account.
|
ServiceAccount.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAccount.Builder |
addScopes(String value)
The list of scopes to be made available for this service account.
|
ServiceAccount.Builder |
addScopesBytes(com.google.protobuf.ByteString value)
The list of scopes to be made available for this service account.
|
ServiceAccount |
build() |
ServiceAccount |
buildPartial() |
ServiceAccount.Builder |
clear() |
ServiceAccount.Builder |
clearEmail()
Email address of the service account.
|
ServiceAccount.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServiceAccount.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceAccount.Builder |
clearScopes()
The list of scopes to be made available for this service account.
|
ServiceAccount.Builder |
clone() |
ServiceAccount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEmail()
Email address of the service account.
|
com.google.protobuf.ByteString |
getEmailBytes()
Email address of the service account.
|
String |
getScopes(int index)
The list of scopes to be made available for this service account.
|
com.google.protobuf.ByteString |
getScopesBytes(int index)
The list of scopes to be made available for this service account.
|
int |
getScopesCount()
The list of scopes to be made available for this service account.
|
com.google.protobuf.ProtocolStringList |
getScopesList()
The list of scopes to be made available for this service account.
|
boolean |
hasEmail()
Email address of the service account.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ServiceAccount.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceAccount.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServiceAccount.Builder |
mergeFrom(ServiceAccount other) |
ServiceAccount.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceAccount.Builder |
setEmail(String value)
Email address of the service account.
|
ServiceAccount.Builder |
setEmailBytes(com.google.protobuf.ByteString value)
Email address of the service account.
|
ServiceAccount.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAccount.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServiceAccount.Builder |
setScopes(int index,
String value)
The list of scopes to be made available for this service account.
|
ServiceAccount.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public ServiceAccount.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public ServiceAccount getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServiceAccount build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServiceAccount buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServiceAccount.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public ServiceAccount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public ServiceAccount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public ServiceAccount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public ServiceAccount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public ServiceAccount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public ServiceAccount.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceAccount.Builder>public ServiceAccount.Builder mergeFrom(ServiceAccount other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public ServiceAccount.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceAccount.Builder>IOExceptionpublic boolean hasEmail()
Email address of the service account.
optional string email = 96619420;hasEmail in interface ServiceAccountOrBuilderpublic String getEmail()
Email address of the service account.
optional string email = 96619420;getEmail in interface ServiceAccountOrBuilderpublic com.google.protobuf.ByteString getEmailBytes()
Email address of the service account.
optional string email = 96619420;getEmailBytes in interface ServiceAccountOrBuilderpublic ServiceAccount.Builder setEmail(String value)
Email address of the service account.
optional string email = 96619420;value - The email to set.public ServiceAccount.Builder clearEmail()
Email address of the service account.
optional string email = 96619420;public ServiceAccount.Builder setEmailBytes(com.google.protobuf.ByteString value)
Email address of the service account.
optional string email = 96619420;value - The bytes for email to set.public com.google.protobuf.ProtocolStringList getScopesList()
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;getScopesList in interface ServiceAccountOrBuilderpublic int getScopesCount()
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;getScopesCount in interface ServiceAccountOrBuilderpublic String getScopes(int index)
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;getScopes in interface ServiceAccountOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getScopesBytes(int index)
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;getScopesBytes in interface ServiceAccountOrBuilderindex - The index of the value to return.public ServiceAccount.Builder setScopes(int index, String value)
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;index - The index to set the value at.value - The scopes to set.public ServiceAccount.Builder addScopes(String value)
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;value - The scopes to add.public ServiceAccount.Builder addAllScopes(Iterable<String> values)
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;values - The scopes to add.public ServiceAccount.Builder clearScopes()
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;public ServiceAccount.Builder addScopesBytes(com.google.protobuf.ByteString value)
The list of scopes to be made available for this service account.
repeated string scopes = 165973151;value - The bytes of the scopes to add.public final ServiceAccount.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>public final ServiceAccount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder>Copyright © 2023 Google LLC. All rights reserved.