Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: byteplus/vod/request/request_vod.proto
package com.byteplus.service.vod.model.request;
/**
*
* **********************************************************************
* 智能策略-轻量版
* **********************************************************************
*
*
* Protobuf type {@code Byteplus.Vod.Models.Request.VodGetSmartStrategyLitePlayInfoRequest}
*/
public final class VodGetSmartStrategyLitePlayInfoRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Request.VodGetSmartStrategyLitePlayInfoRequest)
VodGetSmartStrategyLitePlayInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodGetSmartStrategyLitePlayInfoRequest.newBuilder() to construct.
private VodGetSmartStrategyLitePlayInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodGetSmartStrategyLitePlayInfoRequest() {
playUrl_ = "";
format_ = "";
codec_ = "";
definition_ = "";
fileType_ = "";
logoType_ = "";
ssl_ = "";
needThumbs_ = "";
needBarrageMask_ = "";
unionInfo_ = "";
hDRDefinition_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodGetSmartStrategyLitePlayInfoRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodGetSmartStrategyLitePlayInfoRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
playUrl_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
format_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
codec_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
definition_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
fileType_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
logoType_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
ssl_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
needThumbs_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
needBarrageMask_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
unionInfo_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
hDRDefinition_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodGetSmartStrategyLitePlayInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodGetSmartStrategyLitePlayInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest.class, com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest.Builder.class);
}
public static final int PLAYURL_FIELD_NUMBER = 1;
private volatile java.lang.Object playUrl_;
/**
*
* 播放url
*
*
* string PlayUrl = 1;
* @return The playUrl.
*/
@java.lang.Override
public java.lang.String getPlayUrl() {
java.lang.Object ref = playUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
playUrl_ = s;
return s;
}
}
/**
*
* 播放url
*
*
* string PlayUrl = 1;
* @return The bytes for playUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPlayUrlBytes() {
java.lang.Object ref = playUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
playUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FORMAT_FIELD_NUMBER = 2;
private volatile java.lang.Object format_;
/**
*
* 封装格式,支持mp4,dash,hls,默认mp4Format
*
*
* string Format = 2;
* @return The format.
*/
@java.lang.Override
public java.lang.String getFormat() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
format_ = s;
return s;
}
}
/**
*
* 封装格式,支持mp4,dash,hls,默认mp4Format
*
*
* string Format = 2;
* @return The bytes for format.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CODEC_FIELD_NUMBER = 3;
private volatile java.lang.Object codec_;
/**
*
* 编码类型,默认h264,可选值为h264,bytevc1等Codec
*
*
* string Codec = 3;
* @return The codec.
*/
@java.lang.Override
public java.lang.String getCodec() {
java.lang.Object ref = codec_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
codec_ = s;
return s;
}
}
/**
*
* 编码类型,默认h264,可选值为h264,bytevc1等Codec
*
*
* string Codec = 3;
* @return The bytes for codec.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCodecBytes() {
java.lang.Object ref = codec_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
codec_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFINITION_FIELD_NUMBER = 4;
private volatile java.lang.Object definition_;
/**
*
* 视频流清晰度,默认返回全部,支持:240p,360p,480p,540p,720p,1080p,
* 2k, 4k
*
*
* string Definition = 4;
* @return The definition.
*/
@java.lang.Override
public java.lang.String getDefinition() {
java.lang.Object ref = definition_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
definition_ = s;
return s;
}
}
/**
*
* 视频流清晰度,默认返回全部,支持:240p,360p,480p,540p,720p,1080p,
* 2k, 4k
*
*
* string Definition = 4;
* @return The bytes for definition.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefinitionBytes() {
java.lang.Object ref = definition_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
definition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILETYPE_FIELD_NUMBER = 5;
private volatile java.lang.Object fileType_;
/**
*
* 流文件类型,默认video,支持:加密视频流evideo,加密音频流传eaudio,非加密视频流video,普通音频音频流audio
*
*
* string FileType = 5;
* @return The fileType.
*/
@java.lang.Override
public java.lang.String getFileType() {
java.lang.Object ref = fileType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileType_ = s;
return s;
}
}
/**
*
* 流文件类型,默认video,支持:加密视频流evideo,加密音频流传eaudio,非加密视频流video,普通音频音频流audio
*
*
* string FileType = 5;
* @return The bytes for fileType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFileTypeBytes() {
java.lang.Object ref = fileType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOGOTYPE_FIELD_NUMBER = 6;
private volatile java.lang.Object logoType_;
/**
*
* 水印贴片标签
*
*
* string LogoType = 6;
* @return The logoType.
*/
@java.lang.Override
public java.lang.String getLogoType() {
java.lang.Object ref = logoType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logoType_ = s;
return s;
}
}
/**
*
* 水印贴片标签
*
*
* string LogoType = 6;
* @return The bytes for logoType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLogoTypeBytes() {
java.lang.Object ref = logoType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logoType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SSL_FIELD_NUMBER = 7;
private volatile java.lang.Object ssl_;
/**
*
* 返回https播放地址,默认否, 1-是;0-否
*
*
* string Ssl = 7;
* @return The ssl.
*/
@java.lang.Override
public java.lang.String getSsl() {
java.lang.Object ref = ssl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ssl_ = s;
return s;
}
}
/**
*
* 返回https播放地址,默认否, 1-是;0-否
*
*
* string Ssl = 7;
* @return The bytes for ssl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSslBytes() {
java.lang.Object ref = ssl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ssl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NEEDTHUMBS_FIELD_NUMBER = 8;
private volatile java.lang.Object needThumbs_;
/**
*
* 是否需要雪碧图(缩略图),默认否,1-是;0-否
*
*
* string NeedThumbs = 8;
* @return The needThumbs.
*/
@java.lang.Override
public java.lang.String getNeedThumbs() {
java.lang.Object ref = needThumbs_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
needThumbs_ = s;
return s;
}
}
/**
*
* 是否需要雪碧图(缩略图),默认否,1-是;0-否
*
*
* string NeedThumbs = 8;
* @return The bytes for needThumbs.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNeedThumbsBytes() {
java.lang.Object ref = needThumbs_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
needThumbs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NEEDBARRAGEMASK_FIELD_NUMBER = 9;
private volatile java.lang.Object needBarrageMask_;
/**
*
* 是否需要蒙版弹幕,默认否,1-是;0-否
*
*
* string NeedBarrageMask = 9;
* @return The needBarrageMask.
*/
@java.lang.Override
public java.lang.String getNeedBarrageMask() {
java.lang.Object ref = needBarrageMask_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
needBarrageMask_ = s;
return s;
}
}
/**
*
* 是否需要蒙版弹幕,默认否,1-是;0-否
*
*
* string NeedBarrageMask = 9;
* @return The bytes for needBarrageMask.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNeedBarrageMaskBytes() {
java.lang.Object ref = needBarrageMask_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
needBarrageMask_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int UNIONINFO_FIELD_NUMBER = 10;
private volatile java.lang.Object unionInfo_;
/**
*
* 唯一性标识信息
*
*
* string UnionInfo = 10;
* @return The unionInfo.
*/
@java.lang.Override
public java.lang.String getUnionInfo() {
java.lang.Object ref = unionInfo_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
unionInfo_ = s;
return s;
}
}
/**
*
* 唯一性标识信息
*
*
* string UnionInfo = 10;
* @return The bytes for unionInfo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUnionInfoBytes() {
java.lang.Object ref = unionInfo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
unionInfo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HDRDEFINITION_FIELD_NUMBER = 11;
private volatile java.lang.Object hDRDefinition_;
/**
*
* HDR清晰度,默认不查询,支持:all,
* 240p,360p, 420p,480p,540p,720p,1080p, 2k, 4k, od, oe
*
*
* string HDRDefinition = 11;
* @return The hDRDefinition.
*/
@java.lang.Override
public java.lang.String getHDRDefinition() {
java.lang.Object ref = hDRDefinition_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hDRDefinition_ = s;
return s;
}
}
/**
*
* HDR清晰度,默认不查询,支持:all,
* 240p,360p, 420p,480p,540p,720p,1080p, 2k, 4k, od, oe
*
*
* string HDRDefinition = 11;
* @return The bytes for hDRDefinition.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHDRDefinitionBytes() {
java.lang.Object ref = hDRDefinition_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hDRDefinition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(playUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, playUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, format_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, codec_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, definition_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, fileType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logoType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, logoType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ssl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, ssl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(needThumbs_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, needThumbs_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(needBarrageMask_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, needBarrageMask_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unionInfo_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, unionInfo_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hDRDefinition_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, hDRDefinition_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(playUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, playUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, format_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, codec_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, definition_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, fileType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logoType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, logoType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ssl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ssl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(needThumbs_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, needThumbs_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(needBarrageMask_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, needBarrageMask_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(unionInfo_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, unionInfo_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hDRDefinition_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, hDRDefinition_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest other = (com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest) obj;
if (!getPlayUrl()
.equals(other.getPlayUrl())) return false;
if (!getFormat()
.equals(other.getFormat())) return false;
if (!getCodec()
.equals(other.getCodec())) return false;
if (!getDefinition()
.equals(other.getDefinition())) return false;
if (!getFileType()
.equals(other.getFileType())) return false;
if (!getLogoType()
.equals(other.getLogoType())) return false;
if (!getSsl()
.equals(other.getSsl())) return false;
if (!getNeedThumbs()
.equals(other.getNeedThumbs())) return false;
if (!getNeedBarrageMask()
.equals(other.getNeedBarrageMask())) return false;
if (!getUnionInfo()
.equals(other.getUnionInfo())) return false;
if (!getHDRDefinition()
.equals(other.getHDRDefinition())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PLAYURL_FIELD_NUMBER;
hash = (53 * hash) + getPlayUrl().hashCode();
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
hash = (37 * hash) + CODEC_FIELD_NUMBER;
hash = (53 * hash) + getCodec().hashCode();
hash = (37 * hash) + DEFINITION_FIELD_NUMBER;
hash = (53 * hash) + getDefinition().hashCode();
hash = (37 * hash) + FILETYPE_FIELD_NUMBER;
hash = (53 * hash) + getFileType().hashCode();
hash = (37 * hash) + LOGOTYPE_FIELD_NUMBER;
hash = (53 * hash) + getLogoType().hashCode();
hash = (37 * hash) + SSL_FIELD_NUMBER;
hash = (53 * hash) + getSsl().hashCode();
hash = (37 * hash) + NEEDTHUMBS_FIELD_NUMBER;
hash = (53 * hash) + getNeedThumbs().hashCode();
hash = (37 * hash) + NEEDBARRAGEMASK_FIELD_NUMBER;
hash = (53 * hash) + getNeedBarrageMask().hashCode();
hash = (37 * hash) + UNIONINFO_FIELD_NUMBER;
hash = (53 * hash) + getUnionInfo().hashCode();
hash = (37 * hash) + HDRDEFINITION_FIELD_NUMBER;
hash = (53 * hash) + getHDRDefinition().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* **********************************************************************
* 智能策略-轻量版
* **********************************************************************
*
*
* Protobuf type {@code Byteplus.Vod.Models.Request.VodGetSmartStrategyLitePlayInfoRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Request.VodGetSmartStrategyLitePlayInfoRequest)
com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodGetSmartStrategyLitePlayInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodGetSmartStrategyLitePlayInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest.class, com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest.Builder.class);
}
// Construct using com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
playUrl_ = "";
format_ = "";
codec_ = "";
definition_ = "";
fileType_ = "";
logoType_ = "";
ssl_ = "";
needThumbs_ = "";
needBarrageMask_ = "";
unionInfo_ = "";
hDRDefinition_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodGetSmartStrategyLitePlayInfoRequest_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest getDefaultInstanceForType() {
return com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest build() {
com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest buildPartial() {
com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest result = new com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest(this);
result.playUrl_ = playUrl_;
result.format_ = format_;
result.codec_ = codec_;
result.definition_ = definition_;
result.fileType_ = fileType_;
result.logoType_ = logoType_;
result.ssl_ = ssl_;
result.needThumbs_ = needThumbs_;
result.needBarrageMask_ = needBarrageMask_;
result.unionInfo_ = unionInfo_;
result.hDRDefinition_ = hDRDefinition_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest) {
return mergeFrom((com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest other) {
if (other == com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest.getDefaultInstance()) return this;
if (!other.getPlayUrl().isEmpty()) {
playUrl_ = other.playUrl_;
onChanged();
}
if (!other.getFormat().isEmpty()) {
format_ = other.format_;
onChanged();
}
if (!other.getCodec().isEmpty()) {
codec_ = other.codec_;
onChanged();
}
if (!other.getDefinition().isEmpty()) {
definition_ = other.definition_;
onChanged();
}
if (!other.getFileType().isEmpty()) {
fileType_ = other.fileType_;
onChanged();
}
if (!other.getLogoType().isEmpty()) {
logoType_ = other.logoType_;
onChanged();
}
if (!other.getSsl().isEmpty()) {
ssl_ = other.ssl_;
onChanged();
}
if (!other.getNeedThumbs().isEmpty()) {
needThumbs_ = other.needThumbs_;
onChanged();
}
if (!other.getNeedBarrageMask().isEmpty()) {
needBarrageMask_ = other.needBarrageMask_;
onChanged();
}
if (!other.getUnionInfo().isEmpty()) {
unionInfo_ = other.unionInfo_;
onChanged();
}
if (!other.getHDRDefinition().isEmpty()) {
hDRDefinition_ = other.hDRDefinition_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object playUrl_ = "";
/**
*
* 播放url
*
*
* string PlayUrl = 1;
* @return The playUrl.
*/
public java.lang.String getPlayUrl() {
java.lang.Object ref = playUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
playUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 播放url
*
*
* string PlayUrl = 1;
* @return The bytes for playUrl.
*/
public com.google.protobuf.ByteString
getPlayUrlBytes() {
java.lang.Object ref = playUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
playUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 播放url
*
*
* string PlayUrl = 1;
* @param value The playUrl to set.
* @return This builder for chaining.
*/
public Builder setPlayUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
playUrl_ = value;
onChanged();
return this;
}
/**
*
* 播放url
*
*
* string PlayUrl = 1;
* @return This builder for chaining.
*/
public Builder clearPlayUrl() {
playUrl_ = getDefaultInstance().getPlayUrl();
onChanged();
return this;
}
/**
*
* 播放url
*
*
* string PlayUrl = 1;
* @param value The bytes for playUrl to set.
* @return This builder for chaining.
*/
public Builder setPlayUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
playUrl_ = value;
onChanged();
return this;
}
private java.lang.Object format_ = "";
/**
*
* 封装格式,支持mp4,dash,hls,默认mp4Format
*
*
* string Format = 2;
* @return The format.
*/
public java.lang.String getFormat() {
java.lang.Object ref = format_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
format_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 封装格式,支持mp4,dash,hls,默认mp4Format
*
*
* string Format = 2;
* @return The bytes for format.
*/
public com.google.protobuf.ByteString
getFormatBytes() {
java.lang.Object ref = format_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
format_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 封装格式,支持mp4,dash,hls,默认mp4Format
*
*
* string Format = 2;
* @param value The format to set.
* @return This builder for chaining.
*/
public Builder setFormat(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
return this;
}
/**
*
* 封装格式,支持mp4,dash,hls,默认mp4Format
*
*
* string Format = 2;
* @return This builder for chaining.
*/
public Builder clearFormat() {
format_ = getDefaultInstance().getFormat();
onChanged();
return this;
}
/**
*
* 封装格式,支持mp4,dash,hls,默认mp4Format
*
*
* string Format = 2;
* @param value The bytes for format to set.
* @return This builder for chaining.
*/
public Builder setFormatBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
format_ = value;
onChanged();
return this;
}
private java.lang.Object codec_ = "";
/**
*
* 编码类型,默认h264,可选值为h264,bytevc1等Codec
*
*
* string Codec = 3;
* @return The codec.
*/
public java.lang.String getCodec() {
java.lang.Object ref = codec_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
codec_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 编码类型,默认h264,可选值为h264,bytevc1等Codec
*
*
* string Codec = 3;
* @return The bytes for codec.
*/
public com.google.protobuf.ByteString
getCodecBytes() {
java.lang.Object ref = codec_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
codec_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 编码类型,默认h264,可选值为h264,bytevc1等Codec
*
*
* string Codec = 3;
* @param value The codec to set.
* @return This builder for chaining.
*/
public Builder setCodec(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
codec_ = value;
onChanged();
return this;
}
/**
*
* 编码类型,默认h264,可选值为h264,bytevc1等Codec
*
*
* string Codec = 3;
* @return This builder for chaining.
*/
public Builder clearCodec() {
codec_ = getDefaultInstance().getCodec();
onChanged();
return this;
}
/**
*
* 编码类型,默认h264,可选值为h264,bytevc1等Codec
*
*
* string Codec = 3;
* @param value The bytes for codec to set.
* @return This builder for chaining.
*/
public Builder setCodecBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
codec_ = value;
onChanged();
return this;
}
private java.lang.Object definition_ = "";
/**
*
* 视频流清晰度,默认返回全部,支持:240p,360p,480p,540p,720p,1080p,
* 2k, 4k
*
*
* string Definition = 4;
* @return The definition.
*/
public java.lang.String getDefinition() {
java.lang.Object ref = definition_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
definition_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 视频流清晰度,默认返回全部,支持:240p,360p,480p,540p,720p,1080p,
* 2k, 4k
*
*
* string Definition = 4;
* @return The bytes for definition.
*/
public com.google.protobuf.ByteString
getDefinitionBytes() {
java.lang.Object ref = definition_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
definition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 视频流清晰度,默认返回全部,支持:240p,360p,480p,540p,720p,1080p,
* 2k, 4k
*
*
* string Definition = 4;
* @param value The definition to set.
* @return This builder for chaining.
*/
public Builder setDefinition(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
definition_ = value;
onChanged();
return this;
}
/**
*
* 视频流清晰度,默认返回全部,支持:240p,360p,480p,540p,720p,1080p,
* 2k, 4k
*
*
* string Definition = 4;
* @return This builder for chaining.
*/
public Builder clearDefinition() {
definition_ = getDefaultInstance().getDefinition();
onChanged();
return this;
}
/**
*
* 视频流清晰度,默认返回全部,支持:240p,360p,480p,540p,720p,1080p,
* 2k, 4k
*
*
* string Definition = 4;
* @param value The bytes for definition to set.
* @return This builder for chaining.
*/
public Builder setDefinitionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
definition_ = value;
onChanged();
return this;
}
private java.lang.Object fileType_ = "";
/**
*
* 流文件类型,默认video,支持:加密视频流evideo,加密音频流传eaudio,非加密视频流video,普通音频音频流audio
*
*
* string FileType = 5;
* @return The fileType.
*/
public java.lang.String getFileType() {
java.lang.Object ref = fileType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 流文件类型,默认video,支持:加密视频流evideo,加密音频流传eaudio,非加密视频流video,普通音频音频流audio
*
*
* string FileType = 5;
* @return The bytes for fileType.
*/
public com.google.protobuf.ByteString
getFileTypeBytes() {
java.lang.Object ref = fileType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 流文件类型,默认video,支持:加密视频流evideo,加密音频流传eaudio,非加密视频流video,普通音频音频流audio
*
*
* string FileType = 5;
* @param value The fileType to set.
* @return This builder for chaining.
*/
public Builder setFileType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fileType_ = value;
onChanged();
return this;
}
/**
*
* 流文件类型,默认video,支持:加密视频流evideo,加密音频流传eaudio,非加密视频流video,普通音频音频流audio
*
*
* string FileType = 5;
* @return This builder for chaining.
*/
public Builder clearFileType() {
fileType_ = getDefaultInstance().getFileType();
onChanged();
return this;
}
/**
*
* 流文件类型,默认video,支持:加密视频流evideo,加密音频流传eaudio,非加密视频流video,普通音频音频流audio
*
*
* string FileType = 5;
* @param value The bytes for fileType to set.
* @return This builder for chaining.
*/
public Builder setFileTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fileType_ = value;
onChanged();
return this;
}
private java.lang.Object logoType_ = "";
/**
*
* 水印贴片标签
*
*
* string LogoType = 6;
* @return The logoType.
*/
public java.lang.String getLogoType() {
java.lang.Object ref = logoType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
logoType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 水印贴片标签
*
*
* string LogoType = 6;
* @return The bytes for logoType.
*/
public com.google.protobuf.ByteString
getLogoTypeBytes() {
java.lang.Object ref = logoType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
logoType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 水印贴片标签
*
*
* string LogoType = 6;
* @param value The logoType to set.
* @return This builder for chaining.
*/
public Builder setLogoType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
logoType_ = value;
onChanged();
return this;
}
/**
*
* 水印贴片标签
*
*
* string LogoType = 6;
* @return This builder for chaining.
*/
public Builder clearLogoType() {
logoType_ = getDefaultInstance().getLogoType();
onChanged();
return this;
}
/**
*
* 水印贴片标签
*
*
* string LogoType = 6;
* @param value The bytes for logoType to set.
* @return This builder for chaining.
*/
public Builder setLogoTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
logoType_ = value;
onChanged();
return this;
}
private java.lang.Object ssl_ = "";
/**
*
* 返回https播放地址,默认否, 1-是;0-否
*
*
* string Ssl = 7;
* @return The ssl.
*/
public java.lang.String getSsl() {
java.lang.Object ref = ssl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ssl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 返回https播放地址,默认否, 1-是;0-否
*
*
* string Ssl = 7;
* @return The bytes for ssl.
*/
public com.google.protobuf.ByteString
getSslBytes() {
java.lang.Object ref = ssl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ssl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 返回https播放地址,默认否, 1-是;0-否
*
*
* string Ssl = 7;
* @param value The ssl to set.
* @return This builder for chaining.
*/
public Builder setSsl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ssl_ = value;
onChanged();
return this;
}
/**
*
* 返回https播放地址,默认否, 1-是;0-否
*
*
* string Ssl = 7;
* @return This builder for chaining.
*/
public Builder clearSsl() {
ssl_ = getDefaultInstance().getSsl();
onChanged();
return this;
}
/**
*
* 返回https播放地址,默认否, 1-是;0-否
*
*
* string Ssl = 7;
* @param value The bytes for ssl to set.
* @return This builder for chaining.
*/
public Builder setSslBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ssl_ = value;
onChanged();
return this;
}
private java.lang.Object needThumbs_ = "";
/**
*
* 是否需要雪碧图(缩略图),默认否,1-是;0-否
*
*
* string NeedThumbs = 8;
* @return The needThumbs.
*/
public java.lang.String getNeedThumbs() {
java.lang.Object ref = needThumbs_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
needThumbs_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 是否需要雪碧图(缩略图),默认否,1-是;0-否
*
*
* string NeedThumbs = 8;
* @return The bytes for needThumbs.
*/
public com.google.protobuf.ByteString
getNeedThumbsBytes() {
java.lang.Object ref = needThumbs_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
needThumbs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 是否需要雪碧图(缩略图),默认否,1-是;0-否
*
*
* string NeedThumbs = 8;
* @param value The needThumbs to set.
* @return This builder for chaining.
*/
public Builder setNeedThumbs(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
needThumbs_ = value;
onChanged();
return this;
}
/**
*
* 是否需要雪碧图(缩略图),默认否,1-是;0-否
*
*
* string NeedThumbs = 8;
* @return This builder for chaining.
*/
public Builder clearNeedThumbs() {
needThumbs_ = getDefaultInstance().getNeedThumbs();
onChanged();
return this;
}
/**
*
* 是否需要雪碧图(缩略图),默认否,1-是;0-否
*
*
* string NeedThumbs = 8;
* @param value The bytes for needThumbs to set.
* @return This builder for chaining.
*/
public Builder setNeedThumbsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
needThumbs_ = value;
onChanged();
return this;
}
private java.lang.Object needBarrageMask_ = "";
/**
*
* 是否需要蒙版弹幕,默认否,1-是;0-否
*
*
* string NeedBarrageMask = 9;
* @return The needBarrageMask.
*/
public java.lang.String getNeedBarrageMask() {
java.lang.Object ref = needBarrageMask_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
needBarrageMask_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 是否需要蒙版弹幕,默认否,1-是;0-否
*
*
* string NeedBarrageMask = 9;
* @return The bytes for needBarrageMask.
*/
public com.google.protobuf.ByteString
getNeedBarrageMaskBytes() {
java.lang.Object ref = needBarrageMask_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
needBarrageMask_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 是否需要蒙版弹幕,默认否,1-是;0-否
*
*
* string NeedBarrageMask = 9;
* @param value The needBarrageMask to set.
* @return This builder for chaining.
*/
public Builder setNeedBarrageMask(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
needBarrageMask_ = value;
onChanged();
return this;
}
/**
*
* 是否需要蒙版弹幕,默认否,1-是;0-否
*
*
* string NeedBarrageMask = 9;
* @return This builder for chaining.
*/
public Builder clearNeedBarrageMask() {
needBarrageMask_ = getDefaultInstance().getNeedBarrageMask();
onChanged();
return this;
}
/**
*
* 是否需要蒙版弹幕,默认否,1-是;0-否
*
*
* string NeedBarrageMask = 9;
* @param value The bytes for needBarrageMask to set.
* @return This builder for chaining.
*/
public Builder setNeedBarrageMaskBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
needBarrageMask_ = value;
onChanged();
return this;
}
private java.lang.Object unionInfo_ = "";
/**
*
* 唯一性标识信息
*
*
* string UnionInfo = 10;
* @return The unionInfo.
*/
public java.lang.String getUnionInfo() {
java.lang.Object ref = unionInfo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
unionInfo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 唯一性标识信息
*
*
* string UnionInfo = 10;
* @return The bytes for unionInfo.
*/
public com.google.protobuf.ByteString
getUnionInfoBytes() {
java.lang.Object ref = unionInfo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
unionInfo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 唯一性标识信息
*
*
* string UnionInfo = 10;
* @param value The unionInfo to set.
* @return This builder for chaining.
*/
public Builder setUnionInfo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
unionInfo_ = value;
onChanged();
return this;
}
/**
*
* 唯一性标识信息
*
*
* string UnionInfo = 10;
* @return This builder for chaining.
*/
public Builder clearUnionInfo() {
unionInfo_ = getDefaultInstance().getUnionInfo();
onChanged();
return this;
}
/**
*
* 唯一性标识信息
*
*
* string UnionInfo = 10;
* @param value The bytes for unionInfo to set.
* @return This builder for chaining.
*/
public Builder setUnionInfoBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
unionInfo_ = value;
onChanged();
return this;
}
private java.lang.Object hDRDefinition_ = "";
/**
*
* HDR清晰度,默认不查询,支持:all,
* 240p,360p, 420p,480p,540p,720p,1080p, 2k, 4k, od, oe
*
*
* string HDRDefinition = 11;
* @return The hDRDefinition.
*/
public java.lang.String getHDRDefinition() {
java.lang.Object ref = hDRDefinition_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hDRDefinition_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* HDR清晰度,默认不查询,支持:all,
* 240p,360p, 420p,480p,540p,720p,1080p, 2k, 4k, od, oe
*
*
* string HDRDefinition = 11;
* @return The bytes for hDRDefinition.
*/
public com.google.protobuf.ByteString
getHDRDefinitionBytes() {
java.lang.Object ref = hDRDefinition_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hDRDefinition_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* HDR清晰度,默认不查询,支持:all,
* 240p,360p, 420p,480p,540p,720p,1080p, 2k, 4k, od, oe
*
*
* string HDRDefinition = 11;
* @param value The hDRDefinition to set.
* @return This builder for chaining.
*/
public Builder setHDRDefinition(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hDRDefinition_ = value;
onChanged();
return this;
}
/**
*
* HDR清晰度,默认不查询,支持:all,
* 240p,360p, 420p,480p,540p,720p,1080p, 2k, 4k, od, oe
*
*
* string HDRDefinition = 11;
* @return This builder for chaining.
*/
public Builder clearHDRDefinition() {
hDRDefinition_ = getDefaultInstance().getHDRDefinition();
onChanged();
return this;
}
/**
*
* HDR清晰度,默认不查询,支持:all,
* 240p,360p, 420p,480p,540p,720p,1080p, 2k, 4k, od, oe
*
*
* string HDRDefinition = 11;
* @param value The bytes for hDRDefinition to set.
* @return This builder for chaining.
*/
public Builder setHDRDefinitionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hDRDefinition_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Byteplus.Vod.Models.Request.VodGetSmartStrategyLitePlayInfoRequest)
}
// @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Request.VodGetSmartStrategyLitePlayInfoRequest)
private static final com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest();
}
public static com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodGetSmartStrategyLitePlayInfoRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodGetSmartStrategyLitePlayInfoRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodGetSmartStrategyLitePlayInfoRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}