servicetalk-grpc-protobuf/src/main/java/io/servicetalk/grpc/protobuf/ProtoBufSerializationProviderBuilder.java
/**
     * Set the supported message encodings for the serializers and deserializers.
     * The encodings will be advertised on the endpoint's headers and also used to validate each encoded message
     * {@link io.servicetalk.encoding.api.Identity#identity()} is always supported regardless of the config passed
     *
     * @param supportedCodings the set of allowed encodings
     * @param <T> Type of {@link MessageLite} to register.
     * @return {@code this}
     */
Set the supported message encodings for the serializers and deserializers.
The encodings will be advertised on the endpoint's headers and also used to validate each encoded message
io.servicetalk.encoding.api.Identity#identity() is always supported regardless of the config passed

@param supportedCodings the set of allowed encodings
@param  Type of  MessageLite to register.
@return  this
Set the supported message encodings for the serializers and deserializers . The encodings will be advertised on the endpoint ' s headers and also used to validate each encoded message io . servicetalk . encoding . api . Identity#identity () is always supported regardless of the config passed @param supportedCodings the set of allowed encodings @param Type of MessageLite to register . @return this
public <T extends MessageLite> ProtoBufSerializationProviderBuilder
    supportedMessageCodings(final List<ContentCodec> supportedCodings) {
        this.supportedCodings = new ArrayList<>(supportedCodings);
        if (!this.supportedCodings.contains(identity())) {
            this.supportedCodings.add(identity()); 
        }
        return this;
    }
public < T extends MessageLite > ProtoBufSerializationProviderBuilder supportedMessageCodings ( final List < ContentCodec > supportedCodings ) { this . supportedCodings = new ArrayList < > ( supportedCodings ) ; if ( ! this . supportedCodings . contains ( identity ( ) ) ) { this . supportedCodings . add ( identity ( ) ) ; } return this ; }
Set the supported message encodings for the serializers and deserializers.
Set the supported message encodings for the serializers and deserializers .
// Always supported