Class NetworkContext.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NetworkContext.Builder>
com.google.protobuf.GeneratedMessage.Builder<NetworkContext.Builder>
io.confluent.cloud.protobuf.traffic.networkcontext.v1.NetworkContext.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NetworkContextOrBuilder, Cloneable
Enclosing class:
NetworkContext

public static final class NetworkContext.Builder extends com.google.protobuf.GeneratedMessage.Builder<NetworkContext.Builder> implements NetworkContextOrBuilder
 NetworkContext is a top-level proto message that contains:
 1. Static information about the Traffic network proxy layer that served the
 request.
 2. Dynamic information about the connection received from the customer.
 
Protobuf type traffic.networkcontext.v1.NetworkContext
  • Method Details

    • getDescriptor

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

      public NetworkContext.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<NetworkContext.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<NetworkContext.Builder>
    • getDefaultInstanceForType

      public NetworkContext getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public NetworkContext build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NetworkContext buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public NetworkContext.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkContext.Builder>
    • mergeFrom

      public NetworkContext.Builder mergeFrom(NetworkContext other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NetworkContext.Builder>
    • mergeFrom

      public NetworkContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkContext.Builder>
      Throws:
      IOException
    • hasConnectionContext

      public boolean hasConnectionContext()
      .traffic.networkcontext.v1.ConnectionContext connection_context = 1;
      Specified by:
      hasConnectionContext in interface NetworkContextOrBuilder
      Returns:
      Whether the connectionContext field is set.
    • getConnectionContext

      public ConnectionContext getConnectionContext()
      .traffic.networkcontext.v1.ConnectionContext connection_context = 1;
      Specified by:
      getConnectionContext in interface NetworkContextOrBuilder
      Returns:
      The connectionContext.
    • setConnectionContext

      public NetworkContext.Builder setConnectionContext(ConnectionContext value)
      .traffic.networkcontext.v1.ConnectionContext connection_context = 1;
    • setConnectionContext

      public NetworkContext.Builder setConnectionContext(ConnectionContext.Builder builderForValue)
      .traffic.networkcontext.v1.ConnectionContext connection_context = 1;
    • mergeConnectionContext

      public NetworkContext.Builder mergeConnectionContext(ConnectionContext value)
      .traffic.networkcontext.v1.ConnectionContext connection_context = 1;
    • clearConnectionContext

      public NetworkContext.Builder clearConnectionContext()
      .traffic.networkcontext.v1.ConnectionContext connection_context = 1;
    • getConnectionContextBuilder

      public ConnectionContext.Builder getConnectionContextBuilder()
      .traffic.networkcontext.v1.ConnectionContext connection_context = 1;
    • getConnectionContextOrBuilder

      public ConnectionContextOrBuilder getConnectionContextOrBuilder()
      .traffic.networkcontext.v1.ConnectionContext connection_context = 1;
      Specified by:
      getConnectionContextOrBuilder in interface NetworkContextOrBuilder