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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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.UnknownFieldSet |
getUnknownFields() |
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, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic String getAccessId()
Immutable. Globally unique id for keys.
string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE];getAccessId in interface HmacKeyMetadataOrBuilderpublic com.google.protobuf.ByteString getAccessIdBytes()
Immutable. Globally unique id for keys.
string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE];getAccessIdBytes in interface HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic 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 HmacKeyMetadataOrBuilderpublic String getEtag()
The etag of the HMAC key.
string etag = 8;getEtag in interface HmacKeyMetadataOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
The etag of the HMAC key.
string etag = 8;getEtagBytes in interface HmacKeyMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HmacKeyMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HmacKeyMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static HmacKeyMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HmacKeyMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HmacKeyMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HmacKeyMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HmacKeyMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HmacKeyMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HmacKeyMetadata.Builder newBuilder()
public static HmacKeyMetadata.Builder newBuilder(HmacKeyMetadata prototype)
public HmacKeyMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HmacKeyMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HmacKeyMetadata getDefaultInstance()
public static com.google.protobuf.Parser<HmacKeyMetadata> parser()
public com.google.protobuf.Parser<HmacKeyMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HmacKeyMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.