Class UploadedPythonPackage (3.37.0)

publicfinalclass UploadedPythonPackageextendsGeneratedMessageV3implementsUploadedPythonPackageOrBuilder

Artifact uploaded using the PythonPackage directive.

Protobuf type google.devtools.cloudbuild.v1.UploadedPythonPackage

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

FILE_HASHES_FIELD_NUMBER

publicstaticfinalintFILE_HASHES_FIELD_NUMBER
Field Value
Type Description
int

PUSH_TIMING_FIELD_NUMBER

publicstaticfinalintPUSH_TIMING_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

publicstaticfinalintURI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticUploadedPythonPackagegetDefaultInstance()
Returns
Type Description
UploadedPythonPackage

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticUploadedPythonPackage.BuildernewBuilder()
Returns
Type Description
UploadedPythonPackage.Builder

newBuilder(UploadedPythonPackage prototype)

publicstaticUploadedPythonPackage.BuildernewBuilder(UploadedPythonPackageprototype)
Parameter
Name Description
prototype UploadedPythonPackage
Returns
Type Description
UploadedPythonPackage.Builder

parseDelimitedFrom(InputStream input)

publicstaticUploadedPythonPackageparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticUploadedPythonPackageparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticUploadedPythonPackageparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticUploadedPythonPackageparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticUploadedPythonPackageparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticUploadedPythonPackageparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticUploadedPythonPackageparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticUploadedPythonPackageparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticUploadedPythonPackageparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticUploadedPythonPackageparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticUploadedPythonPackageparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticUploadedPythonPackageparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadedPythonPackage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<UploadedPythonPackage>parser()
Returns
Type Description
Parser<UploadedPythonPackage>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicUploadedPythonPackagegetDefaultInstanceForType()
Returns
Type Description
UploadedPythonPackage

getFileHashes()

publicFileHashesgetFileHashes()

Hash types and values of the Python Artifact.

.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;

Returns
Type Description
FileHashes

The fileHashes.

getFileHashesOrBuilder()

publicFileHashesOrBuildergetFileHashesOrBuilder()

Hash types and values of the Python Artifact.

.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;

Returns
Type Description
FileHashesOrBuilder

getParserForType()

publicParser<UploadedPythonPackage>getParserForType()
Returns
Type Description
Parser<UploadedPythonPackage>
Overrides

getPushTiming()

publicTimeSpangetPushTiming()

Output only. Stores timing information for pushing the specified artifact.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimeSpan

The pushTiming.

getPushTimingOrBuilder()

publicTimeSpanOrBuildergetPushTimingOrBuilder()

Output only. Stores timing information for pushing the specified artifact.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimeSpanOrBuilder

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUri()

publicStringgetUri()

URI of the uploaded artifact.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

publicByteStringgetUriBytes()

URI of the uploaded artifact.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

hasFileHashes()

publicbooleanhasFileHashes()

Hash types and values of the Python Artifact.

.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;

Returns
Type Description
boolean

Whether the fileHashes field is set.

hasPushTiming()

publicbooleanhasPushTiming()

Output only. Stores timing information for pushing the specified artifact.

.google.devtools.cloudbuild.v1.TimeSpan push_timing = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the pushTiming field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicUploadedPythonPackage.BuildernewBuilderForType()
Returns
Type Description
UploadedPythonPackage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedUploadedPythonPackage.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UploadedPythonPackage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicUploadedPythonPackage.BuildertoBuilder()
Returns
Type Description
UploadedPythonPackage.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.