public static final class CreateHmacKeyResponse.Builder extends GeneratedMessageV3.Builder<CreateHmacKeyResponse.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateHmacKeyResponse.BuilderImplements
CreateHmacKeyResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateHmacKeyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateHmacKeyResponse.Builder |
build()
public CreateHmacKeyResponse build()
Type | Description |
CreateHmacKeyResponse |
buildPartial()
public CreateHmacKeyResponse buildPartial()
Type | Description |
CreateHmacKeyResponse |
clear()
public CreateHmacKeyResponse.Builder clear()
Type | Description |
CreateHmacKeyResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateHmacKeyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateHmacKeyResponse.Builder |
clearMetadata()
public CreateHmacKeyResponse.Builder clearMetadata()
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Type | Description |
CreateHmacKeyResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateHmacKeyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateHmacKeyResponse.Builder |
clearSecretKeyBytes()
public CreateHmacKeyResponse.Builder clearSecretKeyBytes()
HMAC key secret material. In raw bytes format (not base64-encoded).
bytes secret_key_bytes = 3;
Type | Description |
CreateHmacKeyResponse.Builder | This builder for chaining. |
clone()
public CreateHmacKeyResponse.Builder clone()
Type | Description |
CreateHmacKeyResponse.Builder |
getDefaultInstanceForType()
public CreateHmacKeyResponse getDefaultInstanceForType()
Type | Description |
CreateHmacKeyResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMetadata()
public HmacKeyMetadata getMetadata()
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Type | Description |
HmacKeyMetadata | The metadata. |
getMetadataBuilder()
public HmacKeyMetadata.Builder getMetadataBuilder()
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Type | Description |
HmacKeyMetadata.Builder |
getMetadataOrBuilder()
public HmacKeyMetadataOrBuilder getMetadataOrBuilder()
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Type | Description |
HmacKeyMetadataOrBuilder |
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. |
hasMetadata()
public boolean hasMetadata()
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Type | Description |
boolean | Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateHmacKeyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateHmacKeyResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateHmacKeyResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateHmacKeyResponse.Builder |
mergeFrom(CreateHmacKeyResponse other)
public CreateHmacKeyResponse.Builder mergeFrom(CreateHmacKeyResponse other)
Name | Description |
other | CreateHmacKeyResponse |
Type | Description |
CreateHmacKeyResponse.Builder |
mergeMetadata(HmacKeyMetadata value)
public CreateHmacKeyResponse.Builder mergeMetadata(HmacKeyMetadata value)
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Name | Description |
value | HmacKeyMetadata |
Type | Description |
CreateHmacKeyResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateHmacKeyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateHmacKeyResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateHmacKeyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateHmacKeyResponse.Builder |
setMetadata(HmacKeyMetadata value)
public CreateHmacKeyResponse.Builder setMetadata(HmacKeyMetadata value)
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Name | Description |
value | HmacKeyMetadata |
Type | Description |
CreateHmacKeyResponse.Builder |
setMetadata(HmacKeyMetadata.Builder builderForValue)
public CreateHmacKeyResponse.Builder setMetadata(HmacKeyMetadata.Builder builderForValue)
Key metadata.
.google.storage.v2.HmacKeyMetadata metadata = 1;
Name | Description |
builderForValue | HmacKeyMetadata.Builder |
Type | Description |
CreateHmacKeyResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateHmacKeyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateHmacKeyResponse.Builder |
setSecretKeyBytes(ByteString value)
public CreateHmacKeyResponse.Builder setSecretKeyBytes(ByteString value)
HMAC key secret material. In raw bytes format (not base64-encoded).
bytes secret_key_bytes = 3;
Name | Description |
value | ByteString The secretKeyBytes to set. |
Type | Description |
CreateHmacKeyResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateHmacKeyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateHmacKeyResponse.Builder |