Class Reflection.FileDescriptorResponse.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<Reflection.FileDescriptorResponse.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<Reflection.FileDescriptorResponse.Builder>
      • getDefaultInstanceForType

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

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

        public Reflection.FileDescriptorResponse 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<Reflection.FileDescriptorResponse.Builder>
      • getFileDescriptorProtoList

        public List<com.google.protobuf.ByteString> getFileDescriptorProtoList()
         Serialized FileDescriptorProto messages. We avoid taking a dependency on
         descriptor.proto, which uses proto2 only features, by making them opaque
         bytes instead.
         
        repeated bytes file_descriptor_proto = 1;
        Specified by:
        getFileDescriptorProtoList in interface Reflection.FileDescriptorResponseOrBuilder
        Returns:
        A list containing the fileDescriptorProto.
      • getFileDescriptorProtoCount

        public int getFileDescriptorProtoCount()
         Serialized FileDescriptorProto messages. We avoid taking a dependency on
         descriptor.proto, which uses proto2 only features, by making them opaque
         bytes instead.
         
        repeated bytes file_descriptor_proto = 1;
        Specified by:
        getFileDescriptorProtoCount in interface Reflection.FileDescriptorResponseOrBuilder
        Returns:
        The count of fileDescriptorProto.
      • getFileDescriptorProto

        public com.google.protobuf.ByteString getFileDescriptorProto​(int index)
         Serialized FileDescriptorProto messages. We avoid taking a dependency on
         descriptor.proto, which uses proto2 only features, by making them opaque
         bytes instead.
         
        repeated bytes file_descriptor_proto = 1;
        Specified by:
        getFileDescriptorProto in interface Reflection.FileDescriptorResponseOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The fileDescriptorProto at the given index.
      • setFileDescriptorProto

        public Reflection.FileDescriptorResponse.Builder setFileDescriptorProto​(int index,
                                                                                com.google.protobuf.ByteString value)
         Serialized FileDescriptorProto messages. We avoid taking a dependency on
         descriptor.proto, which uses proto2 only features, by making them opaque
         bytes instead.
         
        repeated bytes file_descriptor_proto = 1;
        Parameters:
        index - The index to set the value at.
        value - The fileDescriptorProto to set.
        Returns:
        This builder for chaining.
      • addFileDescriptorProto

        public Reflection.FileDescriptorResponse.Builder addFileDescriptorProto​(com.google.protobuf.ByteString value)
         Serialized FileDescriptorProto messages. We avoid taking a dependency on
         descriptor.proto, which uses proto2 only features, by making them opaque
         bytes instead.
         
        repeated bytes file_descriptor_proto = 1;
        Parameters:
        value - The fileDescriptorProto to add.
        Returns:
        This builder for chaining.
      • addAllFileDescriptorProto

        public Reflection.FileDescriptorResponse.Builder addAllFileDescriptorProto​(Iterable<? extends com.google.protobuf.ByteString> values)
         Serialized FileDescriptorProto messages. We avoid taking a dependency on
         descriptor.proto, which uses proto2 only features, by making them opaque
         bytes instead.
         
        repeated bytes file_descriptor_proto = 1;
        Parameters:
        values - The fileDescriptorProto to add.
        Returns:
        This builder for chaining.
      • clearFileDescriptorProto

        public Reflection.FileDescriptorResponse.Builder clearFileDescriptorProto()
         Serialized FileDescriptorProto messages. We avoid taking a dependency on
         descriptor.proto, which uses proto2 only features, by making them opaque
         bytes instead.
         
        repeated bytes file_descriptor_proto = 1;
        Returns:
        This builder for chaining.