public final class HmacKeyMetadata extends com.google.protobuf.GeneratedMessageV3 implements HmacKeyMetadataOrBuilder
Hmac Key Metadata, which includes all information other than the secret.Protobuf type
google.storage.v2.HmacKeyMetadata
Modifier and Type | Class and Description |
---|---|
static class |
HmacKeyMetadata.Builder
Hmac Key Metadata, which includes all information other than the secret.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_ID_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
PROJECT_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAccessId()
Immutable.
|
com.google.protobuf.ByteString |
getAccessIdBytes()
Immutable.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static HmacKeyMetadata |
getDefaultInstance() |
HmacKeyMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEtag()
The etag of the HMAC key.
|
com.google.protobuf.ByteString |
getEtagBytes()
The etag of the HMAC key.
|
String |
getId()
Immutable.
|
com.google.protobuf.ByteString |
getIdBytes()
Immutable.
|
com.google.protobuf.Parser<HmacKeyMetadata> |
getParserForType() |
String |
getProject()
Immutable.
|
com.google.protobuf.ByteString |
getProjectBytes()
Immutable.
|
int |
getSerializedSize() |
String |
getServiceAccountEmail()
Output only.
|
com.google.protobuf.ByteString |
getServiceAccountEmailBytes()
Output only.
|
String |
getState()
State of the key.
|
com.google.protobuf.ByteString |
getStateBytes()
State of the key.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static HmacKeyMetadata.Builder |
newBuilder() |
static HmacKeyMetadata.Builder |
newBuilder(HmacKeyMetadata prototype) |
HmacKeyMetadata.Builder |
newBuilderForType() |
protected HmacKeyMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static HmacKeyMetadata |
parseDelimitedFrom(InputStream input) |
static HmacKeyMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKeyMetadata |
parseFrom(byte[] data) |
static HmacKeyMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKeyMetadata |
parseFrom(ByteBuffer data) |
static HmacKeyMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKeyMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static HmacKeyMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKeyMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static HmacKeyMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static HmacKeyMetadata |
parseFrom(InputStream input) |
static HmacKeyMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<HmacKeyMetadata> |
parser() |
HmacKeyMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ID_FIELD_NUMBER
public static final int ACCESS_ID_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public 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];
getId
in interface HmacKeyMetadataOrBuilder
public com.google.protobuf.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];
getIdBytes
in interface HmacKeyMetadataOrBuilder
public String getAccessId()
Immutable. Globally unique id for keys.
string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
getAccessId
in interface HmacKeyMetadataOrBuilder
public com.google.protobuf.ByteString getAccessIdBytes()
Immutable. Globally unique id for keys.
string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
getAccessIdBytes
in interface HmacKeyMetadataOrBuilder
public 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) = { ... }
getProject
in interface HmacKeyMetadataOrBuilder
public com.google.protobuf.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) = { ... }
getProjectBytes
in interface HmacKeyMetadataOrBuilder
public String getServiceAccountEmail()
Output only. Email of the service account the key authenticates as.
string service_account_email = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceAccountEmail
in interface HmacKeyMetadataOrBuilder
public com.google.protobuf.ByteString getServiceAccountEmailBytes()
Output only. Email of the service account the key authenticates as.
string service_account_email = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getServiceAccountEmailBytes
in interface HmacKeyMetadataOrBuilder
public String getState()
State of the key. One of ACTIVE, INACTIVE, or DELETED. Writable, can be updated by UpdateHmacKey operation.
string state = 5;
getState
in interface HmacKeyMetadataOrBuilder
public com.google.protobuf.ByteString getStateBytes()
State of the key. One of ACTIVE, INACTIVE, or DELETED. Writable, can be updated by UpdateHmacKey operation.
string state = 5;
getStateBytes
in interface HmacKeyMetadataOrBuilder
public boolean hasCreateTime()
Output only. The creation time of the HMAC key.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime
in interface HmacKeyMetadataOrBuilder
public 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];
getCreateTime
in interface HmacKeyMetadataOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time of the HMAC key.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder
in interface HmacKeyMetadataOrBuilder
public 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];
hasUpdateTime
in interface HmacKeyMetadataOrBuilder
public 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];
getUpdateTime
in interface HmacKeyMetadataOrBuilder
public com.google.protobuf.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];
getUpdateTimeOrBuilder
in interface HmacKeyMetadataOrBuilder
public String getEtag()
The etag of the HMAC key.
string etag = 8;
getEtag
in interface HmacKeyMetadataOrBuilder
public com.google.protobuf.ByteString getEtagBytes()
The etag of the HMAC key.
string etag = 8;
getEtagBytes
in interface HmacKeyMetadataOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static HmacKeyMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HmacKeyMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HmacKeyMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HmacKeyMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HmacKeyMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HmacKeyMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static HmacKeyMetadata parseFrom(InputStream input) throws IOException
IOException
public static HmacKeyMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HmacKeyMetadata parseDelimitedFrom(InputStream input) throws IOException
IOException
public static HmacKeyMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static HmacKeyMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static HmacKeyMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public HmacKeyMetadata.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static HmacKeyMetadata.Builder newBuilder()
public static HmacKeyMetadata.Builder newBuilder(HmacKeyMetadata prototype)
public HmacKeyMetadata.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected HmacKeyMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static HmacKeyMetadata getDefaultInstance()
public static com.google.protobuf.Parser<HmacKeyMetadata> parser()
public com.google.protobuf.Parser<HmacKeyMetadata> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public HmacKeyMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 Google LLC. All rights reserved.