public final class UpdateHmacKeyRequest extends GeneratedMessageV3 implements UpdateHmacKeyRequestOrBuilder
Request object to update an HMAC key state.
Protobuf type google.storage.v2.UpdateHmacKeyRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpdateHmacKeyRequestImplements
UpdateHmacKeyRequestOrBuilderStatic Fields
HMAC_KEY_FIELD_NUMBER
public static final int HMAC_KEY_FIELD_NUMBER
Type | Description |
int |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static UpdateHmacKeyRequest getDefaultInstance()
Type | Description |
UpdateHmacKeyRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static UpdateHmacKeyRequest.Builder newBuilder()
Type | Description |
UpdateHmacKeyRequest.Builder |
newBuilder(UpdateHmacKeyRequest prototype)
public static UpdateHmacKeyRequest.Builder newBuilder(UpdateHmacKeyRequest prototype)
Name | Description |
prototype | UpdateHmacKeyRequest |
Type | Description |
UpdateHmacKeyRequest.Builder |
parseDelimitedFrom(InputStream input)
public static UpdateHmacKeyRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateHmacKeyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static UpdateHmacKeyRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateHmacKeyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UpdateHmacKeyRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateHmacKeyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UpdateHmacKeyRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateHmacKeyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static UpdateHmacKeyRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateHmacKeyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UpdateHmacKeyRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateHmacKeyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateHmacKeyRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UpdateHmacKeyRequest> parser()
Type | Description |
Parser<UpdateHmacKeyRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public UpdateHmacKeyRequest getDefaultInstanceForType()
Type | Description |
UpdateHmacKeyRequest |
getHmacKey()
public HmacKeyMetadata getHmacKey()
Required. The HMAC key to update.
If present, the hmac_key's id
field will be used to identify the key.
Otherwise, the hmac_key's access_id and project fields will be used to
identify the key.
.google.storage.v2.HmacKeyMetadata hmac_key = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
HmacKeyMetadata | The hmacKey. |
getHmacKeyOrBuilder()
public HmacKeyMetadataOrBuilder getHmacKeyOrBuilder()
Required. The HMAC key to update.
If present, the hmac_key's id
field will be used to identify the key.
Otherwise, the hmac_key's access_id and project fields will be used to
identify the key.
.google.storage.v2.HmacKeyMetadata hmac_key = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
HmacKeyMetadataOrBuilder |
getParserForType()
public Parser<UpdateHmacKeyRequest> getParserForType()
Type | Description |
Parser<UpdateHmacKeyRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUpdateMask()
public FieldMask getUpdateMask()
Update mask for hmac_key.
.google.protobuf.FieldMask update_mask = 3;
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Update mask for hmac_key.
.google.protobuf.FieldMask update_mask = 3;
Type | Description |
FieldMaskOrBuilder |
hasHmacKey()
public boolean hasHmacKey()
Required. The HMAC key to update.
If present, the hmac_key's id
field will be used to identify the key.
Otherwise, the hmac_key's access_id and project fields will be used to
identify the key.
.google.storage.v2.HmacKeyMetadata hmac_key = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the hmacKey field is set. |
hasUpdateMask()
public boolean hasUpdateMask()
Update mask for hmac_key.
.google.protobuf.FieldMask update_mask = 3;
Type | Description |
boolean | Whether the updateMask field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public UpdateHmacKeyRequest.Builder newBuilderForType()
Type | Description |
UpdateHmacKeyRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateHmacKeyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
UpdateHmacKeyRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public UpdateHmacKeyRequest.Builder toBuilder()
Type | Description |
UpdateHmacKeyRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |