public static enum TransportCompatibility.Transport extends Enum<TransportCompatibility.Transport>
com.google.cloud.storage
classes have implementations
for.Enum Constant and Description |
---|
GRPC
Value indicating usa of the Cloud
Storage v2 gRPC API TODO: link to public docs when published.
|
HTTP
Value indicating use of the Cloud Storage JSON API
|
Modifier and Type | Method and Description |
---|---|
static TransportCompatibility.Transport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportCompatibility.Transport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportCompatibility.Transport HTTP
StorageOptions.http()
public static final TransportCompatibility.Transport GRPC
StorageOptions.grpc()
public static TransportCompatibility.Transport[] values()
for (TransportCompatibility.Transport c : TransportCompatibility.Transport.values()) System.out.println(c);
public static TransportCompatibility.Transport 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 nullCopyright © 2023 Google LLC. All rights reserved.