Class StreamsServiceSettings.Builder (0.11.0)

public static class StreamsServiceSettings.Builder extends ClientSettings.Builder<StreamsServiceSettings,StreamsServiceSettings.Builder>

Builder for StreamsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > StreamsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(StreamsServiceSettings settings)

protected Builder(StreamsServiceSettings settings)
Parameter
Name Description
settings StreamsServiceSettings

Builder(StreamsServiceStubSettings.Builder stubSettings)

protected Builder(StreamsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings StreamsServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public StreamsServiceSettings.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
StreamsServiceSettings.Builder

build()

public StreamsServiceSettings build()
Returns
Type Description
StreamsServiceSettings
Overrides
Exceptions
Type Description
IOException

createClusterOperationSettings()

public OperationCallSettings.Builder<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationSettings()

Returns the builder for the settings used for calls to createCluster.

Returns
Type Description
Builder<CreateClusterRequest,Cluster,OperationMetadata>

createClusterSettings()

public UnaryCallSettings.Builder<CreateClusterRequest,Operation> createClusterSettings()

Returns the builder for the settings used for calls to createCluster.

Returns
Type Description
Builder<CreateClusterRequest,Operation>

createEventOperationSettings()

public OperationCallSettings.Builder<CreateEventRequest,Event,OperationMetadata> createEventOperationSettings()

Returns the builder for the settings used for calls to createEvent.

Returns
Type Description
Builder<CreateEventRequest,Event,OperationMetadata>

createEventSettings()

public UnaryCallSettings.Builder<CreateEventRequest,Operation> createEventSettings()

Returns the builder for the settings used for calls to createEvent.

Returns
Type Description
Builder<CreateEventRequest,Operation>

createSeriesOperationSettings()

public OperationCallSettings.Builder<CreateSeriesRequest,Series,OperationMetadata> createSeriesOperationSettings()

Returns the builder for the settings used for calls to createSeries.

Returns
Type Description
Builder<CreateSeriesRequest,Series,OperationMetadata>

createSeriesSettings()

public UnaryCallSettings.Builder<CreateSeriesRequest,Operation> createSeriesSettings()

Returns the builder for the settings used for calls to createSeries.

Returns
Type Description
Builder<CreateSeriesRequest,Operation>

createStreamOperationSettings()

public OperationCallSettings.Builder<CreateStreamRequest,Stream,OperationMetadata> createStreamOperationSettings()

Returns the builder for the settings used for calls to createStream.

Returns
Type Description
Builder<CreateStreamRequest,Stream,OperationMetadata>

createStreamSettings()

public UnaryCallSettings.Builder<CreateStreamRequest,Operation> createStreamSettings()

Returns the builder for the settings used for calls to createStream.

Returns
Type Description
Builder<CreateStreamRequest,Operation>

deleteClusterOperationSettings()

public OperationCallSettings.Builder<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationSettings()

Returns the builder for the settings used for calls to deleteCluster.

Returns
Type Description
Builder<DeleteClusterRequest,Empty,OperationMetadata>

deleteClusterSettings()

public UnaryCallSettings.Builder<DeleteClusterRequest,Operation> deleteClusterSettings()

Returns the builder for the settings used for calls to deleteCluster.

Returns
Type Description
Builder<DeleteClusterRequest,Operation>

deleteEventOperationSettings()

public OperationCallSettings.Builder<DeleteEventRequest,Empty,OperationMetadata> deleteEventOperationSettings()

Returns the builder for the settings used for calls to deleteEvent.

Returns
Type Description
Builder<DeleteEventRequest,Empty,OperationMetadata>

deleteEventSettings()

public UnaryCallSettings.Builder<DeleteEventRequest,Operation> deleteEventSettings()

Returns the builder for the settings used for calls to deleteEvent.

Returns
Type Description
Builder<DeleteEventRequest,Operation>

deleteSeriesOperationSettings()

public OperationCallSettings.Builder<DeleteSeriesRequest,Empty,OperationMetadata> deleteSeriesOperationSettings()

Returns the builder for the settings used for calls to deleteSeries.

Returns
Type Description
Builder<DeleteSeriesRequest,Empty,OperationMetadata>

deleteSeriesSettings()

public UnaryCallSettings.Builder<DeleteSeriesRequest,Operation> deleteSeriesSettings()

Returns the builder for the settings used for calls to deleteSeries.

Returns
Type Description
Builder<DeleteSeriesRequest,Operation>

deleteStreamOperationSettings()

public OperationCallSettings.Builder<DeleteStreamRequest,Empty,OperationMetadata> deleteStreamOperationSettings()

Returns the builder for the settings used for calls to deleteStream.

Returns
Type Description
Builder<DeleteStreamRequest,Empty,OperationMetadata>

deleteStreamSettings()

public UnaryCallSettings.Builder<DeleteStreamRequest,Operation> deleteStreamSettings()

Returns the builder for the settings used for calls to deleteStream.

Returns
Type Description
Builder<DeleteStreamRequest,Operation>

generateStreamHlsTokenSettings()

public UnaryCallSettings.Builder<GenerateStreamHlsTokenRequest,GenerateStreamHlsTokenResponse> generateStreamHlsTokenSettings()

Returns the builder for the settings used for calls to generateStreamHlsToken.

Returns
Type Description
Builder<GenerateStreamHlsTokenRequest,GenerateStreamHlsTokenResponse>

getClusterSettings()

public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()

Returns the builder for the settings used for calls to getCluster.

Returns
Type Description
Builder<GetClusterRequest,Cluster>

getEventSettings()

public UnaryCallSettings.Builder<GetEventRequest,Event> getEventSettings()

Returns the builder for the settings used for calls to getEvent.

Returns
Type Description
Builder<GetEventRequest,Event>

getSeriesSettings()

public UnaryCallSettings.Builder<GetSeriesRequest,Series> getSeriesSettings()

Returns the builder for the settings used for calls to getSeries.

Returns
Type Description
Builder<GetSeriesRequest,Series>

getStreamSettings()

public UnaryCallSettings.Builder<GetStreamRequest,Stream> getStreamSettings()

Returns the builder for the settings used for calls to getStream.

Returns
Type Description
Builder<GetStreamRequest,Stream>

getStreamThumbnailOperationSettings()

public OperationCallSettings.Builder<GetStreamThumbnailRequest,GetStreamThumbnailResponse,OperationMetadata> getStreamThumbnailOperationSettings()

Returns the builder for the settings used for calls to getStreamThumbnail.

Returns
Type Description
Builder<GetStreamThumbnailRequest,GetStreamThumbnailResponse,OperationMetadata>

getStreamThumbnailSettings()

public UnaryCallSettings.Builder<GetStreamThumbnailRequest,Operation> getStreamThumbnailSettings()

Returns the builder for the settings used for calls to getStreamThumbnail.

Returns
Type Description
Builder<GetStreamThumbnailRequest,Operation>

getStubSettingsBuilder()

public StreamsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
StreamsServiceStubSettings.Builder

listClustersSettings()

public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,StreamsServiceClient.ListClustersPagedResponse> listClustersSettings()

Returns the builder for the settings used for calls to listClusters.

Returns
Type Description
Builder<ListClustersRequest,ListClustersResponse,ListClustersPagedResponse>

listEventsSettings()

public PagedCallSettings.Builder<ListEventsRequest,ListEventsResponse,StreamsServiceClient.ListEventsPagedResponse> listEventsSettings()

Returns the builder for the settings used for calls to listEvents.

Returns
Type Description
Builder<ListEventsRequest,ListEventsResponse,ListEventsPagedResponse>

listSeriesSettings()

public PagedCallSettings.Builder<ListSeriesRequest,ListSeriesResponse,StreamsServiceClient.ListSeriesPagedResponse> listSeriesSettings()

Returns the builder for the settings used for calls to listSeries.

Returns
Type Description
Builder<ListSeriesRequest,ListSeriesResponse,ListSeriesPagedResponse>

listStreamsSettings()

public PagedCallSettings.Builder<ListStreamsRequest,ListStreamsResponse,StreamsServiceClient.ListStreamsPagedResponse> listStreamsSettings()

Returns the builder for the settings used for calls to listStreams.

Returns
Type Description
Builder<ListStreamsRequest,ListStreamsResponse,ListStreamsPagedResponse>

materializeChannelOperationSettings()

public OperationCallSettings.Builder<MaterializeChannelRequest,Channel,OperationMetadata> materializeChannelOperationSettings()

Returns the builder for the settings used for calls to materializeChannel.

Returns
Type Description
Builder<MaterializeChannelRequest,Channel,OperationMetadata>

materializeChannelSettings()

public UnaryCallSettings.Builder<MaterializeChannelRequest,Operation> materializeChannelSettings()

Returns the builder for the settings used for calls to materializeChannel.

Returns
Type Description
Builder<MaterializeChannelRequest,Operation>

updateClusterOperationSettings()

public OperationCallSettings.Builder<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationSettings()

Returns the builder for the settings used for calls to updateCluster.

Returns
Type Description
Builder<UpdateClusterRequest,Cluster,OperationMetadata>

updateClusterSettings()

public UnaryCallSettings.Builder<UpdateClusterRequest,Operation> updateClusterSettings()

Returns the builder for the settings used for calls to updateCluster.

Returns
Type Description
Builder<UpdateClusterRequest,Operation>

updateEventOperationSettings()

public OperationCallSettings.Builder<UpdateEventRequest,Event,OperationMetadata> updateEventOperationSettings()

Returns the builder for the settings used for calls to updateEvent.

Returns
Type Description
Builder<UpdateEventRequest,Event,OperationMetadata>

updateEventSettings()

public UnaryCallSettings.Builder<UpdateEventRequest,Operation> updateEventSettings()

Returns the builder for the settings used for calls to updateEvent.

Returns
Type Description
Builder<UpdateEventRequest,Operation>

updateSeriesOperationSettings()

public OperationCallSettings.Builder<UpdateSeriesRequest,Series,OperationMetadata> updateSeriesOperationSettings()

Returns the builder for the settings used for calls to updateSeries.

Returns
Type Description
Builder<UpdateSeriesRequest,Series,OperationMetadata>

updateSeriesSettings()

public UnaryCallSettings.Builder<UpdateSeriesRequest,Operation> updateSeriesSettings()

Returns the builder for the settings used for calls to updateSeries.

Returns
Type Description
Builder<UpdateSeriesRequest,Operation>

updateStreamOperationSettings()

public OperationCallSettings.Builder<UpdateStreamRequest,Stream,OperationMetadata> updateStreamOperationSettings()

Returns the builder for the settings used for calls to updateStream.

Returns
Type Description
Builder<UpdateStreamRequest,Stream,OperationMetadata>

updateStreamSettings()

public UnaryCallSettings.Builder<UpdateStreamRequest,Operation> updateStreamSettings()

Returns the builder for the settings used for calls to updateStream.

Returns
Type Description
Builder<UpdateStreamRequest,Operation>