Class GetServerSocketsRequest.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • serverId_

        private long serverId_
      • startSocketId_

        private long startSocketId_
      • maxResults_

        private long maxResults_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • 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.Builder<GetServerSocketsRequest.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<GetServerSocketsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public GetServerSocketsRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.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<GetServerSocketsRequest.Builder>
        Throws:
        java.io.IOException
      • setServerId

        public GetServerSocketsRequest.Builder setServerId​(long value)
        int64 server_id = 1;
        Parameters:
        value - The serverId to set.
        Returns:
        This builder for chaining.
      • getStartSocketId

        public long getStartSocketId()
         start_socket_id indicates that only sockets at or above this id should be
         included in the results.
         To request the first page, this must be set to 0. To request
         subsequent pages, the client generates this value by adding 1 to
         the highest seen result ID.
         
        int64 start_socket_id = 2;
        Specified by:
        getStartSocketId in interface GetServerSocketsRequestOrBuilder
        Returns:
        The startSocketId.
      • setStartSocketId

        public GetServerSocketsRequest.Builder setStartSocketId​(long value)
         start_socket_id indicates that only sockets at or above this id should be
         included in the results.
         To request the first page, this must be set to 0. To request
         subsequent pages, the client generates this value by adding 1 to
         the highest seen result ID.
         
        int64 start_socket_id = 2;
        Parameters:
        value - The startSocketId to set.
        Returns:
        This builder for chaining.
      • clearStartSocketId

        public GetServerSocketsRequest.Builder clearStartSocketId()
         start_socket_id indicates that only sockets at or above this id should be
         included in the results.
         To request the first page, this must be set to 0. To request
         subsequent pages, the client generates this value by adding 1 to
         the highest seen result ID.
         
        int64 start_socket_id = 2;
        Returns:
        This builder for chaining.
      • getMaxResults

        public long getMaxResults()
         If non-zero, the server will return a page of results containing
         at most this many items. If zero, the server will choose a
         reasonable page size.  Must never be negative.
         
        int64 max_results = 3;
        Specified by:
        getMaxResults in interface GetServerSocketsRequestOrBuilder
        Returns:
        The maxResults.
      • setMaxResults

        public GetServerSocketsRequest.Builder setMaxResults​(long value)
         If non-zero, the server will return a page of results containing
         at most this many items. If zero, the server will choose a
         reasonable page size.  Must never be negative.
         
        int64 max_results = 3;
        Parameters:
        value - The maxResults to set.
        Returns:
        This builder for chaining.
      • clearMaxResults

        public GetServerSocketsRequest.Builder clearMaxResults()
         If non-zero, the server will return a page of results containing
         at most this many items. If zero, the server will choose a
         reasonable page size.  Must never be negative.
         
        int64 max_results = 3;
        Returns:
        This builder for chaining.