Interface ValueValidationOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getValues​(int index)
      Required.
      com.google.protobuf.ByteString getValuesBytes​(int index)
      Required.
      int getValuesCount()
      Required.
      List<String> getValuesList()
      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

      • getValuesList

        List<String> getValuesList()
         Required. List of allowed values for the parameter.
         
        repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        A list containing the values.
      • getValuesCount

        int getValuesCount()
         Required. List of allowed values for the parameter.
         
        repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The count of values.
      • getValues

        String getValues​(int index)
         Required. List of allowed values for the parameter.
         
        repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the element to return.
        Returns:
        The values at the given index.
      • getValuesBytes

        com.google.protobuf.ByteString getValuesBytes​(int index)
         Required. List of allowed values for the parameter.
         
        repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the values at the given index.