Interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder (1.29.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the contentTypes.