public final class CreateHmacKeyResponse extends GeneratedMessageV3 implements CreateHmacKeyResponseOrBuilder
Create hmac response. The only time the secret for an HMAC will be returned.
Protobuf type google.storage.v2.CreateHmacKeyResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateHmacKeyResponseImplements
CreateHmacKeyResponseOrBuilderStatic Fields
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
Type | Description |
int |
SECRET_KEY_BYTES_FIELD_NUMBER
public static final int SECRET_KEY_BYTES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CreateHmacKeyResponse getDefaultInstance()
Type | Description |
CreateHmacKeyResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static CreateHmacKeyResponse.Builder newBuilder()
Type | Description |
CreateHmacKeyResponse.Builder |
newBuilder(CreateHmacKeyResponse prototype)
public static CreateHmacKeyResponse.Builder newBuilder(CreateHmacKeyResponse prototype)
Name | Description |
prototype |
CreateHmacKeyResponse |
Type | Description |
CreateHmacKeyResponse.Builder |
parseDelimitedFrom(InputStream input)
public static CreateHmacKeyResponse parseDelimitedFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateHmacKeyResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateHmacKeyResponse parseFrom(byte[] data)
Name | Description |
data |
byte[] |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateHmacKeyResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateHmacKeyResponse parseFrom(ByteString data)
Name | Description |
data |
ByteString |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateHmacKeyResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateHmacKeyResponse parseFrom(CodedInputStream input)
Name | Description |
input |
CodedInputStream |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateHmacKeyResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateHmacKeyResponse parseFrom(InputStream input)
Name | Description |
input |
InputStream |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateHmacKeyResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateHmacKeyResponse parseFrom(ByteBuffer data)
Name | Description |
data |
ByteBuffer |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateHmacKeyResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
CreateHmacKeyResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateHmacKeyResponse> parser()
Type | Description |
Parser<CreateHmacKeyResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj |
Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public CreateHmacKeyResponse getDefaultInstanceForType()
Type | Description |
CreateHmacKeyResponse |
getMetadata()
public HmacKeyMetadata getMetadata()
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Type | Description |
HmacKeyMetadata |
The metadata. |
getMetadataOrBuilder()
public HmacKeyMetadataOrBuilder getMetadataOrBuilder()
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Type | Description |
HmacKeyMetadataOrBuilder |
getParserForType()
public Parser<CreateHmacKeyResponse> getParserForType()
Type | Description |
Parser<CreateHmacKeyResponse> |
getSecretKeyBytes()
public ByteString getSecretKeyBytes()
HMAC key secret material. In raw bytes format (not base64-encoded).
bytes secret_key_bytes = 3;
Type | Description |
ByteString |
The secretKeyBytes. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasMetadata()
public boolean hasMetadata()
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Type | Description |
boolean |
Whether the metadata 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 CreateHmacKeyResponse.Builder newBuilderForType()
Type | Description |
CreateHmacKeyResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateHmacKeyResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent |
BuilderParent |
Type | Description |
CreateHmacKeyResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused |
UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public CreateHmacKeyResponse.Builder toBuilder()
Type | Description |
CreateHmacKeyResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output |
CodedOutputStream |
Type | Description |
IOException |