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
    boolean
    Optional.
    Deprecated.
    int
    Optional.
    Optional.
    Optional.
    Optional.
    com.google.protobuf.Timestamp
    The time when the package was created.
    com.google.protobuf.TimestampOrBuilder
    The time when the package was created.
    The display name of the package.
    com.google.protobuf.ByteString
    The display name of the package.
    The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`.
    com.google.protobuf.ByteString
    The name of the package, for example: `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`.
    com.google.protobuf.Timestamp
    The time when the package was last updated.
    com.google.protobuf.TimestampOrBuilder
    The time when the package was last updated.
    boolean
    The time when the package was created.
    boolean
    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 Details

    • getName

      String getName()
       The name of the package, for example:
       `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`.
       If the package ID part contains slashes, the slashes are escaped.
       
      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`.
       If the package ID part contains slashes, the slashes are escaped.
       
      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;
    • getAnnotationsCount

      int getAnnotationsCount()
       Optional. Client specified annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • containsAnnotations

      boolean containsAnnotations(String key)
       Optional. Client specified annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotations

      @Deprecated Map<String,String> getAnnotations()
      Deprecated.
      Use getAnnotationsMap() instead.
    • getAnnotationsMap

      Map<String,String> getAnnotationsMap()
       Optional. Client specified annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrDefault

      String getAnnotationsOrDefault(String key, String defaultValue)
       Optional. Client specified annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getAnnotationsOrThrow

      String getAnnotationsOrThrow(String key)
       Optional. Client specified annotations.
       
      map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];