public static final class Transcoder.GrpcJsonTranscoder.PrintOptions extends com.google.protobuf.GeneratedMessageV3 implements Transcoder.GrpcJsonTranscoder.PrintOptionsOrBuilder
envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions| Modifier and Type | Class and Description |
|---|---|
static class |
Transcoder.GrpcJsonTranscoder.PrintOptions.Builder
Protobuf type
envoy.config.filter.http.transcoder.v2.GrpcJsonTranscoder.PrintOptions |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_WHITESPACE_FIELD_NUMBER |
static int |
ALWAYS_PRINT_ENUMS_AS_INTS_FIELD_NUMBER |
static int |
ALWAYS_PRINT_PRIMITIVE_FIELDS_FIELD_NUMBER |
static int |
PRESERVE_PROTO_FIELD_NAMES_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ADD_WHITESPACE_FIELD_NUMBER
public static final int ALWAYS_PRINT_PRIMITIVE_FIELDS_FIELD_NUMBER
public static final int ALWAYS_PRINT_ENUMS_AS_INTS_FIELD_NUMBER
public static final int PRESERVE_PROTO_FIELD_NAMES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean getAddWhitespace()
Whether to add spaces, line breaks and indentation to make the JSON output easy to read. Defaults to false.
bool add_whitespace = 1;getAddWhitespace in interface Transcoder.GrpcJsonTranscoder.PrintOptionsOrBuilderpublic boolean getAlwaysPrintPrimitiveFields()
Whether to always print primitive fields. By default primitive fields with default values will be omitted in JSON output. For example, an int32 field set to 0 will be omitted. Setting this flag to true will override the default behavior and print primitive fields regardless of their values. Defaults to false.
bool always_print_primitive_fields = 2;getAlwaysPrintPrimitiveFields in interface Transcoder.GrpcJsonTranscoder.PrintOptionsOrBuilderpublic boolean getAlwaysPrintEnumsAsInts()
Whether to always print enums as ints. By default they are rendered as strings. Defaults to false.
bool always_print_enums_as_ints = 3;getAlwaysPrintEnumsAsInts in interface Transcoder.GrpcJsonTranscoder.PrintOptionsOrBuilderpublic boolean getPreserveProtoFieldNames()
Whether to preserve proto field names. By default protobuf will generate JSON field names using the ``json_name`` option, or lower camel case, in that order. Setting this flag will preserve the original field names. Defaults to false.
bool preserve_proto_field_names = 4;getPreserveProtoFieldNames in interface Transcoder.GrpcJsonTranscoder.PrintOptionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(InputStream input) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Transcoder.GrpcJsonTranscoder.PrintOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Transcoder.GrpcJsonTranscoder.PrintOptions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Transcoder.GrpcJsonTranscoder.PrintOptions.Builder newBuilder()
public static Transcoder.GrpcJsonTranscoder.PrintOptions.Builder newBuilder(Transcoder.GrpcJsonTranscoder.PrintOptions prototype)
public Transcoder.GrpcJsonTranscoder.PrintOptions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Transcoder.GrpcJsonTranscoder.PrintOptions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Transcoder.GrpcJsonTranscoder.PrintOptions getDefaultInstance()
public static com.google.protobuf.Parser<Transcoder.GrpcJsonTranscoder.PrintOptions> parser()
public com.google.protobuf.Parser<Transcoder.GrpcJsonTranscoder.PrintOptions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Transcoder.GrpcJsonTranscoder.PrintOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.