Class GetBackupIndexDownloadUrlRequest (0.40.0)

public final class GetBackupIndexDownloadUrlRequest extends GeneratedMessageV3 implements GetBackupIndexDownloadUrlRequestOrBuilder

Request message for GetBackupIndexDownloadUrl.

Protobuf type google.cloud.gkebackup.v1.GetBackupIndexDownloadUrlRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GetBackupIndexDownloadUrlRequest

Static Fields

BACKUP_FIELD_NUMBER

public static final int BACKUP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetBackupIndexDownloadUrlRequest getDefaultInstance()
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GetBackupIndexDownloadUrlRequest.Builder newBuilder()
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest.Builder

newBuilder(GetBackupIndexDownloadUrlRequest prototype)

public static GetBackupIndexDownloadUrlRequest.Builder newBuilder(GetBackupIndexDownloadUrlRequest prototype)
Parameter
NameDescription
prototypeGetBackupIndexDownloadUrlRequest
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetBackupIndexDownloadUrlRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetBackupIndexDownloadUrlRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GetBackupIndexDownloadUrlRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetBackupIndexDownloadUrlRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetBackupIndexDownloadUrlRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetBackupIndexDownloadUrlRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetBackupIndexDownloadUrlRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetBackupIndexDownloadUrlRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GetBackupIndexDownloadUrlRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetBackupIndexDownloadUrlRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GetBackupIndexDownloadUrlRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetBackupIndexDownloadUrlRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GetBackupIndexDownloadUrlRequest> parser()
Returns
TypeDescription
Parser<GetBackupIndexDownloadUrlRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBackup()

public String getBackup()

Required. Full name of Backup resource. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}

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

Returns
TypeDescription
String

The backup.

getBackupBytes()

public ByteString getBackupBytes()

Required. Full name of Backup resource. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}

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

Returns
TypeDescription
ByteString

The bytes for backup.

getDefaultInstanceForType()

public GetBackupIndexDownloadUrlRequest getDefaultInstanceForType()
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest

getParserForType()

public Parser<GetBackupIndexDownloadUrlRequest> getParserForType()
Returns
TypeDescription
Parser<GetBackupIndexDownloadUrlRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GetBackupIndexDownloadUrlRequest.Builder newBuilderForType()
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetBackupIndexDownloadUrlRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GetBackupIndexDownloadUrlRequest.Builder toBuilder()
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException