public static final class CommonObjectRequestParams.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder> implements CommonObjectRequestParamsOrBuilder
Parameters that can be passed to any object request.Protobuf type
google.storage.v2.CommonObjectRequestParams
Modifier and Type | Method and Description |
---|---|
CommonObjectRequestParams.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommonObjectRequestParams |
build() |
CommonObjectRequestParams |
buildPartial() |
CommonObjectRequestParams.Builder |
clear() |
CommonObjectRequestParams.Builder |
clearEncryptionAlgorithm()
Encryption algorithm used with the Customer-Supplied Encryption Keys
feature.
|
CommonObjectRequestParams.Builder |
clearEncryptionKeyBytes()
Encryption key used with the Customer-Supplied Encryption Keys feature.
|
CommonObjectRequestParams.Builder |
clearEncryptionKeySha256Bytes()
SHA256 hash of encryption key used with the Customer-Supplied Encryption
Keys feature.
|
CommonObjectRequestParams.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommonObjectRequestParams.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommonObjectRequestParams.Builder |
clone() |
CommonObjectRequestParams |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEncryptionAlgorithm()
Encryption algorithm used with the Customer-Supplied Encryption Keys
feature.
|
com.google.protobuf.ByteString |
getEncryptionAlgorithmBytes()
Encryption algorithm used with the Customer-Supplied Encryption Keys
feature.
|
com.google.protobuf.ByteString |
getEncryptionKeyBytes()
Encryption key used with the Customer-Supplied Encryption Keys feature.
|
com.google.protobuf.ByteString |
getEncryptionKeySha256Bytes()
SHA256 hash of encryption key used with the Customer-Supplied Encryption
Keys feature.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommonObjectRequestParams.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommonObjectRequestParams.Builder |
mergeFrom(CommonObjectRequestParams other) |
CommonObjectRequestParams.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommonObjectRequestParams.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommonObjectRequestParams.Builder |
setEncryptionAlgorithm(String value)
Encryption algorithm used with the Customer-Supplied Encryption Keys
feature.
|
CommonObjectRequestParams.Builder |
setEncryptionAlgorithmBytes(com.google.protobuf.ByteString value)
Encryption algorithm used with the Customer-Supplied Encryption Keys
feature.
|
CommonObjectRequestParams.Builder |
setEncryptionKeyBytes(com.google.protobuf.ByteString value)
Encryption key used with the Customer-Supplied Encryption Keys feature.
|
CommonObjectRequestParams.Builder |
setEncryptionKeySha256Bytes(com.google.protobuf.ByteString value)
SHA256 hash of encryption key used with the Customer-Supplied Encryption
Keys feature.
|
CommonObjectRequestParams.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommonObjectRequestParams.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommonObjectRequestParams.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CommonObjectRequestParams build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CommonObjectRequestParams buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CommonObjectRequestParams.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams.Builder mergeFrom(CommonObjectRequestParams other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public CommonObjectRequestParams.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CommonObjectRequestParams.Builder>
IOException
public String getEncryptionAlgorithm()
Encryption algorithm used with the Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
getEncryptionAlgorithm
in interface CommonObjectRequestParamsOrBuilder
public com.google.protobuf.ByteString getEncryptionAlgorithmBytes()
Encryption algorithm used with the Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
getEncryptionAlgorithmBytes
in interface CommonObjectRequestParamsOrBuilder
public CommonObjectRequestParams.Builder setEncryptionAlgorithm(String value)
Encryption algorithm used with the Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
value
- The encryptionAlgorithm to set.public CommonObjectRequestParams.Builder clearEncryptionAlgorithm()
Encryption algorithm used with the Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
public CommonObjectRequestParams.Builder setEncryptionAlgorithmBytes(com.google.protobuf.ByteString value)
Encryption algorithm used with the Customer-Supplied Encryption Keys feature.
string encryption_algorithm = 1;
value
- The bytes for encryptionAlgorithm to set.public com.google.protobuf.ByteString getEncryptionKeyBytes()
Encryption key used with the Customer-Supplied Encryption Keys feature. In raw bytes format (not base64-encoded).
bytes encryption_key_bytes = 4;
getEncryptionKeyBytes
in interface CommonObjectRequestParamsOrBuilder
public CommonObjectRequestParams.Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value)
Encryption key used with the Customer-Supplied Encryption Keys feature. In raw bytes format (not base64-encoded).
bytes encryption_key_bytes = 4;
value
- The encryptionKeyBytes to set.public CommonObjectRequestParams.Builder clearEncryptionKeyBytes()
Encryption key used with the Customer-Supplied Encryption Keys feature. In raw bytes format (not base64-encoded).
bytes encryption_key_bytes = 4;
public com.google.protobuf.ByteString getEncryptionKeySha256Bytes()
SHA256 hash of encryption key used with the Customer-Supplied Encryption Keys feature.
bytes encryption_key_sha256_bytes = 5;
getEncryptionKeySha256Bytes
in interface CommonObjectRequestParamsOrBuilder
public CommonObjectRequestParams.Builder setEncryptionKeySha256Bytes(com.google.protobuf.ByteString value)
SHA256 hash of encryption key used with the Customer-Supplied Encryption Keys feature.
bytes encryption_key_sha256_bytes = 5;
value
- The encryptionKeySha256Bytes to set.public CommonObjectRequestParams.Builder clearEncryptionKeySha256Bytes()
SHA256 hash of encryption key used with the Customer-Supplied Encryption Keys feature.
bytes encryption_key_sha256_bytes = 5;
public final CommonObjectRequestParams.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
public final CommonObjectRequestParams.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CommonObjectRequestParams.Builder>
Copyright © 2023 Google LLC. All rights reserved.