Interface Index.IndexedPropertyOrBuilder

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

    public static interface Index.IndexedPropertyOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Index.Direction getDirection()
      Required.
      int getDirectionValue()
      Required.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      • 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()
         Required. The property name to index.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The property name to index.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for name.
      • getDirectionValue

        int getDirectionValue()
         Required. The indexed property's direction.  Must not be
         DIRECTION_UNSPECIFIED.
         
        .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for direction.
      • getDirection

        Index.Direction getDirection()
         Required. The indexed property's direction.  Must not be
         DIRECTION_UNSPECIFIED.
         
        .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The direction.