Class Service.BatchGetTraceInfos.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<Service.BatchGetTraceInfos.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<Service.BatchGetTraceInfos.Builder>
      • getDefaultInstanceForType

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

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

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

        public Service.BatchGetTraceInfos.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                   int index,
                                                                   java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.BatchGetTraceInfos.Builder>
      • addRepeatedField

        public Service.BatchGetTraceInfos.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                   java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.BatchGetTraceInfos.Builder>
      • isInitialized

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

        public Service.BatchGetTraceInfos.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<Service.BatchGetTraceInfos.Builder>
        Throws:
        java.io.IOException
      • getTraceIdsList

        public com.google.protobuf.ProtocolStringList getTraceIdsList()
         IDs of the traces to fetch. Must be provided.
         
        repeated string trace_ids = 1;
        Specified by:
        getTraceIdsList in interface Service.BatchGetTraceInfosOrBuilder
        Returns:
        A list containing the traceIds.
      • getTraceIds

        public java.lang.String getTraceIds​(int index)
         IDs of the traces to fetch. Must be provided.
         
        repeated string trace_ids = 1;
        Specified by:
        getTraceIds in interface Service.BatchGetTraceInfosOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The traceIds at the given index.
      • getTraceIdsBytes

        public com.google.protobuf.ByteString getTraceIdsBytes​(int index)
         IDs of the traces to fetch. Must be provided.
         
        repeated string trace_ids = 1;
        Specified by:
        getTraceIdsBytes in interface Service.BatchGetTraceInfosOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the traceIds at the given index.
      • setTraceIds

        public Service.BatchGetTraceInfos.Builder setTraceIds​(int index,
                                                              java.lang.String value)
         IDs of the traces to fetch. Must be provided.
         
        repeated string trace_ids = 1;
        Parameters:
        index - The index to set the value at.
        value - The traceIds to set.
        Returns:
        This builder for chaining.
      • addTraceIds

        public Service.BatchGetTraceInfos.Builder addTraceIds​(java.lang.String value)
         IDs of the traces to fetch. Must be provided.
         
        repeated string trace_ids = 1;
        Parameters:
        value - The traceIds to add.
        Returns:
        This builder for chaining.
      • addAllTraceIds

        public Service.BatchGetTraceInfos.Builder addAllTraceIds​(java.lang.Iterable<java.lang.String> values)
         IDs of the traces to fetch. Must be provided.
         
        repeated string trace_ids = 1;
        Parameters:
        values - The traceIds to add.
        Returns:
        This builder for chaining.
      • clearTraceIds

        public Service.BatchGetTraceInfos.Builder clearTraceIds()
         IDs of the traces to fetch. Must be provided.
         
        repeated string trace_ids = 1;
        Returns:
        This builder for chaining.
      • addTraceIdsBytes

        public Service.BatchGetTraceInfos.Builder addTraceIdsBytes​(com.google.protobuf.ByteString value)
         IDs of the traces to fetch. Must be provided.
         
        repeated string trace_ids = 1;
        Parameters:
        value - The bytes of the traceIds to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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