Interface HmacKeyMetadataOrBuilder (2.43.2)

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
Type Description
String

The accessId.

getAccessIdBytes()

public abstract ByteString getAccessIdBytes()

Immutable. Globally unique id for keys.

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

Returns
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getEtag()

public abstract String getEtag()

Optional. The etag of the HMAC key.

string etag = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Optional. The etag of the HMAC key.

string etag = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for serviceAccountEmail.

getState()

public abstract String getState()

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

string state = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The state.

getStateBytes()

public abstract ByteString getStateBytes()

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

string state = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.