public static final class Bucket.Encryption extends GeneratedMessageV3 implements Bucket.EncryptionOrBuilder
Encryption properties of a bucket.
Protobuf type google.storage.v2.Bucket.Encryption
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Bucket.EncryptionImplements
Bucket.EncryptionOrBuilderStatic Fields
DEFAULT_KMS_KEY_FIELD_NUMBER
public static final int DEFAULT_KMS_KEY_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Bucket.Encryption getDefaultInstance()
Type | Description |
Bucket.Encryption |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Bucket.Encryption.Builder newBuilder()
Type | Description |
Bucket.Encryption.Builder |
newBuilder(Bucket.Encryption prototype)
public static Bucket.Encryption.Builder newBuilder(Bucket.Encryption prototype)
Name | Description |
prototype | Bucket.Encryption |
Type | Description |
Bucket.Encryption.Builder |
parseDelimitedFrom(InputStream input)
public static Bucket.Encryption parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Bucket.Encryption |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Encryption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Encryption |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Bucket.Encryption parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Bucket.Encryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Encryption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Encryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Bucket.Encryption parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Bucket.Encryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Encryption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Encryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Bucket.Encryption parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Bucket.Encryption |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Encryption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Encryption |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Bucket.Encryption parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Bucket.Encryption |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Encryption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Encryption |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Bucket.Encryption parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Bucket.Encryption |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Encryption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Encryption |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Bucket.Encryption> parser()
Type | Description |
Parser<Encryption> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Bucket.Encryption getDefaultInstanceForType()
Type | Description |
Bucket.Encryption |
getDefaultKmsKey()
public String getDefaultKmsKey()
The name of the Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
string default_kms_key = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The defaultKmsKey. |
getDefaultKmsKeyBytes()
public ByteString getDefaultKmsKeyBytes()
The name of the Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified.
string default_kms_key = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for defaultKmsKey. |
getParserForType()
public Parser<Bucket.Encryption> getParserForType()
Type | Description |
Parser<Encryption> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Bucket.Encryption.Builder newBuilderForType()
Type | Description |
Bucket.Encryption.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bucket.Encryption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Bucket.Encryption.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Bucket.Encryption.Builder toBuilder()
Type | Description |
Bucket.Encryption.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |