public static final class ServiceAccount.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccount.Builder> implements ServiceAccountOrBuilder
An organization-level service account to be used by threat detection components.Protobuf type
google.cloud.securitycenter.settings.v1beta1.ServiceAccount| Modifier and Type | Method and Description |
|---|---|
ServiceAccount.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAccount |
build() |
ServiceAccount |
buildPartial() |
ServiceAccount.Builder |
clear() |
ServiceAccount.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServiceAccount.Builder |
clearName()
The relative resource name of the service account resource.
|
ServiceAccount.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceAccount.Builder |
clearServiceAccount()
Security Center managed service account for the organization
example service-org-1234@scc.iam.gserviceaccount.com
This service_account will be stored in the ComponentSettings field for the
SCC, SHA, and Infra Automation components.
|
ServiceAccount.Builder |
clone() |
ServiceAccount |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The relative resource name of the service account resource.
|
com.google.protobuf.ByteString |
getNameBytes()
The relative resource name of the service account resource.
|
String |
getServiceAccount()
Security Center managed service account for the organization
example service-org-1234@scc.iam.gserviceaccount.com
This service_account will be stored in the ComponentSettings field for the
SCC, SHA, and Infra Automation components.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Security Center managed service account for the organization
example service-org-1234@scc.iam.gserviceaccount.com
This service_account will be stored in the ComponentSettings field for the
SCC, SHA, and Infra Automation components.
|
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 |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceAccount.Builder |
setName(String value)
The relative resource name of the service account resource.
|
ServiceAccount.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The relative resource name of the service account resource.
|
ServiceAccount.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServiceAccount.Builder |
setServiceAccount(String value)
Security Center managed service account for the organization
example service-org-1234@scc.iam.gserviceaccount.com
This service_account will be stored in the ComponentSettings field for the
SCC, SHA, and Infra Automation components.
|
ServiceAccount.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
Security Center managed service account for the organization
example service-org-1234@scc.iam.gserviceaccount.com
This service_account will be stored in the ComponentSettings field for the
SCC, SHA, and Infra Automation components.
|
ServiceAccount.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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 String getName()
The relative resource name of the service account resource.
Format:
* `organizations/{organization}/serviceAccount`
string name = 1;getName in interface ServiceAccountOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The relative resource name of the service account resource.
Format:
* `organizations/{organization}/serviceAccount`
string name = 1;getNameBytes in interface ServiceAccountOrBuilderpublic ServiceAccount.Builder setName(String value)
The relative resource name of the service account resource.
Format:
* `organizations/{organization}/serviceAccount`
string name = 1;value - The name to set.public ServiceAccount.Builder clearName()
The relative resource name of the service account resource.
Format:
* `organizations/{organization}/serviceAccount`
string name = 1;public ServiceAccount.Builder setNameBytes(com.google.protobuf.ByteString value)
The relative resource name of the service account resource.
Format:
* `organizations/{organization}/serviceAccount`
string name = 1;value - The bytes for name to set.public String getServiceAccount()
Security Center managed service account for the organization example service-org-1234@scc.iam.gserviceaccount.com This service_account will be stored in the ComponentSettings field for the SCC, SHA, and Infra Automation components.
string service_account = 2;getServiceAccount in interface ServiceAccountOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
Security Center managed service account for the organization example service-org-1234@scc.iam.gserviceaccount.com This service_account will be stored in the ComponentSettings field for the SCC, SHA, and Infra Automation components.
string service_account = 2;getServiceAccountBytes in interface ServiceAccountOrBuilderpublic ServiceAccount.Builder setServiceAccount(String value)
Security Center managed service account for the organization example service-org-1234@scc.iam.gserviceaccount.com This service_account will be stored in the ComponentSettings field for the SCC, SHA, and Infra Automation components.
string service_account = 2;value - The serviceAccount to set.public ServiceAccount.Builder clearServiceAccount()
Security Center managed service account for the organization example service-org-1234@scc.iam.gserviceaccount.com This service_account will be stored in the ComponentSettings field for the SCC, SHA, and Infra Automation components.
string service_account = 2;public ServiceAccount.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Security Center managed service account for the organization example service-org-1234@scc.iam.gserviceaccount.com This service_account will be stored in the ComponentSettings field for the SCC, SHA, and Infra Automation components.
string service_account = 2;value - The bytes for serviceAccount to set.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 © 2024 Google LLC. All rights reserved.