Interface EnumTypeOptionsOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getPossibleValues​(int index)
      Required.
      com.google.protobuf.ByteString getPossibleValuesBytes​(int index)
      Required.
      int getPossibleValuesCount()
      Required.
      List<String> getPossibleValuesList()
      Required.
      boolean getValidationCheckDisabled()
      Make sure the Enum property value provided in the document is in the possile value list during document creation.
      • 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

      • getPossibleValuesList

        List<String> getPossibleValuesList()
         Required. List of possible enum values.
         
        repeated string possible_values = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        A list containing the possibleValues.
      • getPossibleValuesCount

        int getPossibleValuesCount()
         Required. List of possible enum values.
         
        repeated string possible_values = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The count of possibleValues.
      • getPossibleValues

        String getPossibleValues​(int index)
         Required. List of possible enum values.
         
        repeated string possible_values = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the element to return.
        Returns:
        The possibleValues at the given index.
      • getPossibleValuesBytes

        com.google.protobuf.ByteString getPossibleValuesBytes​(int index)
         Required. List of possible enum values.
         
        repeated string possible_values = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the possibleValues at the given index.
      • getValidationCheckDisabled

        boolean getValidationCheckDisabled()
         Make sure the Enum property value provided in the document is in the
         possile value list during document creation. The validation check runs by
         default.
         
        bool validation_check_disabled = 2;
        Returns:
        The validationCheckDisabled.