Class SecurityHealthAnalyticsSettings.AdminServiceAccountSettings (0.31.0)

See more code actions.
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

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityHealthAnalyticsSettings.AdminServiceAccountSettings
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)

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()

getDescriptor()

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

newBuilder()

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder()

newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder newBuilder(SecurityHealthAnalyticsSettings.AdminServiceAccountSettings prototype)

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityHealthAnalyticsSettings.AdminServiceAccountSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
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()

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SecurityHealthAnalyticsSettings.AdminServiceAccountSettings.Builder toBuilder()

writeTo(CodedOutputStream output)

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