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 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.