com.google.cloud.aiplatform.v1.TensorboardServiceSettings Maven / Gradle / Ivy
Show all versions of google-cloud-aiplatform Show documentation
/*
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.aiplatform.v1;
import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ExportTensorboardTimeSeriesDataPagedResponse;
import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ListTensorboardExperimentsPagedResponse;
import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ListTensorboardRunsPagedResponse;
import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ListTensorboardTimeSeriesPagedResponse;
import static com.google.cloud.aiplatform.v1.TensorboardServiceClient.ListTensorboardsPagedResponse;
import com.google.api.core.ApiFunction;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.ServerStreamingCallSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.aiplatform.v1.stub.TensorboardServiceStubSettings;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;
// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Settings class to configure an instance of {@link TensorboardServiceClient}.
*
* The default instance has everything set to sensible defaults:
*
*
* - The default service address (aiplatform.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
*
* The builder of this class is recursive, so contained classes are themselves builders. When
* build() is called, the tree of builders is called to create the complete settings object.
*
*
For example, to set the total timeout of getTensorboard to 30 seconds:
*
*
{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* TensorboardServiceSettings.Builder tensorboardServiceSettingsBuilder =
* TensorboardServiceSettings.newBuilder();
* tensorboardServiceSettingsBuilder
* .getTensorboardSettings()
* .setRetrySettings(
* tensorboardServiceSettingsBuilder
* .getTensorboardSettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* TensorboardServiceSettings tensorboardServiceSettings =
* tensorboardServiceSettingsBuilder.build();
* }
*/
@Generated("by gapic-generator-java")
public class TensorboardServiceSettings extends ClientSettings {
/** Returns the object with the settings used for calls to createTensorboard. */
public UnaryCallSettings createTensorboardSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).createTensorboardSettings();
}
/** Returns the object with the settings used for calls to createTensorboard. */
public OperationCallSettings<
CreateTensorboardRequest, Tensorboard, CreateTensorboardOperationMetadata>
createTensorboardOperationSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.createTensorboardOperationSettings();
}
/** Returns the object with the settings used for calls to getTensorboard. */
public UnaryCallSettings getTensorboardSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).getTensorboardSettings();
}
/** Returns the object with the settings used for calls to updateTensorboard. */
public UnaryCallSettings updateTensorboardSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).updateTensorboardSettings();
}
/** Returns the object with the settings used for calls to updateTensorboard. */
public OperationCallSettings<
UpdateTensorboardRequest, Tensorboard, UpdateTensorboardOperationMetadata>
updateTensorboardOperationSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.updateTensorboardOperationSettings();
}
/** Returns the object with the settings used for calls to listTensorboards. */
public PagedCallSettings<
ListTensorboardsRequest, ListTensorboardsResponse, ListTensorboardsPagedResponse>
listTensorboardsSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).listTensorboardsSettings();
}
/** Returns the object with the settings used for calls to deleteTensorboard. */
public UnaryCallSettings deleteTensorboardSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).deleteTensorboardSettings();
}
/** Returns the object with the settings used for calls to deleteTensorboard. */
public OperationCallSettings
deleteTensorboardOperationSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.deleteTensorboardOperationSettings();
}
/** Returns the object with the settings used for calls to readTensorboardUsage. */
public UnaryCallSettings
readTensorboardUsageSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).readTensorboardUsageSettings();
}
/** Returns the object with the settings used for calls to readTensorboardSize. */
public UnaryCallSettings
readTensorboardSizeSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).readTensorboardSizeSettings();
}
/** Returns the object with the settings used for calls to createTensorboardExperiment. */
public UnaryCallSettings
createTensorboardExperimentSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.createTensorboardExperimentSettings();
}
/** Returns the object with the settings used for calls to getTensorboardExperiment. */
public UnaryCallSettings
getTensorboardExperimentSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).getTensorboardExperimentSettings();
}
/** Returns the object with the settings used for calls to updateTensorboardExperiment. */
public UnaryCallSettings
updateTensorboardExperimentSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.updateTensorboardExperimentSettings();
}
/** Returns the object with the settings used for calls to listTensorboardExperiments. */
public PagedCallSettings<
ListTensorboardExperimentsRequest,
ListTensorboardExperimentsResponse,
ListTensorboardExperimentsPagedResponse>
listTensorboardExperimentsSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.listTensorboardExperimentsSettings();
}
/** Returns the object with the settings used for calls to deleteTensorboardExperiment. */
public UnaryCallSettings
deleteTensorboardExperimentSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.deleteTensorboardExperimentSettings();
}
/** Returns the object with the settings used for calls to deleteTensorboardExperiment. */
public OperationCallSettings
deleteTensorboardExperimentOperationSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.deleteTensorboardExperimentOperationSettings();
}
/** Returns the object with the settings used for calls to createTensorboardRun. */
public UnaryCallSettings
createTensorboardRunSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).createTensorboardRunSettings();
}
/** Returns the object with the settings used for calls to batchCreateTensorboardRuns. */
public UnaryCallSettings
batchCreateTensorboardRunsSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.batchCreateTensorboardRunsSettings();
}
/** Returns the object with the settings used for calls to getTensorboardRun. */
public UnaryCallSettings getTensorboardRunSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).getTensorboardRunSettings();
}
/** Returns the object with the settings used for calls to updateTensorboardRun. */
public UnaryCallSettings
updateTensorboardRunSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).updateTensorboardRunSettings();
}
/** Returns the object with the settings used for calls to listTensorboardRuns. */
public PagedCallSettings<
ListTensorboardRunsRequest, ListTensorboardRunsResponse, ListTensorboardRunsPagedResponse>
listTensorboardRunsSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).listTensorboardRunsSettings();
}
/** Returns the object with the settings used for calls to deleteTensorboardRun. */
public UnaryCallSettings deleteTensorboardRunSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).deleteTensorboardRunSettings();
}
/** Returns the object with the settings used for calls to deleteTensorboardRun. */
public OperationCallSettings
deleteTensorboardRunOperationSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.deleteTensorboardRunOperationSettings();
}
/** Returns the object with the settings used for calls to batchCreateTensorboardTimeSeries. */
public UnaryCallSettings<
BatchCreateTensorboardTimeSeriesRequest, BatchCreateTensorboardTimeSeriesResponse>
batchCreateTensorboardTimeSeriesSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.batchCreateTensorboardTimeSeriesSettings();
}
/** Returns the object with the settings used for calls to createTensorboardTimeSeries. */
public UnaryCallSettings
createTensorboardTimeSeriesSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.createTensorboardTimeSeriesSettings();
}
/** Returns the object with the settings used for calls to getTensorboardTimeSeries. */
public UnaryCallSettings
getTensorboardTimeSeriesSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).getTensorboardTimeSeriesSettings();
}
/** Returns the object with the settings used for calls to updateTensorboardTimeSeries. */
public UnaryCallSettings
updateTensorboardTimeSeriesSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.updateTensorboardTimeSeriesSettings();
}
/** Returns the object with the settings used for calls to listTensorboardTimeSeries. */
public PagedCallSettings<
ListTensorboardTimeSeriesRequest,
ListTensorboardTimeSeriesResponse,
ListTensorboardTimeSeriesPagedResponse>
listTensorboardTimeSeriesSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).listTensorboardTimeSeriesSettings();
}
/** Returns the object with the settings used for calls to deleteTensorboardTimeSeries. */
public UnaryCallSettings
deleteTensorboardTimeSeriesSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.deleteTensorboardTimeSeriesSettings();
}
/** Returns the object with the settings used for calls to deleteTensorboardTimeSeries. */
public OperationCallSettings
deleteTensorboardTimeSeriesOperationSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.deleteTensorboardTimeSeriesOperationSettings();
}
/** Returns the object with the settings used for calls to batchReadTensorboardTimeSeriesData. */
public UnaryCallSettings<
BatchReadTensorboardTimeSeriesDataRequest, BatchReadTensorboardTimeSeriesDataResponse>
batchReadTensorboardTimeSeriesDataSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.batchReadTensorboardTimeSeriesDataSettings();
}
/** Returns the object with the settings used for calls to readTensorboardTimeSeriesData. */
public UnaryCallSettings<
ReadTensorboardTimeSeriesDataRequest, ReadTensorboardTimeSeriesDataResponse>
readTensorboardTimeSeriesDataSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.readTensorboardTimeSeriesDataSettings();
}
/** Returns the object with the settings used for calls to readTensorboardBlobData. */
public ServerStreamingCallSettings<
ReadTensorboardBlobDataRequest, ReadTensorboardBlobDataResponse>
readTensorboardBlobDataSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).readTensorboardBlobDataSettings();
}
/** Returns the object with the settings used for calls to writeTensorboardExperimentData. */
public UnaryCallSettings<
WriteTensorboardExperimentDataRequest, WriteTensorboardExperimentDataResponse>
writeTensorboardExperimentDataSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.writeTensorboardExperimentDataSettings();
}
/** Returns the object with the settings used for calls to writeTensorboardRunData. */
public UnaryCallSettings
writeTensorboardRunDataSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).writeTensorboardRunDataSettings();
}
/** Returns the object with the settings used for calls to exportTensorboardTimeSeriesData. */
public PagedCallSettings<
ExportTensorboardTimeSeriesDataRequest,
ExportTensorboardTimeSeriesDataResponse,
ExportTensorboardTimeSeriesDataPagedResponse>
exportTensorboardTimeSeriesDataSettings() {
return ((TensorboardServiceStubSettings) getStubSettings())
.exportTensorboardTimeSeriesDataSettings();
}
/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings
listLocationsSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).listLocationsSettings();
}
/** Returns the object with the settings used for calls to getLocation. */
public UnaryCallSettings getLocationSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).getLocationSettings();
}
/** Returns the object with the settings used for calls to setIamPolicy. */
public UnaryCallSettings setIamPolicySettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).setIamPolicySettings();
}
/** Returns the object with the settings used for calls to getIamPolicy. */
public UnaryCallSettings getIamPolicySettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).getIamPolicySettings();
}
/** Returns the object with the settings used for calls to testIamPermissions. */
public UnaryCallSettings
testIamPermissionsSettings() {
return ((TensorboardServiceStubSettings) getStubSettings()).testIamPermissionsSettings();
}
public static final TensorboardServiceSettings create(TensorboardServiceStubSettings stub)
throws IOException {
return new TensorboardServiceSettings.Builder(stub.toBuilder()).build();
}
/** Returns a builder for the default ExecutorProvider for this service. */
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
return TensorboardServiceStubSettings.defaultExecutorProviderBuilder();
}
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
return TensorboardServiceStubSettings.getDefaultEndpoint();
}
/** Returns the default service scopes. */
public static List getDefaultServiceScopes() {
return TensorboardServiceStubSettings.getDefaultServiceScopes();
}
/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return TensorboardServiceStubSettings.defaultCredentialsProviderBuilder();
}
/** Returns a builder for the default ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return TensorboardServiceStubSettings.defaultGrpcTransportProviderBuilder();
}
public static TransportChannelProvider defaultTransportChannelProvider() {
return TensorboardServiceStubSettings.defaultTransportChannelProvider();
}
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
return TensorboardServiceStubSettings.defaultApiClientHeaderProviderBuilder();
}
/** Returns a new builder for this class. */
public static Builder newBuilder() {
return Builder.createDefault();
}
/** Returns a new builder for this class. */
public static Builder newBuilder(ClientContext clientContext) {
return new Builder(clientContext);
}
/** Returns a builder containing all the values of this settings class. */
public Builder toBuilder() {
return new Builder(this);
}
protected TensorboardServiceSettings(Builder settingsBuilder) throws IOException {
super(settingsBuilder);
}
/** Builder for TensorboardServiceSettings. */
public static class Builder extends ClientSettings.Builder {
protected Builder() throws IOException {
this(((ClientContext) null));
}
protected Builder(ClientContext clientContext) {
super(TensorboardServiceStubSettings.newBuilder(clientContext));
}
protected Builder(TensorboardServiceSettings settings) {
super(settings.getStubSettings().toBuilder());
}
protected Builder(TensorboardServiceStubSettings.Builder stubSettings) {
super(stubSettings);
}
private static Builder createDefault() {
return new Builder(TensorboardServiceStubSettings.newBuilder());
}
public TensorboardServiceStubSettings.Builder getStubSettingsBuilder() {
return ((TensorboardServiceStubSettings.Builder) getStubSettings());
}
/**
* 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.
*/
public Builder applyToAllUnaryMethods(
ApiFunction, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
}
/** Returns the builder for the settings used for calls to createTensorboard. */
public UnaryCallSettings.Builder
createTensorboardSettings() {
return getStubSettingsBuilder().createTensorboardSettings();
}
/** Returns the builder for the settings used for calls to createTensorboard. */
public OperationCallSettings.Builder<
CreateTensorboardRequest, Tensorboard, CreateTensorboardOperationMetadata>
createTensorboardOperationSettings() {
return getStubSettingsBuilder().createTensorboardOperationSettings();
}
/** Returns the builder for the settings used for calls to getTensorboard. */
public UnaryCallSettings.Builder getTensorboardSettings() {
return getStubSettingsBuilder().getTensorboardSettings();
}
/** Returns the builder for the settings used for calls to updateTensorboard. */
public UnaryCallSettings.Builder
updateTensorboardSettings() {
return getStubSettingsBuilder().updateTensorboardSettings();
}
/** Returns the builder for the settings used for calls to updateTensorboard. */
public OperationCallSettings.Builder<
UpdateTensorboardRequest, Tensorboard, UpdateTensorboardOperationMetadata>
updateTensorboardOperationSettings() {
return getStubSettingsBuilder().updateTensorboardOperationSettings();
}
/** Returns the builder for the settings used for calls to listTensorboards. */
public PagedCallSettings.Builder<
ListTensorboardsRequest, ListTensorboardsResponse, ListTensorboardsPagedResponse>
listTensorboardsSettings() {
return getStubSettingsBuilder().listTensorboardsSettings();
}
/** Returns the builder for the settings used for calls to deleteTensorboard. */
public UnaryCallSettings.Builder
deleteTensorboardSettings() {
return getStubSettingsBuilder().deleteTensorboardSettings();
}
/** Returns the builder for the settings used for calls to deleteTensorboard. */
public OperationCallSettings.Builder
deleteTensorboardOperationSettings() {
return getStubSettingsBuilder().deleteTensorboardOperationSettings();
}
/** Returns the builder for the settings used for calls to readTensorboardUsage. */
public UnaryCallSettings.Builder
readTensorboardUsageSettings() {
return getStubSettingsBuilder().readTensorboardUsageSettings();
}
/** Returns the builder for the settings used for calls to readTensorboardSize. */
public UnaryCallSettings.Builder
readTensorboardSizeSettings() {
return getStubSettingsBuilder().readTensorboardSizeSettings();
}
/** Returns the builder for the settings used for calls to createTensorboardExperiment. */
public UnaryCallSettings.Builder
createTensorboardExperimentSettings() {
return getStubSettingsBuilder().createTensorboardExperimentSettings();
}
/** Returns the builder for the settings used for calls to getTensorboardExperiment. */
public UnaryCallSettings.Builder
getTensorboardExperimentSettings() {
return getStubSettingsBuilder().getTensorboardExperimentSettings();
}
/** Returns the builder for the settings used for calls to updateTensorboardExperiment. */
public UnaryCallSettings.Builder
updateTensorboardExperimentSettings() {
return getStubSettingsBuilder().updateTensorboardExperimentSettings();
}
/** Returns the builder for the settings used for calls to listTensorboardExperiments. */
public PagedCallSettings.Builder<
ListTensorboardExperimentsRequest,
ListTensorboardExperimentsResponse,
ListTensorboardExperimentsPagedResponse>
listTensorboardExperimentsSettings() {
return getStubSettingsBuilder().listTensorboardExperimentsSettings();
}
/** Returns the builder for the settings used for calls to deleteTensorboardExperiment. */
public UnaryCallSettings.Builder
deleteTensorboardExperimentSettings() {
return getStubSettingsBuilder().deleteTensorboardExperimentSettings();
}
/** Returns the builder for the settings used for calls to deleteTensorboardExperiment. */
public OperationCallSettings.Builder<
DeleteTensorboardExperimentRequest, Empty, DeleteOperationMetadata>
deleteTensorboardExperimentOperationSettings() {
return getStubSettingsBuilder().deleteTensorboardExperimentOperationSettings();
}
/** Returns the builder for the settings used for calls to createTensorboardRun. */
public UnaryCallSettings.Builder
createTensorboardRunSettings() {
return getStubSettingsBuilder().createTensorboardRunSettings();
}
/** Returns the builder for the settings used for calls to batchCreateTensorboardRuns. */
public UnaryCallSettings.Builder<
BatchCreateTensorboardRunsRequest, BatchCreateTensorboardRunsResponse>
batchCreateTensorboardRunsSettings() {
return getStubSettingsBuilder().batchCreateTensorboardRunsSettings();
}
/** Returns the builder for the settings used for calls to getTensorboardRun. */
public UnaryCallSettings.Builder
getTensorboardRunSettings() {
return getStubSettingsBuilder().getTensorboardRunSettings();
}
/** Returns the builder for the settings used for calls to updateTensorboardRun. */
public UnaryCallSettings.Builder
updateTensorboardRunSettings() {
return getStubSettingsBuilder().updateTensorboardRunSettings();
}
/** Returns the builder for the settings used for calls to listTensorboardRuns. */
public PagedCallSettings.Builder<
ListTensorboardRunsRequest,
ListTensorboardRunsResponse,
ListTensorboardRunsPagedResponse>
listTensorboardRunsSettings() {
return getStubSettingsBuilder().listTensorboardRunsSettings();
}
/** Returns the builder for the settings used for calls to deleteTensorboardRun. */
public UnaryCallSettings.Builder
deleteTensorboardRunSettings() {
return getStubSettingsBuilder().deleteTensorboardRunSettings();
}
/** Returns the builder for the settings used for calls to deleteTensorboardRun. */
public OperationCallSettings.Builder<
DeleteTensorboardRunRequest, Empty, DeleteOperationMetadata>
deleteTensorboardRunOperationSettings() {
return getStubSettingsBuilder().deleteTensorboardRunOperationSettings();
}
/** Returns the builder for the settings used for calls to batchCreateTensorboardTimeSeries. */
public UnaryCallSettings.Builder<
BatchCreateTensorboardTimeSeriesRequest, BatchCreateTensorboardTimeSeriesResponse>
batchCreateTensorboardTimeSeriesSettings() {
return getStubSettingsBuilder().batchCreateTensorboardTimeSeriesSettings();
}
/** Returns the builder for the settings used for calls to createTensorboardTimeSeries. */
public UnaryCallSettings.Builder
createTensorboardTimeSeriesSettings() {
return getStubSettingsBuilder().createTensorboardTimeSeriesSettings();
}
/** Returns the builder for the settings used for calls to getTensorboardTimeSeries. */
public UnaryCallSettings.Builder
getTensorboardTimeSeriesSettings() {
return getStubSettingsBuilder().getTensorboardTimeSeriesSettings();
}
/** Returns the builder for the settings used for calls to updateTensorboardTimeSeries. */
public UnaryCallSettings.Builder
updateTensorboardTimeSeriesSettings() {
return getStubSettingsBuilder().updateTensorboardTimeSeriesSettings();
}
/** Returns the builder for the settings used for calls to listTensorboardTimeSeries. */
public PagedCallSettings.Builder<
ListTensorboardTimeSeriesRequest,
ListTensorboardTimeSeriesResponse,
ListTensorboardTimeSeriesPagedResponse>
listTensorboardTimeSeriesSettings() {
return getStubSettingsBuilder().listTensorboardTimeSeriesSettings();
}
/** Returns the builder for the settings used for calls to deleteTensorboardTimeSeries. */
public UnaryCallSettings.Builder
deleteTensorboardTimeSeriesSettings() {
return getStubSettingsBuilder().deleteTensorboardTimeSeriesSettings();
}
/** Returns the builder for the settings used for calls to deleteTensorboardTimeSeries. */
public OperationCallSettings.Builder<
DeleteTensorboardTimeSeriesRequest, Empty, DeleteOperationMetadata>
deleteTensorboardTimeSeriesOperationSettings() {
return getStubSettingsBuilder().deleteTensorboardTimeSeriesOperationSettings();
}
/**
* Returns the builder for the settings used for calls to batchReadTensorboardTimeSeriesData.
*/
public UnaryCallSettings.Builder<
BatchReadTensorboardTimeSeriesDataRequest, BatchReadTensorboardTimeSeriesDataResponse>
batchReadTensorboardTimeSeriesDataSettings() {
return getStubSettingsBuilder().batchReadTensorboardTimeSeriesDataSettings();
}
/** Returns the builder for the settings used for calls to readTensorboardTimeSeriesData. */
public UnaryCallSettings.Builder<
ReadTensorboardTimeSeriesDataRequest, ReadTensorboardTimeSeriesDataResponse>
readTensorboardTimeSeriesDataSettings() {
return getStubSettingsBuilder().readTensorboardTimeSeriesDataSettings();
}
/** Returns the builder for the settings used for calls to readTensorboardBlobData. */
public ServerStreamingCallSettings.Builder<
ReadTensorboardBlobDataRequest, ReadTensorboardBlobDataResponse>
readTensorboardBlobDataSettings() {
return getStubSettingsBuilder().readTensorboardBlobDataSettings();
}
/** Returns the builder for the settings used for calls to writeTensorboardExperimentData. */
public UnaryCallSettings.Builder<
WriteTensorboardExperimentDataRequest, WriteTensorboardExperimentDataResponse>
writeTensorboardExperimentDataSettings() {
return getStubSettingsBuilder().writeTensorboardExperimentDataSettings();
}
/** Returns the builder for the settings used for calls to writeTensorboardRunData. */
public UnaryCallSettings.Builder<
WriteTensorboardRunDataRequest, WriteTensorboardRunDataResponse>
writeTensorboardRunDataSettings() {
return getStubSettingsBuilder().writeTensorboardRunDataSettings();
}
/** Returns the builder for the settings used for calls to exportTensorboardTimeSeriesData. */
public PagedCallSettings.Builder<
ExportTensorboardTimeSeriesDataRequest,
ExportTensorboardTimeSeriesDataResponse,
ExportTensorboardTimeSeriesDataPagedResponse>
exportTensorboardTimeSeriesDataSettings() {
return getStubSettingsBuilder().exportTensorboardTimeSeriesDataSettings();
}
/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
return getStubSettingsBuilder().listLocationsSettings();
}
/** Returns the builder for the settings used for calls to getLocation. */
public UnaryCallSettings.Builder getLocationSettings() {
return getStubSettingsBuilder().getLocationSettings();
}
/** Returns the builder for the settings used for calls to setIamPolicy. */
public UnaryCallSettings.Builder setIamPolicySettings() {
return getStubSettingsBuilder().setIamPolicySettings();
}
/** Returns the builder for the settings used for calls to getIamPolicy. */
public UnaryCallSettings.Builder getIamPolicySettings() {
return getStubSettingsBuilder().getIamPolicySettings();
}
/** Returns the builder for the settings used for calls to testIamPermissions. */
public UnaryCallSettings.Builder
testIamPermissionsSettings() {
return getStubSettingsBuilder().testIamPermissionsSettings();
}
@Override
public TensorboardServiceSettings build() throws IOException {
return new TensorboardServiceSettings(this);
}
}
}