Class GenerateDownloadUrlRequest (2.36.0)

public final class GenerateDownloadUrlRequest extends GeneratedMessageV3 implements GenerateDownloadUrlRequestOrBuilder

Request of GenerateDownloadUrl method.

Protobuf type google.cloud.functions.v1.GenerateDownloadUrlRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_ID_FIELD_NUMBER

public static final int VERSION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateDownloadUrlRequest getDefaultInstance()
Returns
TypeDescription
GenerateDownloadUrlRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateDownloadUrlRequest prototype)

public static GenerateDownloadUrlRequest.Builder newBuilder(GenerateDownloadUrlRequest prototype)
Parameter
NameDescription
prototypeGenerateDownloadUrlRequest
Returns
TypeDescription
GenerateDownloadUrlRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GenerateDownloadUrlRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateDownloadUrlRequest

getName()

public String getName()

The name of function for which source code Google Cloud Storage signed URL should be generated.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of function for which source code Google Cloud Storage signed URL should be generated.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVersionId()

public long getVersionId()

The optional version of function. If not set, default, current version is used.

uint64 version_id = 2;

Returns
TypeDescription
long

The versionId.

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 GenerateDownloadUrlRequest.Builder newBuilderForType()
Returns
TypeDescription
GenerateDownloadUrlRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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