public static final class CommonObjectRequestParams.Builder extends GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder> implements CommonObjectRequestParamsOrBuilder
Parameters that can be passed to any object request.
Protobuf type google.storage.v2.CommonObjectRequestParams
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CommonObjectRequestParams.BuilderImplements
CommonObjectRequestParamsOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommonObjectRequestParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommonObjectRequestParams.Builder |
build()
public CommonObjectRequestParams build()
Type | Description |
CommonObjectRequestParams |
buildPartial()
public CommonObjectRequestParams buildPartial()
Type | Description |
CommonObjectRequestParams |
clear()
public CommonObjectRequestParams.Builder clear()
Type | Description |
CommonObjectRequestParams.Builder |
clearEncryptionAlgorithm()
public CommonObjectRequestParams.Builder clearEncryptionAlgorithm()
Encryption algorithm used with Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
Type | Description |
CommonObjectRequestParams.Builder | This builder for chaining. |
clearEncryptionKeyBytes()
public CommonObjectRequestParams.Builder clearEncryptionKeyBytes()
Encryption key used with Customer-Supplied Encryption Keys feature. In raw bytes format (not base64-encoded).
bytes encryption_key_bytes = 4;
Type | Description |
CommonObjectRequestParams.Builder | This builder for chaining. |
clearEncryptionKeySha256Bytes()
public CommonObjectRequestParams.Builder clearEncryptionKeySha256Bytes()
SHA256 hash of encryption key used with Customer-Supplied Encryption Keys feature.
bytes encryption_key_sha256_bytes = 5;
Type | Description |
CommonObjectRequestParams.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CommonObjectRequestParams.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CommonObjectRequestParams.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CommonObjectRequestParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CommonObjectRequestParams.Builder |
clone()
public CommonObjectRequestParams.Builder clone()
Type | Description |
CommonObjectRequestParams.Builder |
getDefaultInstanceForType()
public CommonObjectRequestParams getDefaultInstanceForType()
Type | Description |
CommonObjectRequestParams |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEncryptionAlgorithm()
public String getEncryptionAlgorithm()
Encryption algorithm used with Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
Type | Description |
String | The encryptionAlgorithm. |
getEncryptionAlgorithmBytes()
public ByteString getEncryptionAlgorithmBytes()
Encryption algorithm used with Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
Type | Description |
ByteString | The bytes for encryptionAlgorithm. |
getEncryptionKeyBytes()
public ByteString getEncryptionKeyBytes()
Encryption key used with Customer-Supplied Encryption Keys feature. In raw bytes format (not base64-encoded).
bytes encryption_key_bytes = 4;
Type | Description |
ByteString | The encryptionKeyBytes. |
getEncryptionKeySha256Bytes()
public ByteString getEncryptionKeySha256Bytes()
SHA256 hash of encryption key used with Customer-Supplied Encryption Keys feature.
bytes encryption_key_sha256_bytes = 5;
Type | Description |
ByteString | The encryptionKeySha256Bytes. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommonObjectRequestParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommonObjectRequestParams.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CommonObjectRequestParams.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CommonObjectRequestParams.Builder |
mergeFrom(CommonObjectRequestParams other)
public CommonObjectRequestParams.Builder mergeFrom(CommonObjectRequestParams other)
Name | Description |
other | CommonObjectRequestParams |
Type | Description |
CommonObjectRequestParams.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommonObjectRequestParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommonObjectRequestParams.Builder |
setEncryptionAlgorithm(String value)
public CommonObjectRequestParams.Builder setEncryptionAlgorithm(String value)
Encryption algorithm used with Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
Name | Description |
value | String The encryptionAlgorithm to set. |
Type | Description |
CommonObjectRequestParams.Builder | This builder for chaining. |
setEncryptionAlgorithmBytes(ByteString value)
public CommonObjectRequestParams.Builder setEncryptionAlgorithmBytes(ByteString value)
Encryption algorithm used with Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
Name | Description |
value | ByteString The bytes for encryptionAlgorithm to set. |
Type | Description |
CommonObjectRequestParams.Builder | This builder for chaining. |
setEncryptionKeyBytes(ByteString value)
public CommonObjectRequestParams.Builder setEncryptionKeyBytes(ByteString value)
Encryption key used with Customer-Supplied Encryption Keys feature. In raw bytes format (not base64-encoded).
bytes encryption_key_bytes = 4;
Name | Description |
value | ByteString The encryptionKeyBytes to set. |
Type | Description |
CommonObjectRequestParams.Builder | This builder for chaining. |
setEncryptionKeySha256Bytes(ByteString value)
public CommonObjectRequestParams.Builder setEncryptionKeySha256Bytes(ByteString value)
SHA256 hash of encryption key used with Customer-Supplied Encryption Keys feature.
bytes encryption_key_sha256_bytes = 5;
Name | Description |
value | ByteString The encryptionKeySha256Bytes to set. |
Type | Description |
CommonObjectRequestParams.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CommonObjectRequestParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommonObjectRequestParams.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommonObjectRequestParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CommonObjectRequestParams.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CommonObjectRequestParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommonObjectRequestParams.Builder |