public static enum ServiceConstants.Values extends Enum<ServiceConstants.Values> implements com.google.protobuf.ProtocolMessageEnum
A collection of constant values meaningful to the Storage API.Protobuf enum
google.storage.v2.ServiceConstants.Values
Enum Constant and Description |
---|
MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES
The maximum total bytes that can be populated into all bucket metadata
fields.
|
MAX_CUSTOM_METADATA_FIELD_NAME_BYTES
The maximum length field name that can be sent in a single
custom metadata field.
|
MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES
The maximum length field value that can be sent in a single
custom_metadata field.
|
MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES
The maximum total bytes that can be populated into all field names and
values of the custom_metadata for one object.
|
MAX_LABELS_ENTRIES_COUNT
The maximum number of key/value entries per bucket label.
|
MAX_LABELS_KEY_VALUE_BYTES
The maximum byte size of the key or value in a bucket label
map.
|
MAX_LABELS_KEY_VALUE_LENGTH
The maximum character length of the key or value in a bucket
label map.
|
MAX_NOTIFICATION_CONFIGS_PER_BUCKET
The maximum number of NotificationConfigs that can be registered
for a given bucket.
|
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH
The maximum length of a custom attribute key included in
NotificationConfig.
|
MAX_NOTIFICATION_CUSTOM_ATTRIBUTES
The maximum number of custom attributes per NotificationConfigs.
|
MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST
The maximum number of object IDs that can be included in a
DeleteObjectsRequest.
|
MAX_OBJECT_SIZE_MB
The maximum size of an object in MB - whether written in a single stream
or composed from multiple other objects.
|
MAX_READ_CHUNK_BYTES
The maximum size chunk that can will be returned in a single
ReadRequest.
|
SPLIT_TOKEN_MAX_VALID_DAYS
The maximum number of days for which a token returned by the
GetListObjectsSplitPoints RPC is valid.
|
UNRECOGNIZED |
VALUES_UNSPECIFIED
Unused.
|
Modifier and Type | Field and Description |
---|---|
static int |
MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES_VALUE
The maximum total bytes that can be populated into all bucket metadata
fields.
|
static int |
MAX_CUSTOM_METADATA_FIELD_NAME_BYTES_VALUE
The maximum length field name that can be sent in a single
custom metadata field.
|
static int |
MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES_VALUE
The maximum length field value that can be sent in a single
custom_metadata field.
|
static int |
MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES_VALUE
The maximum total bytes that can be populated into all field names and
values of the custom_metadata for one object.
|
static int |
MAX_LABELS_ENTRIES_COUNT_VALUE
The maximum number of key/value entries per bucket label.
|
static int |
MAX_LABELS_KEY_VALUE_BYTES_VALUE
The maximum byte size of the key or value in a bucket label
map.
|
static int |
MAX_LABELS_KEY_VALUE_LENGTH_VALUE
The maximum character length of the key or value in a bucket
label map.
|
static ServiceConstants.Values |
MAX_LIFECYCLE_RULES_PER_BUCKET
The maximum number of LifecycleRules that can be registered for a given
bucket.
|
static int |
MAX_LIFECYCLE_RULES_PER_BUCKET_VALUE
The maximum number of LifecycleRules that can be registered for a given
bucket.
|
static int |
MAX_NOTIFICATION_CONFIGS_PER_BUCKET_VALUE
The maximum number of NotificationConfigs that can be registered
for a given bucket.
|
static int |
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH_VALUE
The maximum length of a custom attribute key included in
NotificationConfig.
|
static ServiceConstants.Values |
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH
The maximum length of a custom attribute value included in a
NotificationConfig.
|
static int |
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH_VALUE
The maximum length of a custom attribute value included in a
NotificationConfig.
|
static int |
MAX_NOTIFICATION_CUSTOM_ATTRIBUTES_VALUE
The maximum number of custom attributes per NotificationConfigs.
|
static int |
MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST_VALUE
The maximum number of object IDs that can be included in a
DeleteObjectsRequest.
|
static int |
MAX_OBJECT_SIZE_MB_VALUE
The maximum size of an object in MB - whether written in a single stream
or composed from multiple other objects.
|
static int |
MAX_READ_CHUNK_BYTES_VALUE
The maximum size chunk that can will be returned in a single
ReadRequest.
|
static ServiceConstants.Values |
MAX_WRITE_CHUNK_BYTES
The maximum size chunk that can be sent in a single WriteObjectRequest.
|
static int |
MAX_WRITE_CHUNK_BYTES_VALUE
The maximum size chunk that can be sent in a single WriteObjectRequest.
|
static int |
SPLIT_TOKEN_MAX_VALID_DAYS_VALUE
The maximum number of days for which a token returned by the
GetListObjectsSplitPoints RPC is valid.
|
static int |
VALUES_UNSPECIFIED_VALUE
Unused.
|
Modifier and Type | Method and Description |
---|---|
static ServiceConstants.Values |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ServiceConstants.Values> |
internalGetValueMap() |
static ServiceConstants.Values |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ServiceConstants.Values |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServiceConstants.Values |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceConstants.Values[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceConstants.Values VALUES_UNSPECIFIED
Unused. Proto3 requires first enum to be 0.
VALUES_UNSPECIFIED = 0;
public static final ServiceConstants.Values MAX_READ_CHUNK_BYTES
The maximum size chunk that can will be returned in a single ReadRequest. 2 MiB.
MAX_READ_CHUNK_BYTES = 2097152;
public static final ServiceConstants.Values MAX_OBJECT_SIZE_MB
The maximum size of an object in MB - whether written in a single stream or composed from multiple other objects. 5 TiB.
MAX_OBJECT_SIZE_MB = 5242880;
public static final ServiceConstants.Values MAX_CUSTOM_METADATA_FIELD_NAME_BYTES
The maximum length field name that can be sent in a single custom metadata field. 1 KiB.
MAX_CUSTOM_METADATA_FIELD_NAME_BYTES = 1024;
public static final ServiceConstants.Values MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES
The maximum length field value that can be sent in a single custom_metadata field. 4 KiB.
MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES = 4096;
public static final ServiceConstants.Values MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES
The maximum total bytes that can be populated into all field names and values of the custom_metadata for one object. 8 KiB.
MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES = 8192;
public static final ServiceConstants.Values MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES
The maximum total bytes that can be populated into all bucket metadata fields. 20 KiB.
MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES = 20480;
public static final ServiceConstants.Values MAX_NOTIFICATION_CONFIGS_PER_BUCKET
The maximum number of NotificationConfigs that can be registered for a given bucket.
MAX_NOTIFICATION_CONFIGS_PER_BUCKET = 100;
public static final ServiceConstants.Values MAX_NOTIFICATION_CUSTOM_ATTRIBUTES
The maximum number of custom attributes per NotificationConfigs.
MAX_NOTIFICATION_CUSTOM_ATTRIBUTES = 5;
public static final ServiceConstants.Values MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH
The maximum length of a custom attribute key included in NotificationConfig.
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH = 256;
public static final ServiceConstants.Values MAX_LABELS_ENTRIES_COUNT
The maximum number of key/value entries per bucket label.
MAX_LABELS_ENTRIES_COUNT = 64;
public static final ServiceConstants.Values MAX_LABELS_KEY_VALUE_LENGTH
The maximum character length of the key or value in a bucket label map.
MAX_LABELS_KEY_VALUE_LENGTH = 63;
public static final ServiceConstants.Values MAX_LABELS_KEY_VALUE_BYTES
The maximum byte size of the key or value in a bucket label map.
MAX_LABELS_KEY_VALUE_BYTES = 128;
public static final ServiceConstants.Values MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST
The maximum number of object IDs that can be included in a DeleteObjectsRequest.
MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST = 1000;
public static final ServiceConstants.Values SPLIT_TOKEN_MAX_VALID_DAYS
The maximum number of days for which a token returned by the GetListObjectsSplitPoints RPC is valid.
SPLIT_TOKEN_MAX_VALID_DAYS = 14;
public static final ServiceConstants.Values UNRECOGNIZED
public static final ServiceConstants.Values MAX_WRITE_CHUNK_BYTES
The maximum size chunk that can be sent in a single WriteObjectRequest. 2 MiB.
MAX_WRITE_CHUNK_BYTES = 2097152;
public static final ServiceConstants.Values MAX_LIFECYCLE_RULES_PER_BUCKET
The maximum number of LifecycleRules that can be registered for a given bucket.
MAX_LIFECYCLE_RULES_PER_BUCKET = 100;
public static final ServiceConstants.Values MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH
The maximum length of a custom attribute value included in a NotificationConfig.
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH = 1024;
public static final int VALUES_UNSPECIFIED_VALUE
Unused. Proto3 requires first enum to be 0.
VALUES_UNSPECIFIED = 0;
public static final int MAX_READ_CHUNK_BYTES_VALUE
The maximum size chunk that can will be returned in a single ReadRequest. 2 MiB.
MAX_READ_CHUNK_BYTES = 2097152;
public static final int MAX_WRITE_CHUNK_BYTES_VALUE
The maximum size chunk that can be sent in a single WriteObjectRequest. 2 MiB.
MAX_WRITE_CHUNK_BYTES = 2097152;
public static final int MAX_OBJECT_SIZE_MB_VALUE
The maximum size of an object in MB - whether written in a single stream or composed from multiple other objects. 5 TiB.
MAX_OBJECT_SIZE_MB = 5242880;
public static final int MAX_CUSTOM_METADATA_FIELD_NAME_BYTES_VALUE
The maximum length field name that can be sent in a single custom metadata field. 1 KiB.
MAX_CUSTOM_METADATA_FIELD_NAME_BYTES = 1024;
public static final int MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES_VALUE
The maximum length field value that can be sent in a single custom_metadata field. 4 KiB.
MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES = 4096;
public static final int MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES_VALUE
The maximum total bytes that can be populated into all field names and values of the custom_metadata for one object. 8 KiB.
MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES = 8192;
public static final int MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES_VALUE
The maximum total bytes that can be populated into all bucket metadata fields. 20 KiB.
MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES = 20480;
public static final int MAX_NOTIFICATION_CONFIGS_PER_BUCKET_VALUE
The maximum number of NotificationConfigs that can be registered for a given bucket.
MAX_NOTIFICATION_CONFIGS_PER_BUCKET = 100;
public static final int MAX_LIFECYCLE_RULES_PER_BUCKET_VALUE
The maximum number of LifecycleRules that can be registered for a given bucket.
MAX_LIFECYCLE_RULES_PER_BUCKET = 100;
public static final int MAX_NOTIFICATION_CUSTOM_ATTRIBUTES_VALUE
The maximum number of custom attributes per NotificationConfigs.
MAX_NOTIFICATION_CUSTOM_ATTRIBUTES = 5;
public static final int MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH_VALUE
The maximum length of a custom attribute key included in NotificationConfig.
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH = 256;
public static final int MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH_VALUE
The maximum length of a custom attribute value included in a NotificationConfig.
MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH = 1024;
public static final int MAX_LABELS_ENTRIES_COUNT_VALUE
The maximum number of key/value entries per bucket label.
MAX_LABELS_ENTRIES_COUNT = 64;
public static final int MAX_LABELS_KEY_VALUE_LENGTH_VALUE
The maximum character length of the key or value in a bucket label map.
MAX_LABELS_KEY_VALUE_LENGTH = 63;
public static final int MAX_LABELS_KEY_VALUE_BYTES_VALUE
The maximum byte size of the key or value in a bucket label map.
MAX_LABELS_KEY_VALUE_BYTES = 128;
public static final int MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST_VALUE
The maximum number of object IDs that can be included in a DeleteObjectsRequest.
MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST = 1000;
public static final int SPLIT_TOKEN_MAX_VALID_DAYS_VALUE
The maximum number of days for which a token returned by the GetListObjectsSplitPoints RPC is valid.
SPLIT_TOKEN_MAX_VALID_DAYS = 14;
public static ServiceConstants.Values[] values()
for (ServiceConstants.Values c : ServiceConstants.Values.values()) System.out.println(c);
public static ServiceConstants.Values valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static ServiceConstants.Values valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ServiceConstants.Values forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ServiceConstants.Values> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ServiceConstants.Values valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.