public static class LivestreamServiceStubSettings.Builder extends StubSettings.Builder<LivestreamServiceStubSettings,LivestreamServiceStubSettings.Builder>
Builder for LivestreamServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(LivestreamServiceStubSettings settings)
protected Builder(LivestreamServiceStubSettings settings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public LivestreamServiceStubSettings.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
Returns
build()
public LivestreamServiceStubSettings build()
Returns
Overrides
Exceptions
createChannelOperationSettings()
public OperationCallSettings.Builder<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationSettings()
Returns the builder for the settings used for calls to createChannel.
Returns
createChannelSettings()
public UnaryCallSettings.Builder<CreateChannelRequest,Operation> createChannelSettings()
Returns the builder for the settings used for calls to createChannel.
Returns
createEventSettings()
public UnaryCallSettings.Builder<CreateEventRequest,Event> createEventSettings()
Returns the builder for the settings used for calls to createEvent.
Returns
public OperationCallSettings.Builder<CreateInputRequest,Input,OperationMetadata> createInputOperationSettings()
Returns the builder for the settings used for calls to createInput.
Returns
public UnaryCallSettings.Builder<CreateInputRequest,Operation> createInputSettings()
Returns the builder for the settings used for calls to createInput.
Returns
deleteChannelOperationSettings()
public OperationCallSettings.Builder<DeleteChannelRequest,Empty,OperationMetadata> deleteChannelOperationSettings()
Returns the builder for the settings used for calls to deleteChannel.
Returns
deleteChannelSettings()
public UnaryCallSettings.Builder<DeleteChannelRequest,Operation> deleteChannelSettings()
Returns the builder for the settings used for calls to deleteChannel.
Returns
deleteEventSettings()
public UnaryCallSettings.Builder<DeleteEventRequest,Empty> deleteEventSettings()
Returns the builder for the settings used for calls to deleteEvent.
Returns
public OperationCallSettings.Builder<DeleteInputRequest,Empty,OperationMetadata> deleteInputOperationSettings()
Returns the builder for the settings used for calls to deleteInput.
Returns
public UnaryCallSettings.Builder<DeleteInputRequest,Operation> deleteInputSettings()
Returns the builder for the settings used for calls to deleteInput.
Returns
getChannelSettings()
public UnaryCallSettings.Builder<GetChannelRequest,Channel> getChannelSettings()
Returns the builder for the settings used for calls to getChannel.
Returns
getEventSettings()
public UnaryCallSettings.Builder<GetEventRequest,Event> getEventSettings()
Returns the builder for the settings used for calls to getEvent.
Returns
public UnaryCallSettings.Builder<GetInputRequest,Input> getInputSettings()
Returns the builder for the settings used for calls to getInput.
Returns
listChannelsSettings()
public PagedCallSettings.Builder<ListChannelsRequest,ListChannelsResponse,LivestreamServiceClient.ListChannelsPagedResponse> listChannelsSettings()
Returns the builder for the settings used for calls to listChannels.
Returns
listEventsSettings()
public PagedCallSettings.Builder<ListEventsRequest,ListEventsResponse,LivestreamServiceClient.ListEventsPagedResponse> listEventsSettings()
Returns the builder for the settings used for calls to listEvents.
Returns
public PagedCallSettings.Builder<ListInputsRequest,ListInputsResponse,LivestreamServiceClient.ListInputsPagedResponse> listInputsSettings()
Returns the builder for the settings used for calls to listInputs.
Returns
startChannelOperationSettings()
public OperationCallSettings.Builder<StartChannelRequest,ChannelOperationResponse,OperationMetadata> startChannelOperationSettings()
Returns the builder for the settings used for calls to startChannel.
Returns
startChannelSettings()
public UnaryCallSettings.Builder<StartChannelRequest,Operation> startChannelSettings()
Returns the builder for the settings used for calls to startChannel.
Returns
stopChannelOperationSettings()
public OperationCallSettings.Builder<StopChannelRequest,ChannelOperationResponse,OperationMetadata> stopChannelOperationSettings()
Returns the builder for the settings used for calls to stopChannel.
Returns
stopChannelSettings()
public UnaryCallSettings.Builder<StopChannelRequest,Operation> stopChannelSettings()
Returns the builder for the settings used for calls to stopChannel.
Returns
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updateChannelOperationSettings()
public OperationCallSettings.Builder<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationSettings()
Returns the builder for the settings used for calls to updateChannel.
Returns
updateChannelSettings()
public UnaryCallSettings.Builder<UpdateChannelRequest,Operation> updateChannelSettings()
Returns the builder for the settings used for calls to updateChannel.
Returns
public OperationCallSettings.Builder<UpdateInputRequest,Input,OperationMetadata> updateInputOperationSettings()
Returns the builder for the settings used for calls to updateInput.
Returns
public UnaryCallSettings.Builder<UpdateInputRequest,Operation> updateInputSettings()
Returns the builder for the settings used for calls to updateInput.
Returns