Class SecurityHealthAnalyticsSettings.AdminServiceAccountSettings (0.11.0)

public static final class SecurityHealthAnalyticsSettings.AdminServiceAccountSettings extends GeneratedMessageV3 implements SecurityHealthAnalyticsSettings.AdminServiceAccountSettingsOrBuilder

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

Protobuf type google.cloud.securitycenter.settings.v1beta1.SecurityHealthAnalyticsSettings.AdminServiceAccountSettings

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityHealthAnalyticsSettings.AdminServiceAccountSettings

Static Fields

APPROVED_IDENTITIES_FIELD_NUMBER

public static final int APPROVED_IDENTITIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings getDefaultInstance()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder

newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)
Parameter
NameDescription
prototypeSecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder

parseDelimitedFrom(InputStream input)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SecurityHealthAnalyticsSettings.AdminServiceAccountSettings> parser()
Returns
TypeDescription
Parser<AdminServiceAccountSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApprovedIdentities(int index)

public String getApprovedIdentities(int index)

User-created service accounts ending in the provided identities are allowed to have Admin, Owner or Editor roles granted to them. Otherwise a finding will be created. A valid identity can be:

  • a partilly specified service account that starts with "@", e.g. "@myproject.iam.gserviceaccount.com". This approves all the service accounts suffixed with the specified identity.
  • a fully specified service account that does not start with "@", e.g. "myadmin@myproject.iam.gserviceaccount.com". Google-created service accounts are all approved.

repeated string approved_identities = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The approvedIdentities at the given index.

getApprovedIdentitiesBytes(int index)

public ByteString getApprovedIdentitiesBytes(int index)

User-created service accounts ending in the provided identities are allowed to have Admin, Owner or Editor roles granted to them. Otherwise a finding will be created. A valid identity can be:

  • a partilly specified service account that starts with "@", e.g. "@myproject.iam.gserviceaccount.com". This approves all the service accounts suffixed with the specified identity.
  • a fully specified service account that does not start with "@", e.g. "myadmin@myproject.iam.gserviceaccount.com". Google-created service accounts are all approved.

repeated string approved_identities = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the approvedIdentities at the given index.

getApprovedIdentitiesCount()

public int getApprovedIdentitiesCount()

User-created service accounts ending in the provided identities are allowed to have Admin, Owner or Editor roles granted to them. Otherwise a finding will be created. A valid identity can be:

  • a partilly specified service account that starts with "@", e.g. "@myproject.iam.gserviceaccount.com". This approves all the service accounts suffixed with the specified identity.
  • a fully specified service account that does not start with "@", e.g. "myadmin@myproject.iam.gserviceaccount.com". Google-created service accounts are all approved.

repeated string approved_identities = 1;

Returns
TypeDescription
int

The count of approvedIdentities.

getApprovedIdentitiesList()

public ProtocolStringList getApprovedIdentitiesList()

User-created service accounts ending in the provided identities are allowed to have Admin, Owner or Editor roles granted to them. Otherwise a finding will be created. A valid identity can be:

  • a partilly specified service account that starts with "@", e.g. "@myproject.iam.gserviceaccount.com". This approves all the service accounts suffixed with the specified identity.
  • a fully specified service account that does not start with "@", e.g. "myadmin@myproject.iam.gserviceaccount.com". Google-created service accounts are all approved.

repeated string approved_identities = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the approvedIdentities.

getDefaultInstanceForType()

public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings getDefaultInstanceForType()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings

getParserForType()

public Parser<SecurityHealthAnalyticsSettings.AdminServiceAccountSettings> getParserForType()
Returns
TypeDescription
Parser<AdminServiceAccountSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilderForType()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder toBuilder()
Returns
TypeDescription
SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException