Class TensorboardServiceSettings (2.5.3)

public class TensorboardServiceSettings extends ClientSettings<TensorboardServiceSettings>

Settings class to configure an instance of 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:


 TensorboardServiceSettings.Builder tensorboardServiceSettingsBuilder =
     TensorboardServiceSettings.newBuilder();
 tensorboardServiceSettingsBuilder
     .getTensorboardSettings()
     .setRetrySettings(
         tensorboardServiceSettingsBuilder
             .getTensorboardSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TensorboardServiceSettings tensorboardServiceSettings =
     tensorboardServiceSettingsBuilder.build();
 

Inheritance

java.lang.Object > ClientSettings > TensorboardServiceSettings

Constructors

TensorboardServiceSettings(TensorboardServiceSettings.Builder settingsBuilder)

protected TensorboardServiceSettings(TensorboardServiceSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderTensorboardServiceSettings.Builder

Methods

batchCreateTensorboardRunsSettings()

public UnaryCallSettings<BatchCreateTensorboardRunsRequest,BatchCreateTensorboardRunsResponse> batchCreateTensorboardRunsSettings()

Returns the object with the settings used for calls to batchCreateTensorboardRuns.

Returns
TypeDescription
UnaryCallSettings<BatchCreateTensorboardRunsRequest,BatchCreateTensorboardRunsResponse>

batchCreateTensorboardTimeSeriesSettings()

public UnaryCallSettings<BatchCreateTensorboardTimeSeriesRequest,BatchCreateTensorboardTimeSeriesResponse> batchCreateTensorboardTimeSeriesSettings()

Returns the object with the settings used for calls to batchCreateTensorboardTimeSeries.

Returns
TypeDescription
UnaryCallSettings<BatchCreateTensorboardTimeSeriesRequest,BatchCreateTensorboardTimeSeriesResponse>

batchReadTensorboardTimeSeriesDataSettings()

public UnaryCallSettings<BatchReadTensorboardTimeSeriesDataRequest,BatchReadTensorboardTimeSeriesDataResponse> batchReadTensorboardTimeSeriesDataSettings()

Returns the object with the settings used for calls to batchReadTensorboardTimeSeriesData.

Returns
TypeDescription
UnaryCallSettings<BatchReadTensorboardTimeSeriesDataRequest,BatchReadTensorboardTimeSeriesDataResponse>

create(TensorboardServiceStubSettings stub)

public static final TensorboardServiceSettings create(TensorboardServiceStubSettings stub)
Parameter
NameDescription
stubTensorboardServiceStubSettings
Returns
TypeDescription
TensorboardServiceSettings
Exceptions
TypeDescription
IOException

createTensorboardExperimentSettings()

public UnaryCallSettings<CreateTensorboardExperimentRequest,TensorboardExperiment> createTensorboardExperimentSettings()

Returns the object with the settings used for calls to createTensorboardExperiment.

Returns
TypeDescription
UnaryCallSettings<CreateTensorboardExperimentRequest,TensorboardExperiment>

createTensorboardOperationSettings()

public OperationCallSettings<CreateTensorboardRequest,Tensorboard,CreateTensorboardOperationMetadata> createTensorboardOperationSettings()

Returns the object with the settings used for calls to createTensorboard.

Returns
TypeDescription
OperationCallSettings<CreateTensorboardRequest,Tensorboard,CreateTensorboardOperationMetadata>

createTensorboardRunSettings()

public UnaryCallSettings<CreateTensorboardRunRequest,TensorboardRun> createTensorboardRunSettings()

Returns the object with the settings used for calls to createTensorboardRun.

Returns
TypeDescription
UnaryCallSettings<CreateTensorboardRunRequest,TensorboardRun>

createTensorboardSettings()

public UnaryCallSettings<CreateTensorboardRequest,Operation> createTensorboardSettings()

Returns the object with the settings used for calls to createTensorboard.

Returns
TypeDescription
UnaryCallSettings<CreateTensorboardRequest,Operation>

createTensorboardTimeSeriesSettings()

public UnaryCallSettings<CreateTensorboardTimeSeriesRequest,TensorboardTimeSeries> createTensorboardTimeSeriesSettings()

Returns the object with the settings used for calls to createTensorboardTimeSeries.

Returns
TypeDescription
UnaryCallSettings<CreateTensorboardTimeSeriesRequest,TensorboardTimeSeries>

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

deleteTensorboardExperimentOperationSettings()

public OperationCallSettings<DeleteTensorboardExperimentRequest,Empty,DeleteOperationMetadata> deleteTensorboardExperimentOperationSettings()

Returns the object with the settings used for calls to deleteTensorboardExperiment.

Returns
TypeDescription
OperationCallSettings<DeleteTensorboardExperimentRequest,Empty,DeleteOperationMetadata>

deleteTensorboardExperimentSettings()

public UnaryCallSettings<DeleteTensorboardExperimentRequest,Operation> deleteTensorboardExperimentSettings()

Returns the object with the settings used for calls to deleteTensorboardExperiment.

Returns
TypeDescription
UnaryCallSettings<DeleteTensorboardExperimentRequest,Operation>

deleteTensorboardOperationSettings()

public OperationCallSettings<DeleteTensorboardRequest,Empty,DeleteOperationMetadata> deleteTensorboardOperationSettings()

Returns the object with the settings used for calls to deleteTensorboard.

Returns
TypeDescription
OperationCallSettings<DeleteTensorboardRequest,Empty,DeleteOperationMetadata>

deleteTensorboardRunOperationSettings()

public OperationCallSettings<DeleteTensorboardRunRequest,Empty,DeleteOperationMetadata> deleteTensorboardRunOperationSettings()

Returns the object with the settings used for calls to deleteTensorboardRun.

Returns
TypeDescription
OperationCallSettings<DeleteTensorboardRunRequest,Empty,DeleteOperationMetadata>

deleteTensorboardRunSettings()

public UnaryCallSettings<DeleteTensorboardRunRequest,Operation> deleteTensorboardRunSettings()

Returns the object with the settings used for calls to deleteTensorboardRun.

Returns
TypeDescription
UnaryCallSettings<DeleteTensorboardRunRequest,Operation>

deleteTensorboardSettings()

public UnaryCallSettings<DeleteTensorboardRequest,Operation> deleteTensorboardSettings()

Returns the object with the settings used for calls to deleteTensorboard.

Returns
TypeDescription
UnaryCallSettings<DeleteTensorboardRequest,Operation>

deleteTensorboardTimeSeriesOperationSettings()

public OperationCallSettings<DeleteTensorboardTimeSeriesRequest,Empty,DeleteOperationMetadata> deleteTensorboardTimeSeriesOperationSettings()

Returns the object with the settings used for calls to deleteTensorboardTimeSeries.

Returns
TypeDescription
OperationCallSettings<DeleteTensorboardTimeSeriesRequest,Empty,DeleteOperationMetadata>

deleteTensorboardTimeSeriesSettings()

public UnaryCallSettings<DeleteTensorboardTimeSeriesRequest,Operation> deleteTensorboardTimeSeriesSettings()

Returns the object with the settings used for calls to deleteTensorboardTimeSeries.

Returns
TypeDescription
UnaryCallSettings<DeleteTensorboardTimeSeriesRequest,Operation>

exportTensorboardTimeSeriesDataSettings()

public PagedCallSettings<ExportTensorboardTimeSeriesDataRequest,ExportTensorboardTimeSeriesDataResponse,TensorboardServiceClient.ExportTensorboardTimeSeriesDataPagedResponse> exportTensorboardTimeSeriesDataSettings()

Returns the object with the settings used for calls to exportTensorboardTimeSeriesData.

Returns
TypeDescription
PagedCallSettings<ExportTensorboardTimeSeriesDataRequest,ExportTensorboardTimeSeriesDataResponse,ExportTensorboardTimeSeriesDataPagedResponse>

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

getTensorboardExperimentSettings()

public UnaryCallSettings<GetTensorboardExperimentRequest,TensorboardExperiment> getTensorboardExperimentSettings()

Returns the object with the settings used for calls to getTensorboardExperiment.

Returns
TypeDescription
UnaryCallSettings<GetTensorboardExperimentRequest,TensorboardExperiment>

getTensorboardRunSettings()

public UnaryCallSettings<GetTensorboardRunRequest,TensorboardRun> getTensorboardRunSettings()

Returns the object with the settings used for calls to getTensorboardRun.

Returns
TypeDescription
UnaryCallSettings<GetTensorboardRunRequest,TensorboardRun>

getTensorboardSettings()

public UnaryCallSettings<GetTensorboardRequest,Tensorboard> getTensorboardSettings()

Returns the object with the settings used for calls to getTensorboard.

Returns
TypeDescription
UnaryCallSettings<GetTensorboardRequest,Tensorboard>

getTensorboardTimeSeriesSettings()

public UnaryCallSettings<GetTensorboardTimeSeriesRequest,TensorboardTimeSeries> getTensorboardTimeSeriesSettings()

Returns the object with the settings used for calls to getTensorboardTimeSeries.

Returns
TypeDescription
UnaryCallSettings<GetTensorboardTimeSeriesRequest,TensorboardTimeSeries>

listTensorboardExperimentsSettings()

public PagedCallSettings<ListTensorboardExperimentsRequest,ListTensorboardExperimentsResponse,TensorboardServiceClient.ListTensorboardExperimentsPagedResponse> listTensorboardExperimentsSettings()

Returns the object with the settings used for calls to listTensorboardExperiments.

Returns
TypeDescription
PagedCallSettings<ListTensorboardExperimentsRequest,ListTensorboardExperimentsResponse,ListTensorboardExperimentsPagedResponse>

listTensorboardRunsSettings()

public PagedCallSettings<ListTensorboardRunsRequest,ListTensorboardRunsResponse,TensorboardServiceClient.ListTensorboardRunsPagedResponse> listTensorboardRunsSettings()

Returns the object with the settings used for calls to listTensorboardRuns.

Returns
TypeDescription
PagedCallSettings<ListTensorboardRunsRequest,ListTensorboardRunsResponse,ListTensorboardRunsPagedResponse>

listTensorboardTimeSeriesSettings()

public PagedCallSettings<ListTensorboardTimeSeriesRequest,ListTensorboardTimeSeriesResponse,TensorboardServiceClient.ListTensorboardTimeSeriesPagedResponse> listTensorboardTimeSeriesSettings()

Returns the object with the settings used for calls to listTensorboardTimeSeries.

Returns
TypeDescription
PagedCallSettings<ListTensorboardTimeSeriesRequest,ListTensorboardTimeSeriesResponse,ListTensorboardTimeSeriesPagedResponse>

listTensorboardsSettings()

public PagedCallSettings<ListTensorboardsRequest,ListTensorboardsResponse,TensorboardServiceClient.ListTensorboardsPagedResponse> listTensorboardsSettings()

Returns the object with the settings used for calls to listTensorboards.

Returns
TypeDescription
PagedCallSettings<ListTensorboardsRequest,ListTensorboardsResponse,ListTensorboardsPagedResponse>

newBuilder()

public static TensorboardServiceSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
TypeDescription
TensorboardServiceSettings.Builder

newBuilder(ClientContext clientContext)

public static TensorboardServiceSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
TensorboardServiceSettings.Builder

readTensorboardBlobDataSettings()

public ServerStreamingCallSettings<ReadTensorboardBlobDataRequest,ReadTensorboardBlobDataResponse> readTensorboardBlobDataSettings()

Returns the object with the settings used for calls to readTensorboardBlobData.

Returns
TypeDescription
ServerStreamingCallSettings<ReadTensorboardBlobDataRequest,ReadTensorboardBlobDataResponse>

readTensorboardTimeSeriesDataSettings()

public UnaryCallSettings<ReadTensorboardTimeSeriesDataRequest,ReadTensorboardTimeSeriesDataResponse> readTensorboardTimeSeriesDataSettings()

Returns the object with the settings used for calls to readTensorboardTimeSeriesData.

Returns
TypeDescription
UnaryCallSettings<ReadTensorboardTimeSeriesDataRequest,ReadTensorboardTimeSeriesDataResponse>

toBuilder()

public TensorboardServiceSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
TensorboardServiceSettings.Builder
Overrides

updateTensorboardExperimentSettings()

public UnaryCallSettings<UpdateTensorboardExperimentRequest,TensorboardExperiment> updateTensorboardExperimentSettings()

Returns the object with the settings used for calls to updateTensorboardExperiment.

Returns
TypeDescription
UnaryCallSettings<UpdateTensorboardExperimentRequest,TensorboardExperiment>

updateTensorboardOperationSettings()

public OperationCallSettings<UpdateTensorboardRequest,Tensorboard,UpdateTensorboardOperationMetadata> updateTensorboardOperationSettings()

Returns the object with the settings used for calls to updateTensorboard.

Returns
TypeDescription
OperationCallSettings<UpdateTensorboardRequest,Tensorboard,UpdateTensorboardOperationMetadata>

updateTensorboardRunSettings()

public UnaryCallSettings<UpdateTensorboardRunRequest,TensorboardRun> updateTensorboardRunSettings()

Returns the object with the settings used for calls to updateTensorboardRun.

Returns
TypeDescription
UnaryCallSettings<UpdateTensorboardRunRequest,TensorboardRun>

updateTensorboardSettings()

public UnaryCallSettings<UpdateTensorboardRequest,Operation> updateTensorboardSettings()

Returns the object with the settings used for calls to updateTensorboard.

Returns
TypeDescription
UnaryCallSettings<UpdateTensorboardRequest,Operation>

updateTensorboardTimeSeriesSettings()

public UnaryCallSettings<UpdateTensorboardTimeSeriesRequest,TensorboardTimeSeries> updateTensorboardTimeSeriesSettings()

Returns the object with the settings used for calls to updateTensorboardTimeSeries.

Returns
TypeDescription
UnaryCallSettings<UpdateTensorboardTimeSeriesRequest,TensorboardTimeSeries>

writeTensorboardExperimentDataSettings()

public UnaryCallSettings<WriteTensorboardExperimentDataRequest,WriteTensorboardExperimentDataResponse> writeTensorboardExperimentDataSettings()

Returns the object with the settings used for calls to writeTensorboardExperimentData.

Returns
TypeDescription
UnaryCallSettings<WriteTensorboardExperimentDataRequest,WriteTensorboardExperimentDataResponse>

writeTensorboardRunDataSettings()

public UnaryCallSettings<WriteTensorboardRunDataRequest,WriteTensorboardRunDataResponse> writeTensorboardRunDataSettings()

Returns the object with the settings used for calls to writeTensorboardRunData.

Returns
TypeDescription
UnaryCallSettings<WriteTensorboardRunDataRequest,WriteTensorboardRunDataResponse>