Class ExportProfilesServiceRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportProfilesServiceRequest.Builder>
io.opentelemetry.proto.collector.profiles.v1development.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.GeneratedMessage.Builder<ExportProfilesServiceRequest.Builder> implements ExportProfilesServiceRequestOrBuilder
Protobuf type opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.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.v1development.ResourceProfiles resource_profiles = 1;