public static final class CreateHmacKeyRequest.Builder extends GeneratedMessageV3.Builder<CreateHmacKeyRequest.Builder> implements CreateHmacKeyRequestOrBuilder
Request message for CreateHmacKey.
Protobuf type google.storage.v2.CreateHmacKeyRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateHmacKeyRequest.BuilderImplements
CreateHmacKeyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateHmacKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateHmacKeyRequest.Builder |
build()
public CreateHmacKeyRequest build()
Type | Description |
CreateHmacKeyRequest |
buildPartial()
public CreateHmacKeyRequest buildPartial()
Type | Description |
CreateHmacKeyRequest |
clear()
public CreateHmacKeyRequest.Builder clear()
Type | Description |
CreateHmacKeyRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateHmacKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateHmacKeyRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateHmacKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateHmacKeyRequest.Builder |
clearProject()
public CreateHmacKeyRequest.Builder clearProject()
Required. The project that the HMAC-owning service account lives in.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
CreateHmacKeyRequest.Builder | This builder for chaining. |
clearServiceAccountEmail()
public CreateHmacKeyRequest.Builder clearServiceAccountEmail()
Required. The service account to create the HMAC for.
string service_account_email = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateHmacKeyRequest.Builder | This builder for chaining. |
clone()
public CreateHmacKeyRequest.Builder clone()
Type | Description |
CreateHmacKeyRequest.Builder |
getDefaultInstanceForType()
public CreateHmacKeyRequest getDefaultInstanceForType()
Type | Description |
CreateHmacKeyRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getProject()
public String getProject()
Required. The project that the HMAC-owning service account lives in.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The project. |
getProjectBytes()
public ByteString getProjectBytes()
Required. The project that the HMAC-owning service account lives in.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for project. |
getServiceAccountEmail()
public String getServiceAccountEmail()
Required. The service account to create the HMAC for.
string service_account_email = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The serviceAccountEmail. |
getServiceAccountEmailBytes()
public ByteString getServiceAccountEmailBytes()
Required. The service account to create the HMAC for.
string service_account_email = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for serviceAccountEmail. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateHmacKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateHmacKeyRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateHmacKeyRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateHmacKeyRequest.Builder |
mergeFrom(CreateHmacKeyRequest other)
public CreateHmacKeyRequest.Builder mergeFrom(CreateHmacKeyRequest other)
Name | Description |
other | CreateHmacKeyRequest |
Type | Description |
CreateHmacKeyRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateHmacKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateHmacKeyRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateHmacKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateHmacKeyRequest.Builder |
setProject(String value)
public CreateHmacKeyRequest.Builder setProject(String value)
Required. The project that the HMAC-owning service account lives in.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The project to set. |
Type | Description |
CreateHmacKeyRequest.Builder | This builder for chaining. |
setProjectBytes(ByteString value)
public CreateHmacKeyRequest.Builder setProjectBytes(ByteString value)
Required. The project that the HMAC-owning service account lives in.
string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for project to set. |
Type | Description |
CreateHmacKeyRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateHmacKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateHmacKeyRequest.Builder |
setServiceAccountEmail(String value)
public CreateHmacKeyRequest.Builder setServiceAccountEmail(String value)
Required. The service account to create the HMAC for.
string service_account_email = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The serviceAccountEmail to set. |
Type | Description |
CreateHmacKeyRequest.Builder | This builder for chaining. |
setServiceAccountEmailBytes(ByteString value)
public CreateHmacKeyRequest.Builder setServiceAccountEmailBytes(ByteString value)
Required. The service account to create the HMAC for.
string service_account_email = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for serviceAccountEmail to set. |
Type | Description |
CreateHmacKeyRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateHmacKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateHmacKeyRequest.Builder |