Class ServerData.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>
io.deephaven.proto.backplane.grpc.ServerData.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerDataOrBuilder, Cloneable
Enclosing class:
ServerData

public static final class ServerData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder> implements ServerDataOrBuilder

 A generic payload sent from the server to the client. The specific requirements and
 guarantees of this are defined by the specific plugin.
 
Protobuf type io.deephaven.proto.backplane.grpc.ServerData
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>
    • clear

      public ServerData.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.GeneratedMessageV3.Builder<ServerData.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.GeneratedMessageV3.Builder<ServerData.Builder>
    • getDefaultInstanceForType

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

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

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

      public ServerData.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>
    • setField

      public ServerData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>
    • clearField

      public ServerData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>
    • clearOneof

      public ServerData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>
    • setRepeatedField

      public ServerData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>
    • addRepeatedField

      public ServerData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>
    • mergeFrom

      public ServerData.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<ServerData.Builder>
    • mergeFrom

      public ServerData.Builder mergeFrom(ServerData other)
    • isInitialized

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

      public ServerData.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<ServerData.Builder>
      Throws:
      IOException
    • getPayload

      public com.google.protobuf.ByteString getPayload()
       The payload, may be empty.
       
      bytes payload = 1;
      Specified by:
      getPayload in interface ServerDataOrBuilder
      Returns:
      The payload.
    • setPayload

      public ServerData.Builder setPayload(com.google.protobuf.ByteString value)
       The payload, may be empty.
       
      bytes payload = 1;
      Parameters:
      value - The payload to set.
      Returns:
      This builder for chaining.
    • clearPayload

      public ServerData.Builder clearPayload()
       The payload, may be empty.
       
      bytes payload = 1;
      Returns:
      This builder for chaining.
    • getExportedReferencesList

      public List<TypedTicket> getExportedReferencesList()
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
      Specified by:
      getExportedReferencesList in interface ServerDataOrBuilder
    • getExportedReferencesCount

      public int getExportedReferencesCount()
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
      Specified by:
      getExportedReferencesCount in interface ServerDataOrBuilder
    • getExportedReferences

      public TypedTicket getExportedReferences(int index)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
      Specified by:
      getExportedReferences in interface ServerDataOrBuilder
    • setExportedReferences

      public ServerData.Builder setExportedReferences(int index, TypedTicket value)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • setExportedReferences

      public ServerData.Builder setExportedReferences(int index, TypedTicket.Builder builderForValue)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • addExportedReferences

      public ServerData.Builder addExportedReferences(TypedTicket value)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • addExportedReferences

      public ServerData.Builder addExportedReferences(int index, TypedTicket value)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • addExportedReferences

      public ServerData.Builder addExportedReferences(TypedTicket.Builder builderForValue)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • addExportedReferences

      public ServerData.Builder addExportedReferences(int index, TypedTicket.Builder builderForValue)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • addAllExportedReferences

      public ServerData.Builder addAllExportedReferences(Iterable<? extends TypedTicket> values)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • clearExportedReferences

      public ServerData.Builder clearExportedReferences()
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • removeExportedReferences

      public ServerData.Builder removeExportedReferences(int index)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • getExportedReferencesBuilder

      public TypedTicket.Builder getExportedReferencesBuilder(int index)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • getExportedReferencesOrBuilder

      public TypedTicketOrBuilder getExportedReferencesOrBuilder(int index)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
      Specified by:
      getExportedReferencesOrBuilder in interface ServerDataOrBuilder
    • getExportedReferencesOrBuilderList

      public List<? extends TypedTicketOrBuilder> getExportedReferencesOrBuilderList()
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
      Specified by:
      getExportedReferencesOrBuilderList in interface ServerDataOrBuilder
    • addExportedReferencesBuilder

      public TypedTicket.Builder addExportedReferencesBuilder()
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • addExportedReferencesBuilder

      public TypedTicket.Builder addExportedReferencesBuilder(int index)
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • getExportedReferencesBuilderList

      public List<TypedTicket.Builder> getExportedReferencesBuilderList()
      
       The exported references, may be empty.
      
       To correctly free up unused server resources, clients must take care to release
       these exports when they will no longer be used. A reference may be missing a type,
       meaning that the object cannot be used as the source_id for a ConnectRequest, but
       it may still be passed back to the server as part of ClientData references, and
       it still needs to be released when no longer used.
       
      repeated .io.deephaven.proto.backplane.grpc.TypedTicket exported_references = 2;
    • setUnknownFields

      public final ServerData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>
    • mergeUnknownFields

      public final ServerData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServerData.Builder>