Class DeleteHmacKeyRequest (2.29.0)

public final class DeleteHmacKeyRequest extends GeneratedMessageV3 implements DeleteHmacKeyRequestOrBuilder

Request object to delete a given HMAC key.

Protobuf type google.storage.v2.DeleteHmacKeyRequest

Static Fields

ACCESS_ID_FIELD_NUMBER

public static final int ACCESS_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_FIELD_NUMBER

public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DeleteHmacKeyRequest getDefaultInstance()
Returns
TypeDescription
DeleteHmacKeyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DeleteHmacKeyRequest.Builder newBuilder()
Returns
TypeDescription
DeleteHmacKeyRequest.Builder

newBuilder(DeleteHmacKeyRequest prototype)

public static DeleteHmacKeyRequest.Builder newBuilder(DeleteHmacKeyRequest prototype)
Parameter
NameDescription
prototypeDeleteHmacKeyRequest
Returns
TypeDescription
DeleteHmacKeyRequest.Builder

parseDelimitedFrom(InputStream input)

public static DeleteHmacKeyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteHmacKeyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DeleteHmacKeyRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeleteHmacKeyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeleteHmacKeyRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeleteHmacKeyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeleteHmacKeyRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteHmacKeyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DeleteHmacKeyRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeleteHmacKeyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DeleteHmacKeyRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeleteHmacKeyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteHmacKeyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DeleteHmacKeyRequest> parser()
Returns
TypeDescription
Parser<DeleteHmacKeyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAccessId()

public String getAccessId()

Required. The identifying key for the HMAC to delete.

string access_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The accessId.

getAccessIdBytes()

public ByteString getAccessIdBytes()

Required. The identifying key for the HMAC to delete.

string access_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for accessId.

getDefaultInstanceForType()

public DeleteHmacKeyRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteHmacKeyRequest

getParserForType()

public Parser<DeleteHmacKeyRequest> getParserForType()
Returns
TypeDescription
Parser<DeleteHmacKeyRequest>
Overrides

getProject()

public String getProject()

Required. The project that owns the HMAC key, in the format of "projects/{projectIdentifier}". {projectIdentifier} can be the project ID or project number.

string project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Required. The project that owns the HMAC key, in the format of "projects/{projectIdentifier}". {projectIdentifier} can be the project ID or project number.

string project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for project.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DeleteHmacKeyRequest.Builder newBuilderForType()
Returns
TypeDescription
DeleteHmacKeyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DeleteHmacKeyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DeleteHmacKeyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DeleteHmacKeyRequest.Builder toBuilder()
Returns
TypeDescription
DeleteHmacKeyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException