Class GetRestoreRequest (0.45.0)

public final class GetRestoreRequest extends GeneratedMessageV3 implements GetRestoreRequestOrBuilder

Request message for GetRestore.

Protobuf type google.cloud.gkebackup.v1.GetRestoreRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetRestoreRequest getDefaultInstance()
Returns
Type Description
GetRestoreRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GetRestoreRequest.Builder newBuilder()
Returns
Type Description
GetRestoreRequest.Builder

newBuilder(GetRestoreRequest prototype)

public static GetRestoreRequest.Builder newBuilder(GetRestoreRequest prototype)
Parameter
Name Description
prototype GetRestoreRequest
Returns
Type Description
GetRestoreRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetRestoreRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetRestoreRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetRestoreRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetRestoreRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetRestoreRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetRestoreRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetRestoreRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetRestoreRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetRestoreRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetRestoreRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetRestoreRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetRestoreRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetRestoreRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetRestoreRequest> parser()
Returns
Type Description
Parser<GetRestoreRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetRestoreRequest getDefaultInstanceForType()
Returns
Type Description
GetRestoreRequest

getName()

public String getName()

Required. Name of the restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<GetRestoreRequest> getParserForType()
Returns
Type Description
Parser<GetRestoreRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetRestoreRequest.Builder newBuilderForType()
Returns
Type Description
GetRestoreRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetRestoreRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetRestoreRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetRestoreRequest.Builder toBuilder()
Returns
Type Description
GetRestoreRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException