Package com.google.cloud.storage
Enum TransportCompatibility.Transport
java.lang.Object
java.lang.Enum<TransportCompatibility.Transport>
com.google.cloud.storage.TransportCompatibility.Transport
- All Implemented Interfaces:
Serializable
,Comparable<TransportCompatibility.Transport>
- Enclosing class:
- TransportCompatibility
Enum representing the transports
com.google.cloud.storage
classes have implementations
for.-
Enum Constant Summary
Enum ConstantDescriptionValue indicating usa of the Cloud Storage v2 gRPC API TODO: link to public docs when published.Value indicating use of the Cloud Storage JSON API -
Method Summary
Modifier and TypeMethodDescriptionReturns 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.
-
Enum Constant Details
-
HTTP
Value indicating use of the Cloud Storage JSON API- See Also:
-
GRPC
Value indicating usa of the Cloud Storage v2 gRPC API TODO: link to public docs when published.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-