Class LivestreamServiceStubSettings.Builder (0.39.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

createAssetOperationSettings()

public OperationCallSettings.Builder<CreateAssetRequest,Asset,OperationMetadata> createAssetOperationSettings()

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

Returns
TypeDescription
Builder<CreateAssetRequest,Asset,OperationMetadata>

createAssetSettings()

public UnaryCallSettings.Builder<CreateAssetRequest,Operation> createAssetSettings()

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

Returns
TypeDescription
Builder<CreateAssetRequest,Operation>

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>

deleteAssetOperationSettings()

public OperationCallSettings.Builder<DeleteAssetRequest,Empty,OperationMetadata> deleteAssetOperationSettings()

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

Returns
TypeDescription
Builder<DeleteAssetRequest,Empty,OperationMetadata>

deleteAssetSettings()

public UnaryCallSettings.Builder<DeleteAssetRequest,Operation> deleteAssetSettings()

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

Returns
TypeDescription
Builder<DeleteAssetRequest,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>

getAssetSettings()

public UnaryCallSettings.Builder<GetAssetRequest,Asset> getAssetSettings()

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

Returns
TypeDescription
Builder<GetAssetRequest,Asset>

getChannelSettings()

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

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

Returns
TypeDescription
Builder<GetChannelRequest,Channel>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

getPoolSettings()

public UnaryCallSettings.Builder<GetPoolRequest,Pool> getPoolSettings()

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

Returns
TypeDescription
Builder<GetPoolRequest,Pool>

listAssetsSettings()

public PagedCallSettings.Builder<ListAssetsRequest,ListAssetsResponse,LivestreamServiceClient.ListAssetsPagedResponse> listAssetsSettings()

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

Returns
TypeDescription
Builder<ListAssetsRequest,ListAssetsResponse,ListAssetsPagedResponse>

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>

updatePoolOperationSettings()

public OperationCallSettings.Builder<UpdatePoolRequest,Pool,OperationMetadata> updatePoolOperationSettings()

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

Returns
TypeDescription
Builder<UpdatePoolRequest,Pool,OperationMetadata>

updatePoolSettings()

public UnaryCallSettings.Builder<UpdatePoolRequest,Operation> updatePoolSettings()

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

Returns
TypeDescription
Builder<UpdatePoolRequest,Operation>