Interface IndexOrBuilder

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

    public interface IndexOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getProjectId

        String getProjectId()
         Output only. Project ID.
         
        string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The projectId.
      • getProjectIdBytes

        com.google.protobuf.ByteString getProjectIdBytes()
         Output only. Project ID.
         
        string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for projectId.
      • getIndexId

        String getIndexId()
         Output only. The resource ID of the index.
         
        string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The indexId.
      • getIndexIdBytes

        com.google.protobuf.ByteString getIndexIdBytes()
         Output only. The resource ID of the index.
         
        string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for indexId.
      • getKind

        String getKind()
         Required. The entity kind to which this index applies.
         
        string kind = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The kind.
      • getKindBytes

        com.google.protobuf.ByteString getKindBytes()
         Required. The entity kind to which this index applies.
         
        string kind = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for kind.
      • getAncestorValue

        int getAncestorValue()
         Required. The index's ancestor mode.  Must not be
         ANCESTOR_MODE_UNSPECIFIED.
         
        .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for ancestor.
      • getAncestor

        Index.AncestorMode getAncestor()
         Required. The index's ancestor mode.  Must not be
         ANCESTOR_MODE_UNSPECIFIED.
         
        .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The ancestor.
      • getPropertiesList

        List<Index.IndexedProperty> getPropertiesList()
         Required. An ordered sequence of property names and their index attributes.
        
         Requires:
        
         * A maximum of 100 properties.
         
        repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
      • getProperties

        Index.IndexedProperty getProperties​(int index)
         Required. An ordered sequence of property names and their index attributes.
        
         Requires:
        
         * A maximum of 100 properties.
         
        repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
      • getPropertiesCount

        int getPropertiesCount()
         Required. An ordered sequence of property names and their index attributes.
        
         Requires:
        
         * A maximum of 100 properties.
         
        repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
      • getPropertiesOrBuilderList

        List<? extends Index.IndexedPropertyOrBuilder> getPropertiesOrBuilderList()
         Required. An ordered sequence of property names and their index attributes.
        
         Requires:
        
         * A maximum of 100 properties.
         
        repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
      • getPropertiesOrBuilder

        Index.IndexedPropertyOrBuilder getPropertiesOrBuilder​(int index)
         Required. An ordered sequence of property names and their index attributes.
        
         Requires:
        
         * A maximum of 100 properties.
         
        repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
      • getStateValue

        int getStateValue()
         Output only. The state of the index.
         
        .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        Index.State getState()
         Output only. The state of the index.
         
        .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.