Class GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
      • clear

        public GrpcMethodList.Service.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<GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
      • getDefaultInstanceForType

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

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

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

        public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
      • clearField

        public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
      • clearOneof

        public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
      • setRepeatedField

        public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
      • addRepeatedField

        public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
      • isInitialized

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

        public GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
        Throws:
        IOException
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of the gRPC service.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getNameBytes in interface GrpcMethodList.ServiceOrBuilder
        Returns:
        The bytes for name.
      • setName

        public GrpcMethodList.Service.Builder setName​(String value)
         The name of the gRPC service.
         
        string name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public GrpcMethodList.Service.Builder clearName()
         The name of the gRPC service.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public GrpcMethodList.Service.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of the gRPC service.
         
        string name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getMethodNamesList

        public com.google.protobuf.ProtocolStringList getMethodNamesList()
         The names of the gRPC methods in this service.
         
        repeated string method_names = 2 [(.validate.rules) = { ... }
        Specified by:
        getMethodNamesList in interface GrpcMethodList.ServiceOrBuilder
        Returns:
        A list containing the methodNames.
      • getMethodNamesCount

        public int getMethodNamesCount()
         The names of the gRPC methods in this service.
         
        repeated string method_names = 2 [(.validate.rules) = { ... }
        Specified by:
        getMethodNamesCount in interface GrpcMethodList.ServiceOrBuilder
        Returns:
        The count of methodNames.
      • getMethodNames

        public String getMethodNames​(int index)
         The names of the gRPC methods in this service.
         
        repeated string method_names = 2 [(.validate.rules) = { ... }
        Specified by:
        getMethodNames in interface GrpcMethodList.ServiceOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The methodNames at the given index.
      • getMethodNamesBytes

        public com.google.protobuf.ByteString getMethodNamesBytes​(int index)
         The names of the gRPC methods in this service.
         
        repeated string method_names = 2 [(.validate.rules) = { ... }
        Specified by:
        getMethodNamesBytes in interface GrpcMethodList.ServiceOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the methodNames at the given index.
      • setMethodNames

        public GrpcMethodList.Service.Builder setMethodNames​(int index,
                                                             String value)
         The names of the gRPC methods in this service.
         
        repeated string method_names = 2 [(.validate.rules) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The methodNames to set.
        Returns:
        This builder for chaining.
      • addMethodNames

        public GrpcMethodList.Service.Builder addMethodNames​(String value)
         The names of the gRPC methods in this service.
         
        repeated string method_names = 2 [(.validate.rules) = { ... }
        Parameters:
        value - The methodNames to add.
        Returns:
        This builder for chaining.
      • addAllMethodNames

        public GrpcMethodList.Service.Builder addAllMethodNames​(Iterable<String> values)
         The names of the gRPC methods in this service.
         
        repeated string method_names = 2 [(.validate.rules) = { ... }
        Parameters:
        values - The methodNames to add.
        Returns:
        This builder for chaining.
      • clearMethodNames

        public GrpcMethodList.Service.Builder clearMethodNames()
         The names of the gRPC methods in this service.
         
        repeated string method_names = 2 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • addMethodNamesBytes

        public GrpcMethodList.Service.Builder addMethodNamesBytes​(com.google.protobuf.ByteString value)
         The names of the gRPC methods in this service.
         
        repeated string method_names = 2 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes of the methodNames to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>
      • mergeUnknownFields

        public final GrpcMethodList.Service.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<GrpcMethodList.Service.Builder>