Class UploadedPythonPackage

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloudbuild.v1.UploadedPythonPackage
All Implemented Interfaces:
UploadedPythonPackageOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UploadedPythonPackage extends com.google.protobuf.GeneratedMessage implements UploadedPythonPackageOrBuilder
 Artifact uploaded using the PythonPackage directive.
 
Protobuf type google.devtools.cloudbuild.v1.UploadedPythonPackage
See Also:
  • Field Details

    • URI_FIELD_NUMBER

      public static final int URI_FIELD_NUMBER
      See Also:
    • FILE_HASHES_FIELD_NUMBER

      public static final int FILE_HASHES_FIELD_NUMBER
      See Also:
    • PUSH_TIMING_FIELD_NUMBER

      public static final int PUSH_TIMING_FIELD_NUMBER
      See Also:
    • ARTIFACT_REGISTRY_PACKAGE_FIELD_NUMBER

      public static final int ARTIFACT_REGISTRY_PACKAGE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getUri

      public String getUri()
       URI of the uploaded artifact.
       
      string uri = 1;
      Specified by:
      getUri in interface UploadedPythonPackageOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       URI of the uploaded artifact.
       
      string uri = 1;
      Specified by:
      getUriBytes in interface UploadedPythonPackageOrBuilder
      Returns:
      The bytes for uri.
    • hasFileHashes

      public boolean hasFileHashes()
       Hash types and values of the Python Artifact.
       
      .google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
      Specified by:
      hasFileHashes in interface UploadedPythonPackageOrBuilder
      Returns:
      Whether the fileHashes field is set.
    • getFileHashes

      public FileHashes getFileHashes()
       Hash types and values of the Python Artifact.
       
      .google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
      Specified by:
      getFileHashes in interface UploadedPythonPackageOrBuilder
      Returns:
      The fileHashes.
    • getFileHashesOrBuilder

      public FileHashesOrBuilder getFileHashesOrBuilder()
       Hash types and values of the Python Artifact.
       
      .google.devtools.cloudbuild.v1.FileHashes file_hashes = 2;
      Specified by:
      getFileHashesOrBuilder in interface UploadedPythonPackageOrBuilder
    • 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];
      Specified by:
      hasPushTiming in interface UploadedPythonPackageOrBuilder
      Returns:
      Whether the pushTiming field is set.
    • 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];
      Specified by:
      getPushTiming in interface UploadedPythonPackageOrBuilder
      Returns:
      The pushTiming.
    • 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];
      Specified by:
      getPushTimingOrBuilder in interface UploadedPythonPackageOrBuilder
    • getArtifactRegistryPackage

      public String getArtifactRegistryPackage()
       Output only. Path to the artifact in Artifact Registry.
       
      string artifact_registry_package = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArtifactRegistryPackage in interface UploadedPythonPackageOrBuilder
      Returns:
      The artifactRegistryPackage.
    • getArtifactRegistryPackageBytes

      public com.google.protobuf.ByteString getArtifactRegistryPackageBytes()
       Output only. Path to the artifact in Artifact Registry.
       
      string artifact_registry_package = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getArtifactRegistryPackageBytes in interface UploadedPythonPackageOrBuilder
      Returns:
      The bytes for artifactRegistryPackage.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UploadedPythonPackage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadedPythonPackage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadedPythonPackage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadedPythonPackage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadedPythonPackage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadedPythonPackage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadedPythonPackage parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UploadedPythonPackage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UploadedPythonPackage parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UploadedPythonPackage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UploadedPythonPackage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UploadedPythonPackage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UploadedPythonPackage.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UploadedPythonPackage.Builder newBuilder()
    • newBuilder

      public static UploadedPythonPackage.Builder newBuilder(UploadedPythonPackage prototype)
    • toBuilder

      public UploadedPythonPackage.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UploadedPythonPackage.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UploadedPythonPackage getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UploadedPythonPackage> parser()
    • getParserForType

      public com.google.protobuf.Parser<UploadedPythonPackage> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public UploadedPythonPackage getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder