Class Service.GetMetricHistoryBulkInterval

    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getRunIdsList

        public com.google.protobuf.ProtocolStringList getRunIdsList()
         ID(s) of the run(s) from which to fetch metric values. Must be provided.
         
        repeated string run_ids = 1;
        Specified by:
        getRunIdsList in interface Service.GetMetricHistoryBulkIntervalOrBuilder
        Returns:
        A list containing the runIds.
      • getRunIds

        public java.lang.String getRunIds​(int index)
         ID(s) of the run(s) from which to fetch metric values. Must be provided.
         
        repeated string run_ids = 1;
        Specified by:
        getRunIds in interface Service.GetMetricHistoryBulkIntervalOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The runIds at the given index.
      • getRunIdsBytes

        public com.google.protobuf.ByteString getRunIdsBytes​(int index)
         ID(s) of the run(s) from which to fetch metric values. Must be provided.
         
        repeated string run_ids = 1;
        Specified by:
        getRunIdsBytes in interface Service.GetMetricHistoryBulkIntervalOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the runIds at the given index.
      • hasStartStep

        public boolean hasStartStep()
         Optional start step to only fetch metrics after the specified step. Must be defined if
         end_step is defined.
         
        optional int32 start_step = 3;
        Specified by:
        hasStartStep in interface Service.GetMetricHistoryBulkIntervalOrBuilder
        Returns:
        Whether the startStep field is set.
      • getStartStep

        public int getStartStep()
         Optional start step to only fetch metrics after the specified step. Must be defined if
         end_step is defined.
         
        optional int32 start_step = 3;
        Specified by:
        getStartStep in interface Service.GetMetricHistoryBulkIntervalOrBuilder
        Returns:
        The startStep.
      • hasEndStep

        public boolean hasEndStep()
         Optional end step to only fetch metrics before the specified step. Must be defined if
         start_step is defined.
         
        optional int32 end_step = 4;
        Specified by:
        hasEndStep in interface Service.GetMetricHistoryBulkIntervalOrBuilder
        Returns:
        Whether the endStep field is set.
      • getEndStep

        public int getEndStep()
         Optional end step to only fetch metrics before the specified step. Must be defined if
         start_step is defined.
         
        optional int32 end_step = 4;
        Specified by:
        getEndStep in interface Service.GetMetricHistoryBulkIntervalOrBuilder
        Returns:
        The endStep.
      • hasMaxResults

        public boolean hasMaxResults()
         Maximum number of results to fetch per run specified. Must be set to a positive number.
         Note, in reality, the API returns at most (max_results + # of run IDs) x (# run IDs) metric
         data points.
         
        optional int32 max_results = 5;
        Specified by:
        hasMaxResults in interface Service.GetMetricHistoryBulkIntervalOrBuilder
        Returns:
        Whether the maxResults field is set.
      • getMaxResults

        public int getMaxResults()
         Maximum number of results to fetch per run specified. Must be set to a positive number.
         Note, in reality, the API returns at most (max_results + # of run IDs) x (# run IDs) metric
         data points.
         
        optional int32 max_results = 5;
        Specified by:
        getMaxResults in interface Service.GetMetricHistoryBulkIntervalOrBuilder
        Returns:
        The maxResults.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Service.GetMetricHistoryBulkInterval parseFrom​(java.nio.ByteBuffer data)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.GetMetricHistoryBulkInterval parseFrom​(java.nio.ByteBuffer data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.GetMetricHistoryBulkInterval parseFrom​(com.google.protobuf.ByteString data)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.GetMetricHistoryBulkInterval parseFrom​(com.google.protobuf.ByteString data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.GetMetricHistoryBulkInterval parseFrom​(byte[] data)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.GetMetricHistoryBulkInterval parseFrom​(byte[] data,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.GetMetricHistoryBulkInterval parseFrom​(java.io.InputStream input,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Service.GetMetricHistoryBulkInterval parseDelimitedFrom​(java.io.InputStream input,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Service.GetMetricHistoryBulkInterval parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Service.GetMetricHistoryBulkInterval.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Service.GetMetricHistoryBulkInterval.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Service.GetMetricHistoryBulkInterval> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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