Class CommonObjectRequestParams (2.17.1)

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
TypeDescription
int

ENCRYPTION_KEY_BYTES_FIELD_NUMBER

public static final int ENCRYPTION_KEY_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

ENCRYPTION_KEY_SHA256_BYTES_FIELD_NUMBER

public static final int ENCRYPTION_KEY_SHA256_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CommonObjectRequestParams getDefaultInstance()
Returns
TypeDescription
CommonObjectRequestParams

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CommonObjectRequestParams.Builder newBuilder()
Returns
TypeDescription
CommonObjectRequestParams.Builder

newBuilder(CommonObjectRequestParams prototype)

public static CommonObjectRequestParams.Builder newBuilder(CommonObjectRequestParams prototype)
Parameter
NameDescription
prototypeCommonObjectRequestParams
Returns
TypeDescription
CommonObjectRequestParams.Builder

parseDelimitedFrom(InputStream input)

public static CommonObjectRequestParams parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CommonObjectRequestParams parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CommonObjectRequestParams parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CommonObjectRequestParams parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CommonObjectRequestParams parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CommonObjectRequestParams parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CommonObjectRequestParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommonObjectRequestParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CommonObjectRequestParams> parser()
Returns
TypeDescription
Parser<CommonObjectRequestParams>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CommonObjectRequestParams getDefaultInstanceForType()
Returns
TypeDescription
CommonObjectRequestParams

getEncryptionAlgorithm()

public String getEncryptionAlgorithm()

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

string encryption_algorithm = 1;

Returns
TypeDescription
String

The encryptionAlgorithm.

getEncryptionAlgorithmBytes()

public ByteString getEncryptionAlgorithmBytes()

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

string encryption_algorithm = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The encryptionKeySha256Bytes.

getParserForType()

public Parser<CommonObjectRequestParams> getParserForType()
Returns
TypeDescription
Parser<CommonObjectRequestParams>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CommonObjectRequestParams.Builder newBuilderForType()
Returns
TypeDescription
CommonObjectRequestParams.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CommonObjectRequestParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CommonObjectRequestParams.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CommonObjectRequestParams.Builder toBuilder()
Returns
TypeDescription
CommonObjectRequestParams.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException