Interface SecretVersionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecretVersion,SecretVersion.Builder
@Generated
public interface SecretVersionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getEtag()Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.The replication status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].The replication status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.getState()Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanThe replication status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. The resource name of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] in the format `projects/*/secrets/*/versions/*`. [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] IDs in a [Secret][google.cloud.secretmanager.v1beta2.Secret] start at 1 and are incremented for each subsequent version of the secret.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] in the format `projects/*/secrets/*/versions/*`. [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] IDs in a [Secret][google.cloud.secretmanager.v1beta2.Secret] start at 1 and are incremented for each subsequent version of the secret.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The time at which the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The time at which the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time at which the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasDestroyTime
boolean hasDestroyTime()Output only. The time this [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] was destroyed. Only present if [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] is [DESTROYED][google.cloud.secretmanager.v1beta2.SecretVersion.State.DESTROYED].
.google.protobuf.Timestamp destroy_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the destroyTime field is set.
-
getDestroyTime
com.google.protobuf.Timestamp getDestroyTime()Output only. The time this [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] was destroyed. Only present if [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] is [DESTROYED][google.cloud.secretmanager.v1beta2.SecretVersion.State.DESTROYED].
.google.protobuf.Timestamp destroy_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The destroyTime.
-
getDestroyTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getDestroyTimeOrBuilder()Output only. The time this [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion] was destroyed. Only present if [state][google.cloud.secretmanager.v1beta2.SecretVersion.state] is [DESTROYED][google.cloud.secretmanager.v1beta2.SecretVersion.State.DESTROYED].
.google.protobuf.Timestamp destroy_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateValue
int getStateValue()Output only. The current state of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
.google.cloud.secretmanager.v1beta2.SecretVersion.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
SecretVersion.State getState()Output only. The current state of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
.google.cloud.secretmanager.v1beta2.SecretVersion.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasReplicationStatus
boolean hasReplicationStatus()The replication status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
.google.cloud.secretmanager.v1beta2.ReplicationStatus replication_status = 5;- Returns:
- Whether the replicationStatus field is set.
-
getReplicationStatus
ReplicationStatus getReplicationStatus()The replication status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
.google.cloud.secretmanager.v1beta2.ReplicationStatus replication_status = 5;- Returns:
- The replicationStatus.
-
getReplicationStatusOrBuilder
ReplicationStatusOrBuilder getReplicationStatusOrBuilder()The replication status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
.google.cloud.secretmanager.v1beta2.ReplicationStatus replication_status = 5; -
getEtag
String getEtag()Output only. Etag of the currently stored [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()Output only. Etag of the currently stored [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
string etag = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for etag.
-
getClientSpecifiedPayloadChecksum
boolean getClientSpecifiedPayloadChecksum()Output only. True if payload checksum specified in [SecretPayload][google.cloud.secretmanager.v1beta2.SecretPayload] object has been received by [SecretManagerService][google.cloud.secretmanager.v1beta2.SecretManagerService] on [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1beta2.SecretManagerService.AddSecretVersion].
bool client_specified_payload_checksum = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The clientSpecifiedPayloadChecksum.
-
hasScheduledDestroyTime
boolean hasScheduledDestroyTime()Optional. Output only. Scheduled destroy time for secret version. This is a part of the Delayed secret version destroy feature. For a Secret with a valid version destroy TTL, when a secert version is destroyed, version is moved to disabled state and it is scheduled for destruction Version is destroyed only after the scheduled_destroy_time.
.google.protobuf.Timestamp scheduled_destroy_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the scheduledDestroyTime field is set.
-
getScheduledDestroyTime
com.google.protobuf.Timestamp getScheduledDestroyTime()Optional. Output only. Scheduled destroy time for secret version. This is a part of the Delayed secret version destroy feature. For a Secret with a valid version destroy TTL, when a secert version is destroyed, version is moved to disabled state and it is scheduled for destruction Version is destroyed only after the scheduled_destroy_time.
.google.protobuf.Timestamp scheduled_destroy_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The scheduledDestroyTime.
-
getScheduledDestroyTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getScheduledDestroyTimeOrBuilder()Optional. Output only. Scheduled destroy time for secret version. This is a part of the Delayed secret version destroy feature. For a Secret with a valid version destroy TTL, when a secert version is destroyed, version is moved to disabled state and it is scheduled for destruction Version is destroyed only after the scheduled_destroy_time.
.google.protobuf.Timestamp scheduled_destroy_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCustomerManagedEncryption
boolean hasCustomerManagedEncryption()Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used and [Secret][google.cloud.secretmanager.v1beta2.Secret] is a Regionalised Secret.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the customerManagedEncryption field is set.
-
getCustomerManagedEncryption
CustomerManagedEncryptionStatus getCustomerManagedEncryption()Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used and [Secret][google.cloud.secretmanager.v1beta2.Secret] is a Regionalised Secret.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The customerManagedEncryption.
-
getCustomerManagedEncryptionOrBuilder
CustomerManagedEncryptionStatusOrBuilder getCustomerManagedEncryptionOrBuilder()Output only. The customer-managed encryption status of the [SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion]. Only populated if customer-managed encryption is used and [Secret][google.cloud.secretmanager.v1beta2.Secret] is a Regionalised Secret.
.google.cloud.secretmanager.v1beta2.CustomerManagedEncryptionStatus customer_managed_encryption = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-