Interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder (1.53.0)

public interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContentTypes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The contentTypes at the given index.

getContentTypesBytes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the contentTypes at the given index.

getContentTypesCount()

public abstract 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
Type Description
int

The count of contentTypes.

getContentTypesList()

public abstract 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
Type Description
List<String>

A list containing the contentTypes.