Class GrpcService.GoogleGrpc

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.core.v3.GrpcService.GoogleGrpc
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GrpcService.GoogleGrpcOrBuilder, Serializable
Enclosing class:
GrpcService

public static final class GrpcService.GoogleGrpc extends com.google.protobuf.GeneratedMessage implements GrpcService.GoogleGrpcOrBuilder
 [#next-free-field: 9]
 
Protobuf type envoy.config.core.v3.GrpcService.GoogleGrpc
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bitField0_

      private int bitField0_
    • TARGET_URI_FIELD_NUMBER

      public static final int TARGET_URI_FIELD_NUMBER
      See Also:
    • targetUri_

      private volatile Object targetUri_
    • CHANNEL_CREDENTIALS_FIELD_NUMBER

      public static final int CHANNEL_CREDENTIALS_FIELD_NUMBER
      See Also:
    • channelCredentials_

      private GrpcService.GoogleGrpc.ChannelCredentials channelCredentials_
    • CALL_CREDENTIALS_FIELD_NUMBER

      public static final int CALL_CREDENTIALS_FIELD_NUMBER
      See Also:
    • callCredentials_

      private List<GrpcService.GoogleGrpc.CallCredentials> callCredentials_
    • STAT_PREFIX_FIELD_NUMBER

      public static final int STAT_PREFIX_FIELD_NUMBER
      See Also:
    • statPrefix_

      private volatile Object statPrefix_
    • CREDENTIALS_FACTORY_NAME_FIELD_NUMBER

      public static final int CREDENTIALS_FACTORY_NAME_FIELD_NUMBER
      See Also:
    • credentialsFactoryName_

      private volatile Object credentialsFactoryName_
    • CONFIG_FIELD_NUMBER

      public static final int CONFIG_FIELD_NUMBER
      See Also:
    • config_

      private com.google.protobuf.Struct config_
    • PER_STREAM_BUFFER_LIMIT_BYTES_FIELD_NUMBER

      public static final int PER_STREAM_BUFFER_LIMIT_BYTES_FIELD_NUMBER
      See Also:
    • perStreamBufferLimitBytes_

      private com.google.protobuf.UInt32Value perStreamBufferLimitBytes_
    • CHANNEL_ARGS_FIELD_NUMBER

      public static final int CHANNEL_ARGS_FIELD_NUMBER
      See Also:
    • channelArgs_

      private GrpcService.GoogleGrpc.ChannelArgs channelArgs_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final GrpcService.GoogleGrpc DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<GrpcService.GoogleGrpc> PARSER
  • Constructor Details

    • GoogleGrpc

      private GoogleGrpc(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • GoogleGrpc

      private GoogleGrpc()
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getTargetUri

      public String getTargetUri()
       The target URI when using the `Google C++ gRPC client
       <https://github.com/grpc/grpc>`_. SSL credentials will be supplied in
       :ref:`channel_credentials <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.channel_credentials>`.
       
      string target_uri = 1 [(.validate.rules) = { ... }
      Specified by:
      getTargetUri in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The targetUri.
    • getTargetUriBytes

      public com.google.protobuf.ByteString getTargetUriBytes()
       The target URI when using the `Google C++ gRPC client
       <https://github.com/grpc/grpc>`_. SSL credentials will be supplied in
       :ref:`channel_credentials <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.channel_credentials>`.
       
      string target_uri = 1 [(.validate.rules) = { ... }
      Specified by:
      getTargetUriBytes in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The bytes for targetUri.
    • hasChannelCredentials

      public boolean hasChannelCredentials()
      .envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
      Specified by:
      hasChannelCredentials in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      Whether the channelCredentials field is set.
    • getChannelCredentials

      public GrpcService.GoogleGrpc.ChannelCredentials getChannelCredentials()
      .envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
      Specified by:
      getChannelCredentials in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The channelCredentials.
    • getChannelCredentialsOrBuilder

      public GrpcService.GoogleGrpc.ChannelCredentialsOrBuilder getChannelCredentialsOrBuilder()
      .envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelCredentials channel_credentials = 2;
      Specified by:
      getChannelCredentialsOrBuilder in interface GrpcService.GoogleGrpcOrBuilder
    • getCallCredentialsList

      public List<GrpcService.GoogleGrpc.CallCredentials> getCallCredentialsList()
       A set of call credentials that can be composed with `channel credentials
       <https://grpc.io/docs/guides/auth.html#credential-types>`_.
       
      repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
      Specified by:
      getCallCredentialsList in interface GrpcService.GoogleGrpcOrBuilder
    • getCallCredentialsOrBuilderList

      public List<? extends GrpcService.GoogleGrpc.CallCredentialsOrBuilder> getCallCredentialsOrBuilderList()
       A set of call credentials that can be composed with `channel credentials
       <https://grpc.io/docs/guides/auth.html#credential-types>`_.
       
      repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
      Specified by:
      getCallCredentialsOrBuilderList in interface GrpcService.GoogleGrpcOrBuilder
    • getCallCredentialsCount

      public int getCallCredentialsCount()
       A set of call credentials that can be composed with `channel credentials
       <https://grpc.io/docs/guides/auth.html#credential-types>`_.
       
      repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
      Specified by:
      getCallCredentialsCount in interface GrpcService.GoogleGrpcOrBuilder
    • getCallCredentials

      public GrpcService.GoogleGrpc.CallCredentials getCallCredentials(int index)
       A set of call credentials that can be composed with `channel credentials
       <https://grpc.io/docs/guides/auth.html#credential-types>`_.
       
      repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
      Specified by:
      getCallCredentials in interface GrpcService.GoogleGrpcOrBuilder
    • getCallCredentialsOrBuilder

      public GrpcService.GoogleGrpc.CallCredentialsOrBuilder getCallCredentialsOrBuilder(int index)
       A set of call credentials that can be composed with `channel credentials
       <https://grpc.io/docs/guides/auth.html#credential-types>`_.
       
      repeated .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials call_credentials = 3;
      Specified by:
      getCallCredentialsOrBuilder in interface GrpcService.GoogleGrpcOrBuilder
    • getStatPrefix

      public String getStatPrefix()
       The human readable prefix to use when emitting statistics for the gRPC
       service.
      
       .. csv-table::
       :header: Name, Type, Description
       :widths: 1, 1, 2
      
       streams_total, Counter, Total number of streams opened
       streams_closed_<gRPC status code>, Counter, Total streams closed with <gRPC status code>
       
      string stat_prefix = 4 [(.validate.rules) = { ... }
      Specified by:
      getStatPrefix in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The statPrefix.
    • getStatPrefixBytes

      public com.google.protobuf.ByteString getStatPrefixBytes()
       The human readable prefix to use when emitting statistics for the gRPC
       service.
      
       .. csv-table::
       :header: Name, Type, Description
       :widths: 1, 1, 2
      
       streams_total, Counter, Total number of streams opened
       streams_closed_<gRPC status code>, Counter, Total streams closed with <gRPC status code>
       
      string stat_prefix = 4 [(.validate.rules) = { ... }
      Specified by:
      getStatPrefixBytes in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The bytes for statPrefix.
    • getCredentialsFactoryName

      public String getCredentialsFactoryName()
       The name of the Google gRPC credentials factory to use. This must have been registered with
       Envoy. If this is empty, a default credentials factory will be used that sets up channel
       credentials based on other configuration parameters.
       
      string credentials_factory_name = 5;
      Specified by:
      getCredentialsFactoryName in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The credentialsFactoryName.
    • getCredentialsFactoryNameBytes

      public com.google.protobuf.ByteString getCredentialsFactoryNameBytes()
       The name of the Google gRPC credentials factory to use. This must have been registered with
       Envoy. If this is empty, a default credentials factory will be used that sets up channel
       credentials based on other configuration parameters.
       
      string credentials_factory_name = 5;
      Specified by:
      getCredentialsFactoryNameBytes in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The bytes for credentialsFactoryName.
    • hasConfig

      public boolean hasConfig()
       Additional configuration for site-specific customizations of the Google
       gRPC library.
       
      .google.protobuf.Struct config = 6;
      Specified by:
      hasConfig in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      Whether the config field is set.
    • getConfig

      public com.google.protobuf.Struct getConfig()
       Additional configuration for site-specific customizations of the Google
       gRPC library.
       
      .google.protobuf.Struct config = 6;
      Specified by:
      getConfig in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The config.
    • getConfigOrBuilder

      public com.google.protobuf.StructOrBuilder getConfigOrBuilder()
       Additional configuration for site-specific customizations of the Google
       gRPC library.
       
      .google.protobuf.Struct config = 6;
      Specified by:
      getConfigOrBuilder in interface GrpcService.GoogleGrpcOrBuilder
    • hasPerStreamBufferLimitBytes

      public boolean hasPerStreamBufferLimitBytes()
       How many bytes each stream can buffer internally.
       If not set an implementation defined default is applied (1MiB).
       
      .google.protobuf.UInt32Value per_stream_buffer_limit_bytes = 7;
      Specified by:
      hasPerStreamBufferLimitBytes in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      Whether the perStreamBufferLimitBytes field is set.
    • getPerStreamBufferLimitBytes

      public com.google.protobuf.UInt32Value getPerStreamBufferLimitBytes()
       How many bytes each stream can buffer internally.
       If not set an implementation defined default is applied (1MiB).
       
      .google.protobuf.UInt32Value per_stream_buffer_limit_bytes = 7;
      Specified by:
      getPerStreamBufferLimitBytes in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The perStreamBufferLimitBytes.
    • getPerStreamBufferLimitBytesOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getPerStreamBufferLimitBytesOrBuilder()
       How many bytes each stream can buffer internally.
       If not set an implementation defined default is applied (1MiB).
       
      .google.protobuf.UInt32Value per_stream_buffer_limit_bytes = 7;
      Specified by:
      getPerStreamBufferLimitBytesOrBuilder in interface GrpcService.GoogleGrpcOrBuilder
    • hasChannelArgs

      public boolean hasChannelArgs()
       Custom channels args.
       
      .envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelArgs channel_args = 8;
      Specified by:
      hasChannelArgs in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      Whether the channelArgs field is set.
    • getChannelArgs

      public GrpcService.GoogleGrpc.ChannelArgs getChannelArgs()
       Custom channels args.
       
      .envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelArgs channel_args = 8;
      Specified by:
      getChannelArgs in interface GrpcService.GoogleGrpcOrBuilder
      Returns:
      The channelArgs.
    • getChannelArgsOrBuilder

      public GrpcService.GoogleGrpc.ChannelArgsOrBuilder getChannelArgsOrBuilder()
       Custom channels args.
       
      .envoy.config.core.v3.GrpcService.GoogleGrpc.ChannelArgs channel_args = 8;
      Specified by:
      getChannelArgsOrBuilder in interface GrpcService.GoogleGrpcOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GrpcService.GoogleGrpc parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GrpcService.GoogleGrpc parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GrpcService.GoogleGrpc parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GrpcService.GoogleGrpc.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GrpcService.GoogleGrpc.Builder newBuilder()
    • newBuilder

      public static GrpcService.GoogleGrpc.Builder newBuilder(GrpcService.GoogleGrpc prototype)
    • toBuilder

      public GrpcService.GoogleGrpc.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GrpcService.GoogleGrpc.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GrpcService.GoogleGrpc getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GrpcService.GoogleGrpc> parser()
    • getParserForType

      public com.google.protobuf.Parser<GrpcService.GoogleGrpc> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GrpcService.GoogleGrpc getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder