Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [livestream] added support for slate events which allow users to create and insert a slate into a live stream to replace the main live stream content #9665

Merged
merged 2 commits into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java-video-live-stream/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.16.0</version>
<version>26.19.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-live-stream.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.21.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-live-stream/0.23.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.google.cloud.video.livestream.v1;

import static com.google.cloud.video.livestream.v1.LivestreamServiceClient.ListAssetsPagedResponse;
import static com.google.cloud.video.livestream.v1.LivestreamServiceClient.ListChannelsPagedResponse;
import static com.google.cloud.video.livestream.v1.LivestreamServiceClient.ListEventsPagedResponse;
import static com.google.cloud.video.livestream.v1.LivestreamServiceClient.ListInputsPagedResponse;
Expand Down Expand Up @@ -216,6 +217,55 @@ public UnaryCallSettings<DeleteEventRequest, Empty> deleteEventSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).deleteEventSettings();
}

/** Returns the object with the settings used for calls to createAsset. */
public UnaryCallSettings<CreateAssetRequest, Operation> createAssetSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).createAssetSettings();
}

/** Returns the object with the settings used for calls to createAsset. */
public OperationCallSettings<CreateAssetRequest, Asset, OperationMetadata>
createAssetOperationSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).createAssetOperationSettings();
}

/** Returns the object with the settings used for calls to deleteAsset. */
public UnaryCallSettings<DeleteAssetRequest, Operation> deleteAssetSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).deleteAssetSettings();
}

/** Returns the object with the settings used for calls to deleteAsset. */
public OperationCallSettings<DeleteAssetRequest, Empty, OperationMetadata>
deleteAssetOperationSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).deleteAssetOperationSettings();
}

/** Returns the object with the settings used for calls to getAsset. */
public UnaryCallSettings<GetAssetRequest, Asset> getAssetSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).getAssetSettings();
}

/** Returns the object with the settings used for calls to listAssets. */
public PagedCallSettings<ListAssetsRequest, ListAssetsResponse, ListAssetsPagedResponse>
listAssetsSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).listAssetsSettings();
}

/** Returns the object with the settings used for calls to getPool. */
public UnaryCallSettings<GetPoolRequest, Pool> getPoolSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).getPoolSettings();
}

/** Returns the object with the settings used for calls to updatePool. */
public UnaryCallSettings<UpdatePoolRequest, Operation> updatePoolSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).updatePoolSettings();
}

/** Returns the object with the settings used for calls to updatePool. */
public OperationCallSettings<UpdatePoolRequest, Pool, OperationMetadata>
updatePoolOperationSettings() {
return ((LivestreamServiceStubSettings) getStubSettings()).updatePoolOperationSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
Expand Down Expand Up @@ -476,6 +526,55 @@ public UnaryCallSettings.Builder<DeleteEventRequest, Empty> deleteEventSettings(
return getStubSettingsBuilder().deleteEventSettings();
}

/** Returns the builder for the settings used for calls to createAsset. */
public UnaryCallSettings.Builder<CreateAssetRequest, Operation> createAssetSettings() {
return getStubSettingsBuilder().createAssetSettings();
}

/** Returns the builder for the settings used for calls to createAsset. */
public OperationCallSettings.Builder<CreateAssetRequest, Asset, OperationMetadata>
createAssetOperationSettings() {
return getStubSettingsBuilder().createAssetOperationSettings();
}

/** Returns the builder for the settings used for calls to deleteAsset. */
public UnaryCallSettings.Builder<DeleteAssetRequest, Operation> deleteAssetSettings() {
return getStubSettingsBuilder().deleteAssetSettings();
}

/** Returns the builder for the settings used for calls to deleteAsset. */
public OperationCallSettings.Builder<DeleteAssetRequest, Empty, OperationMetadata>
deleteAssetOperationSettings() {
return getStubSettingsBuilder().deleteAssetOperationSettings();
}

/** Returns the builder for the settings used for calls to getAsset. */
public UnaryCallSettings.Builder<GetAssetRequest, Asset> getAssetSettings() {
return getStubSettingsBuilder().getAssetSettings();
}

/** Returns the builder for the settings used for calls to listAssets. */
public PagedCallSettings.Builder<ListAssetsRequest, ListAssetsResponse, ListAssetsPagedResponse>
listAssetsSettings() {
return getStubSettingsBuilder().listAssetsSettings();
}

/** Returns the builder for the settings used for calls to getPool. */
public UnaryCallSettings.Builder<GetPoolRequest, Pool> getPoolSettings() {
return getStubSettingsBuilder().getPoolSettings();
}

/** Returns the builder for the settings used for calls to updatePool. */
public UnaryCallSettings.Builder<UpdatePoolRequest, Operation> updatePoolSettings() {
return getStubSettingsBuilder().updatePoolSettings();
}

/** Returns the builder for the settings used for calls to updatePool. */
public OperationCallSettings.Builder<UpdatePoolRequest, Pool, OperationMetadata>
updatePoolOperationSettings() {
return getStubSettingsBuilder().updatePoolOperationSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"grpc": {
"libraryClient": "LivestreamServiceClient",
"rpcs": {
"CreateAsset": {
"methods": ["createAssetAsync", "createAssetAsync", "createAssetAsync", "createAssetOperationCallable", "createAssetCallable"]
},
"CreateChannel": {
"methods": ["createChannelAsync", "createChannelAsync", "createChannelAsync", "createChannelOperationCallable", "createChannelCallable"]
},
Expand All @@ -19,6 +22,9 @@
"CreateInput": {
"methods": ["createInputAsync", "createInputAsync", "createInputAsync", "createInputOperationCallable", "createInputCallable"]
},
"DeleteAsset": {
"methods": ["deleteAssetAsync", "deleteAssetAsync", "deleteAssetAsync", "deleteAssetOperationCallable", "deleteAssetCallable"]
},
"DeleteChannel": {
"methods": ["deleteChannelAsync", "deleteChannelAsync", "deleteChannelAsync", "deleteChannelOperationCallable", "deleteChannelCallable"]
},
Expand All @@ -28,6 +34,9 @@
"DeleteInput": {
"methods": ["deleteInputAsync", "deleteInputAsync", "deleteInputAsync", "deleteInputOperationCallable", "deleteInputCallable"]
},
"GetAsset": {
"methods": ["getAsset", "getAsset", "getAsset", "getAssetCallable"]
},
"GetChannel": {
"methods": ["getChannel", "getChannel", "getChannel", "getChannelCallable"]
},
Expand All @@ -40,6 +49,12 @@
"GetLocation": {
"methods": ["getLocation", "getLocationCallable"]
},
"GetPool": {
"methods": ["getPool", "getPool", "getPool", "getPoolCallable"]
},
"ListAssets": {
"methods": ["listAssets", "listAssets", "listAssets", "listAssetsPagedCallable", "listAssetsCallable"]
},
"ListChannels": {
"methods": ["listChannels", "listChannels", "listChannels", "listChannelsPagedCallable", "listChannelsCallable"]
},
Expand All @@ -63,6 +78,9 @@
},
"UpdateInput": {
"methods": ["updateInputAsync", "updateInputAsync", "updateInputOperationCallable", "updateInputCallable"]
},
"UpdatePool": {
"methods": ["updatePoolAsync", "updatePoolAsync", "updatePoolOperationCallable", "updatePoolCallable"]
}
}
}
Expand Down
Loading