Interface PackageOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Package, Package.Builder

@Generated public interface PackageOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The resource to read the package from.
    com.google.protobuf.ByteString
    The resource to read the package from.
    The name of the package.
    com.google.protobuf.ByteString
    The name of the package.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       The name of the package.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the package.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getLocation

      String getLocation()
       The resource to read the package from. The supported resource type is:
      
       Google Cloud Storage:
      
       storage.googleapis.com/{bucket}
       bucket.storage.googleapis.com/
       
      string location = 2;
      Returns:
      The location.
    • getLocationBytes

      com.google.protobuf.ByteString getLocationBytes()
       The resource to read the package from. The supported resource type is:
      
       Google Cloud Storage:
      
       storage.googleapis.com/{bucket}
       bucket.storage.googleapis.com/
       
      string location = 2;
      Returns:
      The bytes for location.
    • getSha256

      String getSha256()
       Optional. The hex-encoded SHA256 checksum of the package.
       If the checksum is provided, the worker will verify the checksum of the
       package before using it. If the checksum does not match, the worker will
       fail to start.
       
      string sha256 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The sha256.
    • getSha256Bytes

      com.google.protobuf.ByteString getSha256Bytes()
       Optional. The hex-encoded SHA256 checksum of the package.
       If the checksum is provided, the worker will verify the checksum of the
       package before using it. If the checksum does not match, the worker will
       fail to start.
       
      string sha256 = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for sha256.