Interface SecretOccurrenceOrBuilder (2.83.0)

public interface SecretOccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getData()

public abstract Any getData()

Scan result of the secret.

.google.protobuf.Any data = 4;

Returns
Type Description
Any

The data.

getDataOrBuilder()

public abstract AnyOrBuilder getDataOrBuilder()

Scan result of the secret.

.google.protobuf.Any data = 4;

Returns
Type Description
AnyOrBuilder

getDigest()

public abstract Digest getDigest()

Hash value, typically a digest for the secret data, that allows unique identification of a specific secret.

.grafeas.v1.Digest digest = 5;

Returns
Type Description
Digest

The digest.

getDigestOrBuilder()

public abstract DigestOrBuilder getDigestOrBuilder()

Hash value, typically a digest for the secret data, that allows unique identification of a specific secret.

.grafeas.v1.Digest digest = 5;

Returns
Type Description
DigestOrBuilder

getKind()

public abstract SecretKind getKind()

Type of secret.

.grafeas.v1.SecretKind kind = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SecretKind

The kind.

getKindValue()

public abstract int getKindValue()

Type of secret.

.grafeas.v1.SecretKind kind = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for kind.

getLocations(int index)

public abstract SecretLocation getLocations(int index)

Locations where the secret is detected.

repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SecretLocation

getLocationsCount()

public abstract int getLocationsCount()

Locations where the secret is detected.

repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLocationsList()

public abstract List<SecretLocation> getLocationsList()

Locations where the secret is detected.

repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SecretLocation>

getLocationsOrBuilder(int index)

public abstract SecretLocationOrBuilder getLocationsOrBuilder(int index)

Locations where the secret is detected.

repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SecretLocationOrBuilder

getLocationsOrBuilderList()

public abstract List<? extends SecretLocationOrBuilder> getLocationsOrBuilderList()

Locations where the secret is detected.

repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends io.grafeas.v1.SecretLocationOrBuilder>

getStatuses(int index)

public abstract SecretStatus getStatuses(int index)

Status of the secret.

repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SecretStatus

getStatusesCount()

public abstract int getStatusesCount()

Status of the secret.

repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getStatusesList()

public abstract List<SecretStatus> getStatusesList()

Status of the secret.

repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SecretStatus>

getStatusesOrBuilder(int index)

public abstract SecretStatusOrBuilder getStatusesOrBuilder(int index)

Status of the secret.

repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SecretStatusOrBuilder

getStatusesOrBuilderList()

public abstract List<? extends SecretStatusOrBuilder> getStatusesOrBuilderList()

Status of the secret.

repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends io.grafeas.v1.SecretStatusOrBuilder>

hasData()

public abstract boolean hasData()

Scan result of the secret.

.google.protobuf.Any data = 4;

Returns
Type Description
boolean

Whether the data field is set.

hasDigest()

public abstract boolean hasDigest()

Hash value, typically a digest for the secret data, that allows unique identification of a specific secret.

.grafeas.v1.Digest digest = 5;

Returns
Type Description
boolean

Whether the digest field is set.