Interface GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getChecksum()
      Must be provided if `allow_insecure` is `false`.
      com.google.protobuf.ByteString getChecksumBytes()
      Must be provided if `allow_insecure` is `false`.
      String getUri()
      URI from which to fetch the object.
      com.google.protobuf.ByteString getUriBytes()
      URI from which to fetch the object.
      • 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 Detail

      • getUri

        String getUri()
         URI from which to fetch the object. It should contain both the protocol
         and path following the format {protocol}://{location}.
         
        string uri = 1;
        Returns:
        The uri.
      • getUriBytes

        com.google.protobuf.ByteString getUriBytes()
         URI from which to fetch the object. It should contain both the protocol
         and path following the format {protocol}://{location}.
         
        string uri = 1;
        Returns:
        The bytes for uri.
      • getChecksum

        String getChecksum()
         Must be provided if `allow_insecure` is `false`.
         SHA256 checksum in hex format, to compare to the checksum of the
         artifact. If the checksum is not empty and it doesn't match the
         artifact then the recipe installation fails before running any of the
         steps.
         
        string checksum = 2;
        Returns:
        The checksum.
      • getChecksumBytes

        com.google.protobuf.ByteString getChecksumBytes()
         Must be provided if `allow_insecure` is `false`.
         SHA256 checksum in hex format, to compare to the checksum of the
         artifact. If the checksum is not empty and it doesn't match the
         artifact then the recipe installation fails before running any of the
         steps.
         
        string checksum = 2;
        Returns:
        The bytes for checksum.