All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.storage.v2.HmacKeyMetadataOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.47.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/storage/v2/storage.proto

// Protobuf Java Version: 3.25.2
package com.google.storage.v2;

public interface HmacKeyMetadataOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.storage.v2.HmacKeyMetadata)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * 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]; * * @return The id. */ java.lang.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]; * * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** * * *
   * Immutable. Globally unique id for keys.
   * 
* * string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The accessId. */ java.lang.String getAccessId(); /** * * *
   * Immutable. Globally unique id for keys.
   * 
* * string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The bytes for accessId. */ com.google.protobuf.ByteString getAccessIdBytes(); /** * * *
   * 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) = { ... } * * * @return The project. */ java.lang.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) = { ... } * * * @return The bytes for project. */ com.google.protobuf.ByteString getProjectBytes(); /** * * *
   * Output only. Email of the service account the key authenticates as.
   * 
* * string service_account_email = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** * * *
   * Output only. Email of the service account the key authenticates as.
   * 
* * string service_account_email = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for serviceAccountEmail. */ com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** * * *
   * State of the key. One of ACTIVE, INACTIVE, or DELETED.
   * Writable, can be updated by UpdateHmacKey operation.
   * 
* * string state = 5; * * @return The state. */ java.lang.String getState(); /** * * *
   * State of the key. One of ACTIVE, INACTIVE, or DELETED.
   * Writable, can be updated by UpdateHmacKey operation.
   * 
* * string state = 5; * * @return The bytes for state. */ com.google.protobuf.ByteString getStateBytes(); /** * * *
   * Output only. The creation time of the HMAC key.
   * 
* * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * Output only. The creation time of the HMAC key.
   * 
* * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * Output only. The creation time of the HMAC key.
   * 
* * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Output only. The last modification time of the HMAC key metadata.
   * 
* * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ 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]; * * * @return The updateTime. */ com.google.protobuf.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]; * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** * * *
   * The etag of the HMAC key.
   * 
* * string etag = 8; * * @return The etag. */ java.lang.String getEtag(); /** * * *
   * The etag of the HMAC key.
   * 
* * string etag = 8; * * @return The bytes for etag. */ com.google.protobuf.ByteString getEtagBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy