Interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getContentTypes​(int index)
      A list of custom Content-Type header values to apply the JSON parsing.
      com.google.protobuf.ByteString getContentTypesBytes​(int index)
      A list of custom Content-Type header values to apply the JSON parsing.
      int getContentTypesCount()
      A list of custom Content-Type header values to apply the JSON parsing.
      List<String> getContentTypesList()
      A list of custom Content-Type header values to apply the JSON parsing.
      • 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

      • getContentTypesList

        List<String> getContentTypesList()
         A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
         
        repeated string content_types = 17428787;
        Returns:
        A list containing the contentTypes.
      • getContentTypesCount

        int getContentTypesCount()
         A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
         
        repeated string content_types = 17428787;
        Returns:
        The count of contentTypes.
      • getContentTypes

        String getContentTypes​(int index)
         A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
         
        repeated string content_types = 17428787;
        Parameters:
        index - The index of the element to return.
        Returns:
        The contentTypes at the given index.
      • getContentTypesBytes

        com.google.protobuf.ByteString getContentTypesBytes​(int index)
         A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.
         
        repeated string content_types = 17428787;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the contentTypes at the given index.