Package com.google.cloud.redis.v1
Interface UpgradeInstanceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpgradeInstanceRequest,UpgradeInstanceRequest.Builder
public interface UpgradeInstanceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.StringgetRedisVersion()Required.com.google.protobuf.ByteStringgetRedisVersionBytes()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Redis instance resource name using the form: `projects/{project_id}/locations/{location_id}/instances/{instance_id}` where `location_id` refers to a GCP region.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
getRedisVersion
String getRedisVersion()
Required. Specifies the target version of Redis software to upgrade to.
string redis_version = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The redisVersion.
-
getRedisVersionBytes
com.google.protobuf.ByteString getRedisVersionBytes()
Required. Specifies the target version of Redis software to upgrade to.
string redis_version = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for redisVersion.
-
-