Package com.google.cloud.notebooks.v2
Interface RollbackInstanceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RollbackInstanceRequest
,RollbackInstanceRequest.Builder
public interface RollbackInstanceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.String
getRevisionId()
Required.com.google.protobuf.ByteString
getRevisionIdBytes()
Required.String
getTargetSnapshot()
Required.com.google.protobuf.ByteString
getTargetSnapshotBytes()
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. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for name.
-
getTargetSnapshot
String getTargetSnapshot()
Required. The snapshot for rollback. Example: "projects/test-project/global/snapshots/krwlzipynril".
string target_snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The targetSnapshot.
-
getTargetSnapshotBytes
com.google.protobuf.ByteString getTargetSnapshotBytes()
Required. The snapshot for rollback. Example: "projects/test-project/global/snapshots/krwlzipynril".
string target_snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for targetSnapshot.
-
getRevisionId
String getRevisionId()
Required. Output only. Revision Id
string revision_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
- Returns:
- The revisionId.
-
getRevisionIdBytes
com.google.protobuf.ByteString getRevisionIdBytes()
Required. Output only. Revision Id
string revision_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for revisionId.
-
-