
com.google.cloud.visionai.v1.GenerateStreamHlsTokenResponseOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/visionai/v1/streams_service.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.visionai.v1;
public interface GenerateStreamHlsTokenResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.GenerateStreamHlsTokenResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*
* @return The token.
*/
java.lang.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;
*
* @return The bytes for token.
*/
com.google.protobuf.ByteString getTokenBytes();
/**
*
*
*
* The expiration time of the token.
*
*
* .google.protobuf.Timestamp expiration_time = 2;
*
* @return Whether the expirationTime field is set.
*/
boolean hasExpirationTime();
/**
*
*
*
* The expiration time of the token.
*
*
* .google.protobuf.Timestamp expiration_time = 2;
*
* @return The expirationTime.
*/
com.google.protobuf.Timestamp getExpirationTime();
/**
*
*
*
* The expiration time of the token.
*
*
* .google.protobuf.Timestamp expiration_time = 2;
*/
com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy