Class LivestreamServiceStubSettings.Builder (0.21.0)

public static class LivestreamServiceStubSettings.Builder extends StubSettings.Builder<LivestreamServiceStubSettings,LivestreamServiceStubSettings.Builder>

Builder for LivestreamServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > LivestreamServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(LivestreamServiceStubSettings settings)

protected Builder(LivestreamServiceStubSettings settings)
Parameter
NameDescription
settingsLivestreamServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
LivestreamServiceStubSettings.Builder

build()

public LivestreamServiceStubSettings build()
Returns
TypeDescription
LivestreamServiceStubSettings
Overrides
Exceptions
TypeDescription
IOException

createChannelOperationSettings()

public OperationCallSettings.Builder<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationSettings()

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

Returns
TypeDescription
Builder<CreateChannelRequest,Channel,OperationMetadata>

createChannelSettings()

public UnaryCallSettings.Builder<CreateChannelRequest,Operation> createChannelSettings()

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

Returns
TypeDescription
Builder<CreateChannelRequest,Operation>

createEventSettings()

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

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

Returns
TypeDescription
Builder<CreateEventRequest,Event>

createInputOperationSettings()

public OperationCallSettings.Builder<CreateInputRequest,Input,OperationMetadata> createInputOperationSettings()

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

Returns
TypeDescription
Builder<CreateInputRequest,Input,OperationMetadata>

createInputSettings()

public UnaryCallSettings.Builder<CreateInputRequest,Operation> createInputSettings()

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

Returns
TypeDescription
Builder<CreateInputRequest,Operation>

deleteChannelOperationSettings()

public OperationCallSettings.Builder<DeleteChannelRequest,Empty,OperationMetadata> deleteChannelOperationSettings()

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

Returns
TypeDescription
Builder<DeleteChannelRequest,Empty,OperationMetadata>

deleteChannelSettings()

public UnaryCallSettings.Builder<DeleteChannelRequest,Operation> deleteChannelSettings()

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

Returns
TypeDescription
Builder<DeleteChannelRequest,Operation>

deleteEventSettings()

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

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

Returns
TypeDescription
Builder<DeleteEventRequest,Empty>

deleteInputOperationSettings()

public OperationCallSettings.Builder<DeleteInputRequest,Empty,OperationMetadata> deleteInputOperationSettings()

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

Returns
TypeDescription
Builder<DeleteInputRequest,Empty,OperationMetadata>

deleteInputSettings()

public UnaryCallSettings.Builder<DeleteInputRequest,Operation> deleteInputSettings()

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

Returns
TypeDescription
Builder<DeleteInputRequest,Operation>

getChannelSettings()

public UnaryCallSettings.Builder<GetChannelRequest,Channel> getChannelSettings()

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

Returns
TypeDescription
Builder<GetChannelRequest,Channel>

getEventSettings()

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

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

Returns
TypeDescription
Builder<GetEventRequest,Event>

getInputSettings()

public UnaryCallSettings.Builder<GetInputRequest,Input> getInputSettings()

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

Returns
TypeDescription
Builder<GetInputRequest,Input>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listChannelsSettings()

public PagedCallSettings.Builder<ListChannelsRequest,ListChannelsResponse,LivestreamServiceClient.ListChannelsPagedResponse> listChannelsSettings()

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

Returns
TypeDescription
Builder<ListChannelsRequest,ListChannelsResponse,ListChannelsPagedResponse>

listEventsSettings()

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

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

Returns
TypeDescription
Builder<ListEventsRequest,ListEventsResponse,ListEventsPagedResponse>

listInputsSettings()

public PagedCallSettings.Builder<ListInputsRequest,ListInputsResponse,LivestreamServiceClient.ListInputsPagedResponse> listInputsSettings()

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

Returns
TypeDescription
Builder<ListInputsRequest,ListInputsResponse,ListInputsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,LivestreamServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

startChannelOperationSettings()

public OperationCallSettings.Builder<StartChannelRequest,ChannelOperationResponse,OperationMetadata> startChannelOperationSettings()

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

Returns
TypeDescription
Builder<StartChannelRequest,ChannelOperationResponse,OperationMetadata>

startChannelSettings()

public UnaryCallSettings.Builder<StartChannelRequest,Operation> startChannelSettings()

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

Returns
TypeDescription
Builder<StartChannelRequest,Operation>

stopChannelOperationSettings()

public OperationCallSettings.Builder<StopChannelRequest,ChannelOperationResponse,OperationMetadata> stopChannelOperationSettings()

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

Returns
TypeDescription
Builder<StopChannelRequest,ChannelOperationResponse,OperationMetadata>

stopChannelSettings()

public UnaryCallSettings.Builder<StopChannelRequest,Operation> stopChannelSettings()

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

Returns
TypeDescription
Builder<StopChannelRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateChannelRequest,Channel,OperationMetadata>

updateChannelSettings()

public UnaryCallSettings.Builder<UpdateChannelRequest,Operation> updateChannelSettings()

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

Returns
TypeDescription
Builder<UpdateChannelRequest,Operation>

updateInputOperationSettings()

public OperationCallSettings.Builder<UpdateInputRequest,Input,OperationMetadata> updateInputOperationSettings()

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

Returns
TypeDescription
Builder<UpdateInputRequest,Input,OperationMetadata>

updateInputSettings()

public UnaryCallSettings.Builder<UpdateInputRequest,Operation> updateInputSettings()

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

Returns
TypeDescription
Builder<UpdateInputRequest,Operation>