Class CommonObjectRequestParams (2.37.0)

public final class CommonObjectRequestParams extends GeneratedMessageV3 implements CommonObjectRequestParamsOrBuilder

Parameters that can be passed to any object request.

Protobuf type google.storage.v2.CommonObjectRequestParams

Static Fields

ENCRYPTION_ALGORITHM_FIELD_NUMBER

public static final int ENCRYPTION_ALGORITHM_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTION_KEY_BYTES_FIELD_NUMBER

public static final int ENCRYPTION_KEY_BYTES_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTION_KEY_SHA256_BYTES_FIELD_NUMBER

public static final int ENCRYPTION_KEY_SHA256_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CommonObjectRequestParams getDefaultInstance()
Returns
Type Description
CommonObjectRequestParams

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CommonObjectRequestParams.Builder newBuilder()
Returns
Type Description
CommonObjectRequestParams.Builder

newBuilder(CommonObjectRequestParams prototype)

public static CommonObjectRequestParams.Builder newBuilder(CommonObjectRequestParams prototype)
Parameter
Name Description
prototype CommonObjectRequestParams
Returns
Type Description
CommonObjectRequestParams.Builder

parseDelimitedFrom(InputStream input)

public static CommonObjectRequestParams parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CommonObjectRequestParams parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CommonObjectRequestParams parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CommonObjectRequestParams parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CommonObjectRequestParams parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CommonObjectRequestParams parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommonObjectRequestParams
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CommonObjectRequestParams> parser()
Returns
Type Description
Parser<CommonObjectRequestParams>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CommonObjectRequestParams getDefaultInstanceForType()
Returns
Type Description
CommonObjectRequestParams

getEncryptionAlgorithm()

public String getEncryptionAlgorithm()

Encryption algorithm used with the Customer-Supplied Encryption Keys feature.

string encryption_algorithm = 1;

Returns
Type Description
String

The encryptionAlgorithm.

getEncryptionAlgorithmBytes()

public ByteString getEncryptionAlgorithmBytes()

Encryption algorithm used with the Customer-Supplied Encryption Keys feature.

string encryption_algorithm = 1;

Returns
Type Description
ByteString

The bytes for encryptionAlgorithm.

getEncryptionKeyBytes()

public ByteString getEncryptionKeyBytes()

Encryption key used with the Customer-Supplied Encryption Keys feature. In raw bytes format (not base64-encoded).

bytes encryption_key_bytes = 4;

Returns
Type Description
ByteString

The encryptionKeyBytes.

getEncryptionKeySha256Bytes()

public ByteString getEncryptionKeySha256Bytes()

SHA256 hash of encryption key used with the Customer-Supplied Encryption Keys feature.

bytes encryption_key_sha256_bytes = 5;

Returns
Type Description
ByteString

The encryptionKeySha256Bytes.

getParserForType()

public Parser<CommonObjectRequestParams> getParserForType()
Returns
Type Description
Parser<CommonObjectRequestParams>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CommonObjectRequestParams.Builder newBuilderForType()
Returns
Type Description
CommonObjectRequestParams.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CommonObjectRequestParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CommonObjectRequestParams.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CommonObjectRequestParams.Builder toBuilder()
Returns
Type Description
CommonObjectRequestParams.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException