Class MetricServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public MetricServiceStubSettings.Builder applyToAllUnaryMethods​(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>,​Void> settingsUpdater)
        Applies the given settings updater function to all of the unary API methods in this service.

        Note: This method does not support applying settings to streaming methods.

      • unaryMethodSettingsBuilders

        public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,​?>> unaryMethodSettingsBuilders()
      • getMonitoredResourceDescriptorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMonitoredResourceDescriptorRequest,​com.google.api.MonitoredResourceDescriptor> getMonitoredResourceDescriptorSettings()
        Returns the builder for the settings used for calls to getMonitoredResourceDescriptor.
      • getMetricDescriptorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMetricDescriptorRequest,​com.google.api.MetricDescriptor> getMetricDescriptorSettings()
        Returns the builder for the settings used for calls to getMetricDescriptor.
      • createMetricDescriptorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateMetricDescriptorRequest,​com.google.api.MetricDescriptor> createMetricDescriptorSettings()
        Returns the builder for the settings used for calls to createMetricDescriptor.
      • deleteMetricDescriptorSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteMetricDescriptorRequest,​com.google.protobuf.Empty> deleteMetricDescriptorSettings()
        Returns the builder for the settings used for calls to deleteMetricDescriptor.
      • createTimeSeriesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTimeSeriesRequest,​com.google.protobuf.Empty> createTimeSeriesSettings()
        Returns the builder for the settings used for calls to createTimeSeries.
      • createServiceTimeSeriesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTimeSeriesRequest,​com.google.protobuf.Empty> createServiceTimeSeriesSettings()
        Returns the builder for the settings used for calls to createServiceTimeSeries.