Interface SecretVersionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecretVersion
,SecretVersion.Builder
public interface SecretVersionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getClientSpecifiedPayloadChecksum()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getDestroyTime()
Output only.com.google.protobuf.TimestampOrBuilder
getDestroyTimeOrBuilder()
Output only.String
getEtag()
Output only.com.google.protobuf.ByteString
getEtagBytes()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.ReplicationStatus
getReplicationStatus()
The replication status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].ReplicationStatusOrBuilder
getReplicationStatusOrBuilder()
The replication status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].SecretVersion.State
getState()
Output only.int
getStateValue()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDestroyTime()
Output only.boolean
hasReplicationStatus()
The replication status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] in the format `projects/*/secrets/*/versions/*`. [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] IDs in a [Secret][google.cloud.secretmanager.v1.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.v1.SecretVersion] in the format `projects/*/secrets/*/versions/*`. [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] IDs in a [Secret][google.cloud.secretmanager.v1.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.v1.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.v1.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.v1.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.v1.SecretVersion] was destroyed. Only present if [state][google.cloud.secretmanager.v1.SecretVersion.state] is [DESTROYED][google.cloud.secretmanager.v1.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.v1.SecretVersion] was destroyed. Only present if [state][google.cloud.secretmanager.v1.SecretVersion.state] is [DESTROYED][google.cloud.secretmanager.v1.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.v1.SecretVersion] was destroyed. Only present if [state][google.cloud.secretmanager.v1.SecretVersion.state] is [DESTROYED][google.cloud.secretmanager.v1.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.v1.SecretVersion].
.google.cloud.secretmanager.v1.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.v1.SecretVersion].
.google.cloud.secretmanager.v1.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.v1.SecretVersion].
.google.cloud.secretmanager.v1.ReplicationStatus replication_status = 5;
- Returns:
- Whether the replicationStatus field is set.
-
getReplicationStatus
ReplicationStatus getReplicationStatus()
The replication status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
.google.cloud.secretmanager.v1.ReplicationStatus replication_status = 5;
- Returns:
- The replicationStatus.
-
getReplicationStatusOrBuilder
ReplicationStatusOrBuilder getReplicationStatusOrBuilder()
The replication status of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
.google.cloud.secretmanager.v1.ReplicationStatus replication_status = 5;
-
getEtag
String getEtag()
Output only. Etag of the currently stored [SecretVersion][google.cloud.secretmanager.v1.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.v1.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.v1.SecretPayload] object has been received by [SecretManagerService][google.cloud.secretmanager.v1.SecretManagerService] on [SecretManagerService.AddSecretVersion][google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion].
bool client_specified_payload_checksum = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The clientSpecifiedPayloadChecksum.
-
-