Class MetadataServiceStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public MetadataServiceStubSettings.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()
      • createEntitySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEntityRequest,​Entity> createEntitySettings()
        Returns the builder for the settings used for calls to createEntity.
      • updateEntitySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEntityRequest,​Entity> updateEntitySettings()
        Returns the builder for the settings used for calls to updateEntity.
      • deleteEntitySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEntityRequest,​com.google.protobuf.Empty> deleteEntitySettings()
        Returns the builder for the settings used for calls to deleteEntity.
      • getEntitySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEntityRequest,​Entity> getEntitySettings()
        Returns the builder for the settings used for calls to getEntity.
      • createPartitionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePartitionRequest,​Partition> createPartitionSettings()
        Returns the builder for the settings used for calls to createPartition.
      • deletePartitionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePartitionRequest,​com.google.protobuf.Empty> deletePartitionSettings()
        Returns the builder for the settings used for calls to deletePartition.
      • getPartitionSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPartitionRequest,​Partition> getPartitionSettings()
        Returns the builder for the settings used for calls to getPartition.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​MetadataServiceClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the builder for the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the builder for the settings used for calls to getLocation.