public static class LoggingServiceV2StubSettings.Builder extends StubSettings.Builder<LoggingServiceV2StubSettings,LoggingServiceV2StubSettings.Builder>
Builder for LoggingServiceV2StubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(LoggingServiceV2StubSettings settings)
protected Builder(LoggingServiceV2StubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | LoggingServiceV2StubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public LoggingServiceV2StubSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
Parameter | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
LoggingServiceV2StubSettings.Builder |
build()
public LoggingServiceV2StubSettings build()
Returns | |
---|---|
Type | Description |
LoggingServiceV2StubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
deleteLogSettings()
public UnaryCallSettings.Builder<DeleteLogRequest,Empty> deleteLogSettings()
Returns the builder for the settings used for calls to deleteLog.
Returns | |
---|---|
Type | Description |
Builder<DeleteLogRequest,Empty> |
listLogEntriesSettings()
public PagedCallSettings.Builder<ListLogEntriesRequest,ListLogEntriesResponse,LoggingClient.ListLogEntriesPagedResponse> listLogEntriesSettings()
Returns the builder for the settings used for calls to listLogEntries.
Returns | |
---|---|
Type | Description |
Builder<ListLogEntriesRequest,ListLogEntriesResponse,ListLogEntriesPagedResponse> |
listLogsSettings()
public PagedCallSettings.Builder<ListLogsRequest,ListLogsResponse,LoggingClient.ListLogsPagedResponse> listLogsSettings()
Returns the builder for the settings used for calls to listLogs.
Returns | |
---|---|
Type | Description |
Builder<ListLogsRequest,ListLogsResponse,ListLogsPagedResponse> |
listMonitoredResourceDescriptorsSettings()
public PagedCallSettings.Builder<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse,LoggingClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings()
Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.
Returns | |
---|---|
Type | Description |
Builder<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse,ListMonitoredResourceDescriptorsPagedResponse> |
tailLogEntriesSettings()
public StreamingCallSettings.Builder<TailLogEntriesRequest,TailLogEntriesResponse> tailLogEntriesSettings()
Returns the builder for the settings used for calls to tailLogEntries.
Returns | |
---|---|
Type | Description |
Builder<TailLogEntriesRequest,TailLogEntriesResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
writeLogEntriesSettings()
public BatchingCallSettings.Builder<WriteLogEntriesRequest,WriteLogEntriesResponse> writeLogEntriesSettings()
Returns the builder for the settings used for calls to writeLogEntries.
Returns | |
---|---|
Type | Description |
Builder<WriteLogEntriesRequest,WriteLogEntriesResponse> |