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

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

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

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

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

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

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

        public ExportLogsServiceRequest.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<ExportLogsServiceRequest.Builder>
        Throws:
        IOException
      • getResourceLogsList

        public List<ResourceLogs> getResourceLogsList()
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
        Specified by:
        getResourceLogsList in interface ExportLogsServiceRequestOrBuilder
      • getResourceLogsCount

        public int getResourceLogsCount()
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
        Specified by:
        getResourceLogsCount in interface ExportLogsServiceRequestOrBuilder
      • getResourceLogs

        public ResourceLogs getResourceLogs​(int index)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
        Specified by:
        getResourceLogs in interface ExportLogsServiceRequestOrBuilder
      • setResourceLogs

        public ExportLogsServiceRequest.Builder setResourceLogs​(int index,
                                                                ResourceLogs value)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • setResourceLogs

        public ExportLogsServiceRequest.Builder setResourceLogs​(int index,
                                                                ResourceLogs.Builder builderForValue)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • addResourceLogs

        public ExportLogsServiceRequest.Builder addResourceLogs​(ResourceLogs value)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • addResourceLogs

        public ExportLogsServiceRequest.Builder addResourceLogs​(int index,
                                                                ResourceLogs value)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • addResourceLogs

        public ExportLogsServiceRequest.Builder addResourceLogs​(ResourceLogs.Builder builderForValue)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • addResourceLogs

        public ExportLogsServiceRequest.Builder addResourceLogs​(int index,
                                                                ResourceLogs.Builder builderForValue)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • addAllResourceLogs

        public ExportLogsServiceRequest.Builder addAllResourceLogs​(Iterable<? extends ResourceLogs> values)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • clearResourceLogs

        public ExportLogsServiceRequest.Builder clearResourceLogs()
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • removeResourceLogs

        public ExportLogsServiceRequest.Builder removeResourceLogs​(int index)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • getResourceLogsBuilder

        public ResourceLogs.Builder getResourceLogsBuilder​(int index)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • getResourceLogsOrBuilder

        public ResourceLogsOrBuilder getResourceLogsOrBuilder​(int index)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
        Specified by:
        getResourceLogsOrBuilder in interface ExportLogsServiceRequestOrBuilder
      • getResourceLogsOrBuilderList

        public List<? extends ResourceLogsOrBuilder> getResourceLogsOrBuilderList()
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
        Specified by:
        getResourceLogsOrBuilderList in interface ExportLogsServiceRequestOrBuilder
      • addResourceLogsBuilder

        public ResourceLogs.Builder addResourceLogsBuilder()
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • addResourceLogsBuilder

        public ResourceLogs.Builder addResourceLogsBuilder​(int index)
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • getResourceLogsBuilderList

        public List<ResourceLogs.Builder> getResourceLogsBuilderList()
         An array of ResourceLogs.
         For data coming from a single resource this array will typically contain one
         element. Intermediary nodes (such as OpenTelemetry Collector) that receive
         data from multiple origins typically batch the data before forwarding further and
         in that case this array will contain multiple elements.
         
        repeated .opentelemetry.proto.logs.v1.ResourceLogs resource_logs = 1;
      • setUnknownFields

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

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