public final class RollbackInstanceRequest extends GeneratedMessageV3 implements RollbackInstanceRequestOrBuilder
Request for rollbacking a notebook instance
Protobuf type google.cloud.notebooks.v2.RollbackInstanceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_SNAPSHOT_FIELD_NUMBER
public static final int TARGET_SNAPSHOT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RollbackInstanceRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RollbackInstanceRequest.Builder newBuilder()
newBuilder(RollbackInstanceRequest prototype)
public static RollbackInstanceRequest.Builder newBuilder(RollbackInstanceRequest prototype)
public static RollbackInstanceRequest parseDelimitedFrom(InputStream input)
public static RollbackInstanceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RollbackInstanceRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RollbackInstanceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RollbackInstanceRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RollbackInstanceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RollbackInstanceRequest parseFrom(CodedInputStream input)
public static RollbackInstanceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RollbackInstanceRequest parseFrom(InputStream input)
public static RollbackInstanceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RollbackInstanceRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RollbackInstanceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RollbackInstanceRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RollbackInstanceRequest getDefaultInstanceForType()
getName()
Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<RollbackInstanceRequest> getParserForType()
Overrides
getRevisionId()
public String getRevisionId()
Required. Output only. Revision Id
string revision_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The revisionId.
|
getRevisionIdBytes()
public ByteString getRevisionIdBytes()
Required. Output only. Revision Id
string revision_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for revisionId.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTargetSnapshot()
public String getTargetSnapshot()
Required. The snapshot for rollback.
Example: "projects/test-project/global/snapshots/krwlzipynril".
string target_snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The targetSnapshot.
|
getTargetSnapshotBytes()
public ByteString getTargetSnapshotBytes()
Required. The snapshot for rollback.
Example: "projects/test-project/global/snapshots/krwlzipynril".
string target_snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for targetSnapshot.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RollbackInstanceRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RollbackInstanceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RollbackInstanceRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides