Class ExportProfilesServiceRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ExportProfilesServiceRequest.Builder>
io.opentelemetry.proto.collector.profiles.v1experimental.ExportProfilesServiceRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ExportProfilesServiceRequestOrBuilder, Cloneable
Enclosing class:
ExportProfilesServiceRequest

public static final class ExportProfilesServiceRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportProfilesServiceRequest.Builder> implements ExportProfilesServiceRequestOrBuilder
Protobuf type opentelemetry.proto.collector.profiles.v1experimental.ExportProfilesServiceRequest
  • Method Details

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ExportProfilesServiceRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ExportProfilesServiceRequest.Builder>
    • setField

      public ExportProfilesServiceRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportProfilesServiceRequest.Builder>
    • clearField

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

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

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

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

      public ExportProfilesServiceRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportProfilesServiceRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public ExportProfilesServiceRequest.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<ExportProfilesServiceRequest.Builder>
      Throws:
      IOException
    • getResourceProfilesList

      public List<ResourceProfiles> getResourceProfilesList()
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
      Specified by:
      getResourceProfilesList in interface ExportProfilesServiceRequestOrBuilder
    • getResourceProfilesCount

      public int getResourceProfilesCount()
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
      Specified by:
      getResourceProfilesCount in interface ExportProfilesServiceRequestOrBuilder
    • getResourceProfiles

      public ResourceProfiles getResourceProfiles(int index)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
      Specified by:
      getResourceProfiles in interface ExportProfilesServiceRequestOrBuilder
    • setResourceProfiles

      public ExportProfilesServiceRequest.Builder setResourceProfiles(int index, ResourceProfiles value)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • setResourceProfiles

      public ExportProfilesServiceRequest.Builder setResourceProfiles(int index, ResourceProfiles.Builder builderForValue)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • addResourceProfiles

      public ExportProfilesServiceRequest.Builder addResourceProfiles(ResourceProfiles value)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • addResourceProfiles

      public ExportProfilesServiceRequest.Builder addResourceProfiles(int index, ResourceProfiles value)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • addResourceProfiles

      public ExportProfilesServiceRequest.Builder addResourceProfiles(ResourceProfiles.Builder builderForValue)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • addResourceProfiles

      public ExportProfilesServiceRequest.Builder addResourceProfiles(int index, ResourceProfiles.Builder builderForValue)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • addAllResourceProfiles

      public ExportProfilesServiceRequest.Builder addAllResourceProfiles(Iterable<? extends ResourceProfiles> values)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • clearResourceProfiles

      public ExportProfilesServiceRequest.Builder clearResourceProfiles()
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • removeResourceProfiles

      public ExportProfilesServiceRequest.Builder removeResourceProfiles(int index)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • getResourceProfilesBuilder

      public ResourceProfiles.Builder getResourceProfilesBuilder(int index)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • getResourceProfilesOrBuilder

      public ResourceProfilesOrBuilder getResourceProfilesOrBuilder(int index)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
      Specified by:
      getResourceProfilesOrBuilder in interface ExportProfilesServiceRequestOrBuilder
    • getResourceProfilesOrBuilderList

      public List<? extends ResourceProfilesOrBuilder> getResourceProfilesOrBuilderList()
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
      Specified by:
      getResourceProfilesOrBuilderList in interface ExportProfilesServiceRequestOrBuilder
    • addResourceProfilesBuilder

      public ResourceProfiles.Builder addResourceProfilesBuilder()
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • addResourceProfilesBuilder

      public ResourceProfiles.Builder addResourceProfilesBuilder(int index)
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • getResourceProfilesBuilderList

      public List<ResourceProfiles.Builder> getResourceProfilesBuilderList()
       An array of ResourceProfiles.
       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.profiles.v1experimental.ResourceProfiles resource_profiles = 1;
    • setUnknownFields

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

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