Interface HmacKeyMetadataOrBuilder (2.19.0)

public interface HmacKeyMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessId()

public abstract String getAccessId()

Immutable. Globally unique id for keys.

string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The accessId.

getAccessIdBytes()

public abstract ByteString getAccessIdBytes()

Immutable. Globally unique id for keys.

string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for accessId.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time of the HMAC key.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time of the HMAC key.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getEtag()

public abstract String getEtag()

The etag of the HMAC key.

string etag = 8;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

The etag of the HMAC key.

string etag = 8;

Returns
TypeDescription
ByteString

The bytes for etag.

getId()

public abstract String getId()

Immutable. Resource name ID of the key in the format <projectIdentifier>/<accessId>. <projectIdentifier> can be the project ID or project number.

string id = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Immutable. Resource name ID of the key in the format <projectIdentifier>/<accessId>. <projectIdentifier> can be the project ID or project number.

string id = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for id.

getProject()

public abstract String getProject()

Immutable. Identifies the project that owns the service account of the specified HMAC key, in the format "projects/<projectIdentifier>". <projectIdentifier> can be the project ID or project number.

string project = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

Immutable. Identifies the project that owns the service account of the specified HMAC key, in the format "projects/<projectIdentifier>". <projectIdentifier> can be the project ID or project number.

string project = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for project.

getServiceAccountEmail()

public abstract String getServiceAccountEmail()

Output only. Email of the service account the key authenticates as.

string service_account_email = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The serviceAccountEmail.

getServiceAccountEmailBytes()

public abstract ByteString getServiceAccountEmailBytes()

Output only. Email of the service account the key authenticates as.

string service_account_email = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for serviceAccountEmail.

getState()

public abstract String getState()

State of the key. One of ACTIVE, INACTIVE, or DELETED. Writable, can be updated by UpdateHmacKey operation.

string state = 5;

Returns
TypeDescription
String

The state.

getStateBytes()

public abstract ByteString getStateBytes()

State of the key. One of ACTIVE, INACTIVE, or DELETED. Writable, can be updated by UpdateHmacKey operation.

string state = 5;

Returns
TypeDescription
ByteString

The bytes for state.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The last modification time of the HMAC key metadata.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last modification time of the HMAC key metadata.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation time of the HMAC key.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The last modification time of the HMAC key metadata.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.