public final class UploadedPythonPackage extends GeneratedMessageV3 implements UploadedPythonPackageOrBuilder
Artifact uploaded using the PythonPackage directive.
Protobuf type google.devtools.cloudbuild.v1.UploadedPythonPackage
Static Fields
FILE_HASHES_FIELD_NUMBER
public static final int FILE_HASHES_FIELD_NUMBER
Field Value
PUSH_TIMING_FIELD_NUMBER
public static final int PUSH_TIMING_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UploadedPythonPackage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UploadedPythonPackage.Builder newBuilder()
Returns
newBuilder(UploadedPythonPackage prototype)
public static UploadedPythonPackage.Builder newBuilder(UploadedPythonPackage prototype)
Parameter
Returns
public static UploadedPythonPackage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UploadedPythonPackage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UploadedPythonPackage parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UploadedPythonPackage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UploadedPythonPackage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UploadedPythonPackage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UploadedPythonPackage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UploadedPythonPackage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UploadedPythonPackage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UploadedPythonPackage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UploadedPythonPackage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UploadedPythonPackage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UploadedPythonPackage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UploadedPythonPackage getDefaultInstanceForType()
Returns
getFileHashes()
public FileHashes getFileHashes()
Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Returns
getFileHashesOrBuilder()
public FileHashesOrBuilder getFileHashesOrBuilder()
Hash types and values of the Python Artifact.
.google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
Returns
getParserForType()
public Parser<UploadedPythonPackage> getParserForType()
Returns
Overrides
getPushTiming()
public TimeSpan getPushTiming()
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
getPushTimingOrBuilder()
public TimeSpanOrBuilder getPushTimingOrBuilder()
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUri()
URI of the uploaded artifact.
string uri = 1;
Returns
getUriBytes()
public ByteString getUriBytes()
URI of the uploaded artifact.
string uri = 1;
Returns
hasFileHashes()
public boolean hasFileHashes()
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()
public boolean hasPushTiming()
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UploadedPythonPackage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UploadedPythonPackage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UploadedPythonPackage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions