Class LocalTimeProtocol.Location.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • continent_

        private int continent_
      • city_

        private java.lang.Object city_
    • 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<LocalTimeProtocol.Location.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<LocalTimeProtocol.Location.Builder>
      • getDefaultInstanceForType

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

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

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

        public LocalTimeProtocol.Location.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<LocalTimeProtocol.Location.Builder>
        Throws:
        java.io.IOException
      • hasContinent

        public boolean hasContinent()
        required .org.jboss.netty.example.localtime.Continent continent = 1;
        Specified by:
        hasContinent in interface LocalTimeProtocol.LocationOrBuilder
        Returns:
        Whether the continent field is set.
      • clearContinent

        public LocalTimeProtocol.Location.Builder clearContinent()
        required .org.jboss.netty.example.localtime.Continent continent = 1;
        Returns:
        This builder for chaining.
      • setCity

        public LocalTimeProtocol.Location.Builder setCity​(java.lang.String value)
        required string city = 2;
        Parameters:
        value - The city to set.
        Returns:
        This builder for chaining.
      • setCityBytes

        public LocalTimeProtocol.Location.Builder setCityBytes​(com.google.protobuf.ByteString value)
        required string city = 2;
        Parameters:
        value - The bytes for city to set.
        Returns:
        This builder for chaining.