Class GetHmacKeyRequest (2.9.1)

public final class GetHmacKeyRequest extends GeneratedMessageV3 implements GetHmacKeyRequestOrBuilder

Request object to get metadata on a given HMAC key.

Protobuf type google.storage.v2.GetHmacKeyRequest

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 GetHmacKeyRequest getDefaultInstance()
Returns
TypeDescription
GetHmacKeyRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetHmacKeyRequest prototype)

public static GetHmacKeyRequest.Builder newBuilder(GetHmacKeyRequest prototype)
Parameter
NameDescription
prototypeGetHmacKeyRequest
Returns
TypeDescription
GetHmacKeyRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 GetHmacKeyRequest getDefaultInstanceForType()
Returns
TypeDescription
GetHmacKeyRequest

getParserForType()

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

getProject()

public String getProject()

Required. The project id the HMAC key lies in.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Required. The project id the HMAC key lies in.

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 GetHmacKeyRequest.Builder newBuilderForType()
Returns
TypeDescription
GetHmacKeyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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