Package com.google.cloud.visionai.v1
Interface GenerateStreamHlsTokenResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateStreamHlsTokenResponse,GenerateStreamHlsTokenResponse.Builder
@Generated
public interface GenerateStreamHlsTokenResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe expiration time of the token.com.google.protobuf.TimestampOrBuilderThe expiration time of the token.getToken()The generated JWT token.com.google.protobuf.ByteStringThe generated JWT token.booleanThe expiration time of the token.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getToken
String getToken()The generated JWT token. The caller should insert this token to the authorization header of the HTTP requests to get the HLS playlist manifest and the video chunks. eg: curl -H "Authorization: Bearer $TOKEN" https://domain.com/test-stream.playback/master.m3u8
string token = 1;- Returns:
- The token.
-
getTokenBytes
com.google.protobuf.ByteString getTokenBytes()The generated JWT token. The caller should insert this token to the authorization header of the HTTP requests to get the HLS playlist manifest and the video chunks. eg: curl -H "Authorization: Bearer $TOKEN" https://domain.com/test-stream.playback/master.m3u8
string token = 1;- Returns:
- The bytes for token.
-
hasExpirationTime
boolean hasExpirationTime()The expiration time of the token.
.google.protobuf.Timestamp expiration_time = 2;- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
com.google.protobuf.Timestamp getExpirationTime()The expiration time of the token.
.google.protobuf.Timestamp expiration_time = 2;- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()The expiration time of the token.
.google.protobuf.Timestamp expiration_time = 2;
-