public static final class DeleteHmacKeyRequest.Builder extends GeneratedMessageV3.Builder<DeleteHmacKeyRequest.Builder> implements DeleteHmacKeyRequestOrBuilder
Request object to delete a given HMAC key.
Protobuf type google.storage.v2.DeleteHmacKeyRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteHmacKeyRequest.BuilderImplements
DeleteHmacKeyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteHmacKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteHmacKeyRequest.Builder |
build()
public DeleteHmacKeyRequest build()
Type | Description |
DeleteHmacKeyRequest |
buildPartial()
public DeleteHmacKeyRequest buildPartial()
Type | Description |
DeleteHmacKeyRequest |
clear()
public DeleteHmacKeyRequest.Builder clear()
Type | Description |
DeleteHmacKeyRequest.Builder |
clearAccessId()
public DeleteHmacKeyRequest.Builder clearAccessId()
Required. The identifying key for the HMAC to delete.
string access_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
DeleteHmacKeyRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DeleteHmacKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeleteHmacKeyRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteHmacKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteHmacKeyRequest.Builder |
clearProject()
public DeleteHmacKeyRequest.Builder clearProject()
Required. The project id the HMAC key lies in.
string project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteHmacKeyRequest.Builder | This builder for chaining. |
clone()
public DeleteHmacKeyRequest.Builder clone()
Type | Description |
DeleteHmacKeyRequest.Builder |
getAccessId()
public String getAccessId()
Required. The identifying key for the HMAC to delete.
string access_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
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];
Type | Description |
ByteString | The bytes for accessId. |
getDefaultInstanceForType()
public DeleteHmacKeyRequest getDefaultInstanceForType()
Type | Description |
DeleteHmacKeyRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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) = { ... }
Type | Description |
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) = { ... }
Type | Description |
ByteString | The bytes for project. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteHmacKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteHmacKeyRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteHmacKeyRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteHmacKeyRequest.Builder |
mergeFrom(DeleteHmacKeyRequest other)
public DeleteHmacKeyRequest.Builder mergeFrom(DeleteHmacKeyRequest other)
Name | Description |
other | DeleteHmacKeyRequest |
Type | Description |
DeleteHmacKeyRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteHmacKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteHmacKeyRequest.Builder |
setAccessId(String value)
public DeleteHmacKeyRequest.Builder setAccessId(String value)
Required. The identifying key for the HMAC to delete.
string access_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The accessId to set. |
Type | Description |
DeleteHmacKeyRequest.Builder | This builder for chaining. |
setAccessIdBytes(ByteString value)
public DeleteHmacKeyRequest.Builder setAccessIdBytes(ByteString value)
Required. The identifying key for the HMAC to delete.
string access_id = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for accessId to set. |
Type | Description |
DeleteHmacKeyRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteHmacKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteHmacKeyRequest.Builder |
setProject(String value)
public DeleteHmacKeyRequest.Builder setProject(String value)
Required. The project id the HMAC key lies in.
string project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The project to set. |
Type | Description |
DeleteHmacKeyRequest.Builder | This builder for chaining. |
setProjectBytes(ByteString value)
public DeleteHmacKeyRequest.Builder setProjectBytes(ByteString value)
Required. The project id the HMAC key lies in.
string project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for project to set. |
Type | Description |
DeleteHmacKeyRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteHmacKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteHmacKeyRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteHmacKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteHmacKeyRequest.Builder |