public interface SecretVersionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. The time at which the SecretVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which the SecretVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDestroyTime()
public abstract Timestamp getDestroyTime()
Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
.google.protobuf.Timestamp destroy_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The destroyTime. |
getDestroyTimeOrBuilder()
public abstract TimestampOrBuilder getDestroyTimeOrBuilder()
Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
.google.protobuf.Timestamp destroy_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getName()
public abstract String getName()
Output only. The resource name of the
SecretVersion in the format
projects/*/secrets/*/versions/*
.
SecretVersion IDs in a Secret start at 1 and are incremented for each subsequent version of the secret.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Output only. The resource name of the
SecretVersion in the format
projects/*/secrets/*/versions/*
.
SecretVersion IDs in a Secret start at 1 and are incremented for each subsequent version of the secret.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getState()
public abstract SecretVersion.State getState()
Output only. The current state of the SecretVersion.
.google.cloud.secrets.v1beta1.SecretVersion.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
SecretVersion.State |
The state. |
getStateValue()
public abstract int getStateValue()
Output only. The current state of the SecretVersion.
.google.cloud.secrets.v1beta1.SecretVersion.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. The time at which the SecretVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDestroyTime()
public abstract boolean hasDestroyTime()
Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
.google.protobuf.Timestamp destroy_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the destroyTime field is set. |