Interface PackageOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Timestamp getCreateTime()
      The time when the package was created.
      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
      The time when the package was created.
      String getDisplayName()
      The display name of the package.
      com.google.protobuf.ByteString getDisplayNameBytes()
      The display name of the package.
      String getName()
      The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      com.google.protobuf.ByteString getNameBytes()
      The name of the package, for example: "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      com.google.protobuf.Timestamp getUpdateTime()
      The time when the package was last updated.
      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
      The time when the package was last updated.
      boolean hasCreateTime()
      The time when the package was created.
      boolean hasUpdateTime()
      The time when the package was last updated.
      • 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

      • getName

        String getName()
         The name of the package, for example:
         "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the package, for example:
         "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDisplayName

        String getDisplayName()
         The display name of the package.
         
        string display_name = 2;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         The display name of the package.
         
        string display_name = 2;
        Returns:
        The bytes for displayName.
      • hasCreateTime

        boolean hasCreateTime()
         The time when the package was created.
         
        .google.protobuf.Timestamp create_time = 5;
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         The time when the package was created.
         
        .google.protobuf.Timestamp create_time = 5;
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         The time when the package was created.
         
        .google.protobuf.Timestamp create_time = 5;
      • hasUpdateTime

        boolean hasUpdateTime()
         The time when the package was last updated. This includes publishing a new
         version of the package.
         
        .google.protobuf.Timestamp update_time = 6;
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        com.google.protobuf.Timestamp getUpdateTime()
         The time when the package was last updated. This includes publishing a new
         version of the package.
         
        .google.protobuf.Timestamp update_time = 6;
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         The time when the package was last updated. This includes publishing a new
         version of the package.
         
        .google.protobuf.Timestamp update_time = 6;