Class OrcaLoadReportRequest.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • reportInterval_

        private com.google.protobuf.Duration reportInterval_
      • reportIntervalBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> reportIntervalBuilder_
      • requestCostNames_

        private com.google.protobuf.LazyStringArrayList requestCostNames_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • 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<OrcaLoadReportRequest.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

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

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

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

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

        public OrcaLoadReportRequest.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<OrcaLoadReportRequest.Builder>
        Throws:
        java.io.IOException
      • hasReportInterval

        public boolean hasReportInterval()
         Interval for generating Open RCA core metric responses.
         
        .google.protobuf.Duration report_interval = 1;
        Specified by:
        hasReportInterval in interface OrcaLoadReportRequestOrBuilder
        Returns:
        Whether the reportInterval field is set.
      • getReportInterval

        public com.google.protobuf.Duration getReportInterval()
         Interval for generating Open RCA core metric responses.
         
        .google.protobuf.Duration report_interval = 1;
        Specified by:
        getReportInterval in interface OrcaLoadReportRequestOrBuilder
        Returns:
        The reportInterval.
      • setReportInterval

        public OrcaLoadReportRequest.Builder setReportInterval​(com.google.protobuf.Duration value)
         Interval for generating Open RCA core metric responses.
         
        .google.protobuf.Duration report_interval = 1;
      • setReportInterval

        public OrcaLoadReportRequest.Builder setReportInterval​(com.google.protobuf.Duration.Builder builderForValue)
         Interval for generating Open RCA core metric responses.
         
        .google.protobuf.Duration report_interval = 1;
      • mergeReportInterval

        public OrcaLoadReportRequest.Builder mergeReportInterval​(com.google.protobuf.Duration value)
         Interval for generating Open RCA core metric responses.
         
        .google.protobuf.Duration report_interval = 1;
      • clearReportInterval

        public OrcaLoadReportRequest.Builder clearReportInterval()
         Interval for generating Open RCA core metric responses.
         
        .google.protobuf.Duration report_interval = 1;
      • getReportIntervalBuilder

        public com.google.protobuf.Duration.Builder getReportIntervalBuilder()
         Interval for generating Open RCA core metric responses.
         
        .google.protobuf.Duration report_interval = 1;
      • getReportIntervalOrBuilder

        public com.google.protobuf.DurationOrBuilder getReportIntervalOrBuilder()
         Interval for generating Open RCA core metric responses.
         
        .google.protobuf.Duration report_interval = 1;
        Specified by:
        getReportIntervalOrBuilder in interface OrcaLoadReportRequestOrBuilder
      • getReportIntervalFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getReportIntervalFieldBuilder()
         Interval for generating Open RCA core metric responses.
         
        .google.protobuf.Duration report_interval = 1;
      • ensureRequestCostNamesIsMutable

        private void ensureRequestCostNamesIsMutable()
      • getRequestCostNamesList

        public com.google.protobuf.ProtocolStringList getRequestCostNamesList()
         Request costs to collect. If this is empty, all known requests costs tracked by
         the load reporting agent will be returned. This provides an opportunity for
         the client to selectively obtain a subset of tracked costs.
         
        repeated string request_cost_names = 2;
        Specified by:
        getRequestCostNamesList in interface OrcaLoadReportRequestOrBuilder
        Returns:
        A list containing the requestCostNames.
      • getRequestCostNamesCount

        public int getRequestCostNamesCount()
         Request costs to collect. If this is empty, all known requests costs tracked by
         the load reporting agent will be returned. This provides an opportunity for
         the client to selectively obtain a subset of tracked costs.
         
        repeated string request_cost_names = 2;
        Specified by:
        getRequestCostNamesCount in interface OrcaLoadReportRequestOrBuilder
        Returns:
        The count of requestCostNames.
      • getRequestCostNames

        public java.lang.String getRequestCostNames​(int index)
         Request costs to collect. If this is empty, all known requests costs tracked by
         the load reporting agent will be returned. This provides an opportunity for
         the client to selectively obtain a subset of tracked costs.
         
        repeated string request_cost_names = 2;
        Specified by:
        getRequestCostNames in interface OrcaLoadReportRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The requestCostNames at the given index.
      • getRequestCostNamesBytes

        public com.google.protobuf.ByteString getRequestCostNamesBytes​(int index)
         Request costs to collect. If this is empty, all known requests costs tracked by
         the load reporting agent will be returned. This provides an opportunity for
         the client to selectively obtain a subset of tracked costs.
         
        repeated string request_cost_names = 2;
        Specified by:
        getRequestCostNamesBytes in interface OrcaLoadReportRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the requestCostNames at the given index.
      • setRequestCostNames

        public OrcaLoadReportRequest.Builder setRequestCostNames​(int index,
                                                                 java.lang.String value)
         Request costs to collect. If this is empty, all known requests costs tracked by
         the load reporting agent will be returned. This provides an opportunity for
         the client to selectively obtain a subset of tracked costs.
         
        repeated string request_cost_names = 2;
        Parameters:
        index - The index to set the value at.
        value - The requestCostNames to set.
        Returns:
        This builder for chaining.
      • addRequestCostNames

        public OrcaLoadReportRequest.Builder addRequestCostNames​(java.lang.String value)
         Request costs to collect. If this is empty, all known requests costs tracked by
         the load reporting agent will be returned. This provides an opportunity for
         the client to selectively obtain a subset of tracked costs.
         
        repeated string request_cost_names = 2;
        Parameters:
        value - The requestCostNames to add.
        Returns:
        This builder for chaining.
      • addAllRequestCostNames

        public OrcaLoadReportRequest.Builder addAllRequestCostNames​(java.lang.Iterable<java.lang.String> values)
         Request costs to collect. If this is empty, all known requests costs tracked by
         the load reporting agent will be returned. This provides an opportunity for
         the client to selectively obtain a subset of tracked costs.
         
        repeated string request_cost_names = 2;
        Parameters:
        values - The requestCostNames to add.
        Returns:
        This builder for chaining.
      • clearRequestCostNames

        public OrcaLoadReportRequest.Builder clearRequestCostNames()
         Request costs to collect. If this is empty, all known requests costs tracked by
         the load reporting agent will be returned. This provides an opportunity for
         the client to selectively obtain a subset of tracked costs.
         
        repeated string request_cost_names = 2;
        Returns:
        This builder for chaining.
      • addRequestCostNamesBytes

        public OrcaLoadReportRequest.Builder addRequestCostNamesBytes​(com.google.protobuf.ByteString value)
         Request costs to collect. If this is empty, all known requests costs tracked by
         the load reporting agent will be returned. This provides an opportunity for
         the client to selectively obtain a subset of tracked costs.
         
        repeated string request_cost_names = 2;
        Parameters:
        value - The bytes of the requestCostNames to add.
        Returns:
        This builder for chaining.