Class Generated.ServerAddressByClientCIDR.Builder

    • Method Detail

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

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

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

        public Generated.ServerAddressByClientCIDR 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.GeneratedMessageV3.Builder<Generated.ServerAddressByClientCIDR.Builder>
      • hasClientCIDR

        public boolean hasClientCIDR()
         The CIDR with which clients can match their IP to figure out the server address that they should use.
         
        optional string clientCIDR = 1;
        Specified by:
        hasClientCIDR in interface Generated.ServerAddressByClientCIDROrBuilder
        Returns:
        Whether the clientCIDR field is set.
      • getClientCIDRBytes

        public com.google.protobuf.ByteString getClientCIDRBytes()
         The CIDR with which clients can match their IP to figure out the server address that they should use.
         
        optional string clientCIDR = 1;
        Specified by:
        getClientCIDRBytes in interface Generated.ServerAddressByClientCIDROrBuilder
        Returns:
        The bytes for clientCIDR.
      • setClientCIDR

        public Generated.ServerAddressByClientCIDR.Builder setClientCIDR​(String value)
         The CIDR with which clients can match their IP to figure out the server address that they should use.
         
        optional string clientCIDR = 1;
        Parameters:
        value - The clientCIDR to set.
        Returns:
        This builder for chaining.
      • clearClientCIDR

        public Generated.ServerAddressByClientCIDR.Builder clearClientCIDR()
         The CIDR with which clients can match their IP to figure out the server address that they should use.
         
        optional string clientCIDR = 1;
        Returns:
        This builder for chaining.
      • setClientCIDRBytes

        public Generated.ServerAddressByClientCIDR.Builder setClientCIDRBytes​(com.google.protobuf.ByteString value)
         The CIDR with which clients can match their IP to figure out the server address that they should use.
         
        optional string clientCIDR = 1;
        Parameters:
        value - The bytes for clientCIDR to set.
        Returns:
        This builder for chaining.
      • hasServerAddress

        public boolean hasServerAddress()
         Address of this server, suitable for a client that matches the above CIDR.
         This can be a hostname, hostname:port, IP or IP:port.
         
        optional string serverAddress = 2;
        Specified by:
        hasServerAddress in interface Generated.ServerAddressByClientCIDROrBuilder
        Returns:
        Whether the serverAddress field is set.
      • getServerAddress

        public String getServerAddress()
         Address of this server, suitable for a client that matches the above CIDR.
         This can be a hostname, hostname:port, IP or IP:port.
         
        optional string serverAddress = 2;
        Specified by:
        getServerAddress in interface Generated.ServerAddressByClientCIDROrBuilder
        Returns:
        The serverAddress.
      • getServerAddressBytes

        public com.google.protobuf.ByteString getServerAddressBytes()
         Address of this server, suitable for a client that matches the above CIDR.
         This can be a hostname, hostname:port, IP or IP:port.
         
        optional string serverAddress = 2;
        Specified by:
        getServerAddressBytes in interface Generated.ServerAddressByClientCIDROrBuilder
        Returns:
        The bytes for serverAddress.
      • setServerAddress

        public Generated.ServerAddressByClientCIDR.Builder setServerAddress​(String value)
         Address of this server, suitable for a client that matches the above CIDR.
         This can be a hostname, hostname:port, IP or IP:port.
         
        optional string serverAddress = 2;
        Parameters:
        value - The serverAddress to set.
        Returns:
        This builder for chaining.
      • clearServerAddress

        public Generated.ServerAddressByClientCIDR.Builder clearServerAddress()
         Address of this server, suitable for a client that matches the above CIDR.
         This can be a hostname, hostname:port, IP or IP:port.
         
        optional string serverAddress = 2;
        Returns:
        This builder for chaining.
      • setServerAddressBytes

        public Generated.ServerAddressByClientCIDR.Builder setServerAddressBytes​(com.google.protobuf.ByteString value)
         Address of this server, suitable for a client that matches the above CIDR.
         This can be a hostname, hostname:port, IP or IP:port.
         
        optional string serverAddress = 2;
        Parameters:
        value - The bytes for serverAddress to set.
        Returns:
        This builder for chaining.