com.volcengine.service.vod.model.business.VodSubtitleInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: volcengine/vod/business/vod_common.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.VodSubtitleInfo}
*/
public final class VodSubtitleInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodSubtitleInfo)
VodSubtitleInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodSubtitleInfo.newBuilder() to construct.
private VodSubtitleInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodSubtitleInfo() {
vid_ = "";
fileId_ = "";
language_ = "";
format_ = "";
subtitleId_ = "";
title_ = "";
tag_ = "";
status_ = "";
source_ = "";
storeUri_ = "";
subtitleUrl_ = "";
createTime_ = "";
version_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodSubtitleInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodSubtitleInfo(
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();
vid_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
fileId_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
language_ = s;
break;
}
case 32: {
languageId_ = input.readInt32();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
format_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
subtitleId_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
title_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
tag_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
status_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
source_ = s;
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
storeUri_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
subtitleUrl_ = s;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
createTime_ = s;
break;
}
case 114: {
java.lang.String s = input.readStringRequireUtf8();
version_ = 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.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodSubtitleInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodSubtitleInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodSubtitleInfo.class, com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder.class);
}
public static final int VID_FIELD_NUMBER = 1;
private volatile java.lang.Object vid_;
/**
*
*视频ID
*
*
* string Vid = 1;
* @return The vid.
*/
@java.lang.Override
public java.lang.String getVid() {
java.lang.Object ref = vid_;
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();
vid_ = s;
return s;
}
}
/**
*
*视频ID
*
*
* string Vid = 1;
* @return The bytes for vid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILEID_FIELD_NUMBER = 2;
private volatile java.lang.Object fileId_;
/**
*
*文件ID
*
*
* string FileId = 2;
* @return The fileId.
*/
@java.lang.Override
public java.lang.String getFileId() {
java.lang.Object ref = fileId_;
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();
fileId_ = s;
return s;
}
}
/**
*
*文件ID
*
*
* string FileId = 2;
* @return The bytes for fileId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFileIdBytes() {
java.lang.Object ref = fileId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LANGUAGE_FIELD_NUMBER = 3;
private volatile java.lang.Object language_;
/**
*
*字幕语言
*
*
* string Language = 3;
* @return The language.
*/
@java.lang.Override
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
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();
language_ = s;
return s;
}
}
/**
*
*字幕语言
*
*
* string Language = 3;
* @return The bytes for language.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLanguageBytes() {
java.lang.Object ref = language_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
language_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LANGUAGEID_FIELD_NUMBER = 4;
private int languageId_;
/**
*
*字幕语言ID
*
*
* int32 LanguageId = 4;
* @return The languageId.
*/
@java.lang.Override
public int getLanguageId() {
return languageId_;
}
public static final int FORMAT_FIELD_NUMBER = 5;
private volatile java.lang.Object format_;
/**
*
*字幕格式
*
*
* string Format = 5;
* @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;
}
}
/**
*
*字幕格式
*
*
* string Format = 5;
* @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 SUBTITLEID_FIELD_NUMBER = 6;
private volatile java.lang.Object subtitleId_;
/**
*
*字幕ID
*
*
* string SubtitleId = 6;
* @return The subtitleId.
*/
@java.lang.Override
public java.lang.String getSubtitleId() {
java.lang.Object ref = subtitleId_;
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();
subtitleId_ = s;
return s;
}
}
/**
*
*字幕ID
*
*
* string SubtitleId = 6;
* @return The bytes for subtitleId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubtitleIdBytes() {
java.lang.Object ref = subtitleId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subtitleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TITLE_FIELD_NUMBER = 7;
private volatile java.lang.Object title_;
/**
*
*字幕标题
*
*
* string Title = 7;
* @return The title.
*/
@java.lang.Override
public java.lang.String getTitle() {
java.lang.Object ref = title_;
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();
title_ = s;
return s;
}
}
/**
*
*字幕标题
*
*
* string Title = 7;
* @return The bytes for title.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TAG_FIELD_NUMBER = 8;
private volatile java.lang.Object tag_;
/**
*
*字幕标签
*
*
* string Tag = 8;
* @return The tag.
*/
@java.lang.Override
public java.lang.String getTag() {
java.lang.Object ref = tag_;
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();
tag_ = s;
return s;
}
}
/**
*
*字幕标签
*
*
* string Tag = 8;
* @return The bytes for tag.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTagBytes() {
java.lang.Object ref = tag_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tag_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 9;
private volatile java.lang.Object status_;
/**
*
*字幕状态
*
*
* string Status = 9;
* @return The status.
*/
@java.lang.Override
public java.lang.String getStatus() {
java.lang.Object ref = status_;
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();
status_ = s;
return s;
}
}
/**
*
*字幕状态
*
*
* string Status = 9;
* @return The bytes for status.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCE_FIELD_NUMBER = 10;
private volatile java.lang.Object source_;
/**
*
*字幕来源
*
*
* string Source = 10;
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
java.lang.Object ref = source_;
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();
source_ = s;
return s;
}
}
/**
*
*字幕来源
*
*
* string Source = 10;
* @return The bytes for source.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STOREURI_FIELD_NUMBER = 11;
private volatile java.lang.Object storeUri_;
/**
*
*字幕uri
*
*
* string StoreUri = 11;
* @return The storeUri.
*/
@java.lang.Override
public java.lang.String getStoreUri() {
java.lang.Object ref = storeUri_;
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();
storeUri_ = s;
return s;
}
}
/**
*
*字幕uri
*
*
* string StoreUri = 11;
* @return The bytes for storeUri.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStoreUriBytes() {
java.lang.Object ref = storeUri_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storeUri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SUBTITLEURL_FIELD_NUMBER = 12;
private volatile java.lang.Object subtitleUrl_;
/**
*
*字幕url
*
*
* string SubtitleUrl = 12;
* @return The subtitleUrl.
*/
@java.lang.Override
public java.lang.String getSubtitleUrl() {
java.lang.Object ref = subtitleUrl_;
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();
subtitleUrl_ = s;
return s;
}
}
/**
*
*字幕url
*
*
* string SubtitleUrl = 12;
* @return The bytes for subtitleUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubtitleUrlBytes() {
java.lang.Object ref = subtitleUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subtitleUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATETIME_FIELD_NUMBER = 13;
private volatile java.lang.Object createTime_;
/**
*
*创建时间
*
*
* string CreateTime = 13;
* @return The createTime.
*/
@java.lang.Override
public java.lang.String getCreateTime() {
java.lang.Object ref = createTime_;
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();
createTime_ = s;
return s;
}
}
/**
*
*创建时间
*
*
* string CreateTime = 13;
* @return The bytes for createTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCreateTimeBytes() {
java.lang.Object ref = createTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
createTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VERSION_FIELD_NUMBER = 14;
private volatile java.lang.Object version_;
/**
*
*字幕版本
*
*
* string Version = 14;
* @return The version.
*/
@java.lang.Override
public java.lang.String getVersion() {
java.lang.Object ref = version_;
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();
version_ = s;
return s;
}
}
/**
*
*字幕版本
*
*
* string Version = 14;
* @return The bytes for version.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = 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(vid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fileId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, language_);
}
if (languageId_ != 0) {
output.writeInt32(4, languageId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, format_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subtitleId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, subtitleId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, title_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, tag_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, source_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeUri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, storeUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subtitleUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, subtitleUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, createTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, version_);
}
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(vid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, vid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fileId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(language_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, language_);
}
if (languageId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, languageId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, format_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subtitleId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, subtitleId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(title_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, title_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, tag_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(source_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, source_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storeUri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, storeUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subtitleUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, subtitleUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, createTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, version_);
}
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.volcengine.service.vod.model.business.VodSubtitleInfo)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodSubtitleInfo other = (com.volcengine.service.vod.model.business.VodSubtitleInfo) obj;
if (!getVid()
.equals(other.getVid())) return false;
if (!getFileId()
.equals(other.getFileId())) return false;
if (!getLanguage()
.equals(other.getLanguage())) return false;
if (getLanguageId()
!= other.getLanguageId()) return false;
if (!getFormat()
.equals(other.getFormat())) return false;
if (!getSubtitleId()
.equals(other.getSubtitleId())) return false;
if (!getTitle()
.equals(other.getTitle())) return false;
if (!getTag()
.equals(other.getTag())) return false;
if (!getStatus()
.equals(other.getStatus())) return false;
if (!getSource()
.equals(other.getSource())) return false;
if (!getStoreUri()
.equals(other.getStoreUri())) return false;
if (!getSubtitleUrl()
.equals(other.getSubtitleUrl())) return false;
if (!getCreateTime()
.equals(other.getCreateTime())) return false;
if (!getVersion()
.equals(other.getVersion())) 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) + VID_FIELD_NUMBER;
hash = (53 * hash) + getVid().hashCode();
hash = (37 * hash) + FILEID_FIELD_NUMBER;
hash = (53 * hash) + getFileId().hashCode();
hash = (37 * hash) + LANGUAGE_FIELD_NUMBER;
hash = (53 * hash) + getLanguage().hashCode();
hash = (37 * hash) + LANGUAGEID_FIELD_NUMBER;
hash = (53 * hash) + getLanguageId();
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
hash = (37 * hash) + SUBTITLEID_FIELD_NUMBER;
hash = (53 * hash) + getSubtitleId().hashCode();
hash = (37 * hash) + TITLE_FIELD_NUMBER;
hash = (53 * hash) + getTitle().hashCode();
hash = (37 * hash) + TAG_FIELD_NUMBER;
hash = (53 * hash) + getTag().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
hash = (37 * hash) + STOREURI_FIELD_NUMBER;
hash = (53 * hash) + getStoreUri().hashCode();
hash = (37 * hash) + SUBTITLEURL_FIELD_NUMBER;
hash = (53 * hash) + getSubtitleUrl().hashCode();
hash = (37 * hash) + CREATETIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime().hashCode();
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo 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.volcengine.service.vod.model.business.VodSubtitleInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo 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.volcengine.service.vod.model.business.VodSubtitleInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo 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.volcengine.service.vod.model.business.VodSubtitleInfo 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 Volcengine.Vod.Models.Business.VodSubtitleInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodSubtitleInfo)
com.volcengine.service.vod.model.business.VodSubtitleInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodSubtitleInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodSubtitleInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodSubtitleInfo.class, com.volcengine.service.vod.model.business.VodSubtitleInfo.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodSubtitleInfo.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();
vid_ = "";
fileId_ = "";
language_ = "";
languageId_ = 0;
format_ = "";
subtitleId_ = "";
title_ = "";
tag_ = "";
status_ = "";
source_ = "";
storeUri_ = "";
subtitleUrl_ = "";
createTime_ = "";
version_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodCommon.internal_static_Volcengine_Vod_Models_Business_VodSubtitleInfo_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodSubtitleInfo getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodSubtitleInfo.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodSubtitleInfo build() {
com.volcengine.service.vod.model.business.VodSubtitleInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodSubtitleInfo buildPartial() {
com.volcengine.service.vod.model.business.VodSubtitleInfo result = new com.volcengine.service.vod.model.business.VodSubtitleInfo(this);
result.vid_ = vid_;
result.fileId_ = fileId_;
result.language_ = language_;
result.languageId_ = languageId_;
result.format_ = format_;
result.subtitleId_ = subtitleId_;
result.title_ = title_;
result.tag_ = tag_;
result.status_ = status_;
result.source_ = source_;
result.storeUri_ = storeUri_;
result.subtitleUrl_ = subtitleUrl_;
result.createTime_ = createTime_;
result.version_ = version_;
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.volcengine.service.vod.model.business.VodSubtitleInfo) {
return mergeFrom((com.volcengine.service.vod.model.business.VodSubtitleInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodSubtitleInfo other) {
if (other == com.volcengine.service.vod.model.business.VodSubtitleInfo.getDefaultInstance()) return this;
if (!other.getVid().isEmpty()) {
vid_ = other.vid_;
onChanged();
}
if (!other.getFileId().isEmpty()) {
fileId_ = other.fileId_;
onChanged();
}
if (!other.getLanguage().isEmpty()) {
language_ = other.language_;
onChanged();
}
if (other.getLanguageId() != 0) {
setLanguageId(other.getLanguageId());
}
if (!other.getFormat().isEmpty()) {
format_ = other.format_;
onChanged();
}
if (!other.getSubtitleId().isEmpty()) {
subtitleId_ = other.subtitleId_;
onChanged();
}
if (!other.getTitle().isEmpty()) {
title_ = other.title_;
onChanged();
}
if (!other.getTag().isEmpty()) {
tag_ = other.tag_;
onChanged();
}
if (!other.getStatus().isEmpty()) {
status_ = other.status_;
onChanged();
}
if (!other.getSource().isEmpty()) {
source_ = other.source_;
onChanged();
}
if (!other.getStoreUri().isEmpty()) {
storeUri_ = other.storeUri_;
onChanged();
}
if (!other.getSubtitleUrl().isEmpty()) {
subtitleUrl_ = other.subtitleUrl_;
onChanged();
}
if (!other.getCreateTime().isEmpty()) {
createTime_ = other.createTime_;
onChanged();
}
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
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.volcengine.service.vod.model.business.VodSubtitleInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodSubtitleInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object vid_ = "";
/**
*
*视频ID
*
*
* string Vid = 1;
* @return The vid.
*/
public java.lang.String getVid() {
java.lang.Object ref = vid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*视频ID
*
*
* string Vid = 1;
* @return The bytes for vid.
*/
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*视频ID
*
*
* string Vid = 1;
* @param value The vid to set.
* @return This builder for chaining.
*/
public Builder setVid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vid_ = value;
onChanged();
return this;
}
/**
*
*视频ID
*
*
* string Vid = 1;
* @return This builder for chaining.
*/
public Builder clearVid() {
vid_ = getDefaultInstance().getVid();
onChanged();
return this;
}
/**
*
*视频ID
*
*
* string Vid = 1;
* @param value The bytes for vid to set.
* @return This builder for chaining.
*/
public Builder setVidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vid_ = value;
onChanged();
return this;
}
private java.lang.Object fileId_ = "";
/**
*
*文件ID
*
*
* string FileId = 2;
* @return The fileId.
*/
public java.lang.String getFileId() {
java.lang.Object ref = fileId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fileId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*文件ID
*
*
* string FileId = 2;
* @return The bytes for fileId.
*/
public com.google.protobuf.ByteString
getFileIdBytes() {
java.lang.Object ref = fileId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fileId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*文件ID
*
*
* string FileId = 2;
* @param value The fileId to set.
* @return This builder for chaining.
*/
public Builder setFileId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fileId_ = value;
onChanged();
return this;
}
/**
*
*文件ID
*
*
* string FileId = 2;
* @return This builder for chaining.
*/
public Builder clearFileId() {
fileId_ = getDefaultInstance().getFileId();
onChanged();
return this;
}
/**
*
*文件ID
*
*
* string FileId = 2;
* @param value The bytes for fileId to set.
* @return This builder for chaining.
*/
public Builder setFileIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fileId_ = value;
onChanged();
return this;
}
private java.lang.Object language_ = "";
/**
*
*字幕语言
*
*
* string Language = 3;
* @return The language.
*/
public java.lang.String getLanguage() {
java.lang.Object ref = language_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
language_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*字幕语言
*
*
* string Language = 3;
* @return The bytes for language.
*/
public com.google.protobuf.ByteString
getLanguageBytes() {
java.lang.Object ref = language_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
language_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*字幕语言
*
*
* string Language = 3;
* @param value The language to set.
* @return This builder for chaining.
*/
public Builder setLanguage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
language_ = value;
onChanged();
return this;
}
/**
*
*字幕语言
*
*
* string Language = 3;
* @return This builder for chaining.
*/
public Builder clearLanguage() {
language_ = getDefaultInstance().getLanguage();
onChanged();
return this;
}
/**
*
*字幕语言
*
*
* string Language = 3;
* @param value The bytes for language to set.
* @return This builder for chaining.
*/
public Builder setLanguageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
language_ = value;
onChanged();
return this;
}
private int languageId_ ;
/**
*
*字幕语言ID
*
*
* int32 LanguageId = 4;
* @return The languageId.
*/
@java.lang.Override
public int getLanguageId() {
return languageId_;
}
/**
*
*字幕语言ID
*
*
* int32 LanguageId = 4;
* @param value The languageId to set.
* @return This builder for chaining.
*/
public Builder setLanguageId(int value) {
languageId_ = value;
onChanged();
return this;
}
/**
*
*字幕语言ID
*
*
* int32 LanguageId = 4;
* @return This builder for chaining.
*/
public Builder clearLanguageId() {
languageId_ = 0;
onChanged();
return this;
}
private java.lang.Object format_ = "";
/**
*
*字幕格式
*
*
* string Format = 5;
* @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;
}
}
/**
*
*字幕格式
*
*
* string Format = 5;
* @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;
}
}
/**
*
*字幕格式
*
*
* string Format = 5;
* @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;
}
/**
*
*字幕格式
*
*
* string Format = 5;
* @return This builder for chaining.
*/
public Builder clearFormat() {
format_ = getDefaultInstance().getFormat();
onChanged();
return this;
}
/**
*
*字幕格式
*
*
* string Format = 5;
* @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 subtitleId_ = "";
/**
*
*字幕ID
*
*
* string SubtitleId = 6;
* @return The subtitleId.
*/
public java.lang.String getSubtitleId() {
java.lang.Object ref = subtitleId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
subtitleId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*字幕ID
*
*
* string SubtitleId = 6;
* @return The bytes for subtitleId.
*/
public com.google.protobuf.ByteString
getSubtitleIdBytes() {
java.lang.Object ref = subtitleId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subtitleId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*字幕ID
*
*
* string SubtitleId = 6;
* @param value The subtitleId to set.
* @return This builder for chaining.
*/
public Builder setSubtitleId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
subtitleId_ = value;
onChanged();
return this;
}
/**
*
*字幕ID
*
*
* string SubtitleId = 6;
* @return This builder for chaining.
*/
public Builder clearSubtitleId() {
subtitleId_ = getDefaultInstance().getSubtitleId();
onChanged();
return this;
}
/**
*
*字幕ID
*
*
* string SubtitleId = 6;
* @param value The bytes for subtitleId to set.
* @return This builder for chaining.
*/
public Builder setSubtitleIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
subtitleId_ = value;
onChanged();
return this;
}
private java.lang.Object title_ = "";
/**
*
*字幕标题
*
*
* string Title = 7;
* @return The title.
*/
public java.lang.String getTitle() {
java.lang.Object ref = title_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
title_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*字幕标题
*
*
* string Title = 7;
* @return The bytes for title.
*/
public com.google.protobuf.ByteString
getTitleBytes() {
java.lang.Object ref = title_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
title_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*字幕标题
*
*
* string Title = 7;
* @param value The title to set.
* @return This builder for chaining.
*/
public Builder setTitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
title_ = value;
onChanged();
return this;
}
/**
*
*字幕标题
*
*
* string Title = 7;
* @return This builder for chaining.
*/
public Builder clearTitle() {
title_ = getDefaultInstance().getTitle();
onChanged();
return this;
}
/**
*
*字幕标题
*
*
* string Title = 7;
* @param value The bytes for title to set.
* @return This builder for chaining.
*/
public Builder setTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
title_ = value;
onChanged();
return this;
}
private java.lang.Object tag_ = "";
/**
*
*字幕标签
*
*
* string Tag = 8;
* @return The tag.
*/
public java.lang.String getTag() {
java.lang.Object ref = tag_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
tag_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*字幕标签
*
*
* string Tag = 8;
* @return The bytes for tag.
*/
public com.google.protobuf.ByteString
getTagBytes() {
java.lang.Object ref = tag_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
tag_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*字幕标签
*
*
* string Tag = 8;
* @param value The tag to set.
* @return This builder for chaining.
*/
public Builder setTag(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
tag_ = value;
onChanged();
return this;
}
/**
*
*字幕标签
*
*
* string Tag = 8;
* @return This builder for chaining.
*/
public Builder clearTag() {
tag_ = getDefaultInstance().getTag();
onChanged();
return this;
}
/**
*
*字幕标签
*
*
* string Tag = 8;
* @param value The bytes for tag to set.
* @return This builder for chaining.
*/
public Builder setTagBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
tag_ = value;
onChanged();
return this;
}
private java.lang.Object status_ = "";
/**
*
*字幕状态
*
*
* string Status = 9;
* @return The status.
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
status_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*字幕状态
*
*
* string Status = 9;
* @return The bytes for status.
*/
public com.google.protobuf.ByteString
getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*字幕状态
*
*
* string Status = 9;
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
return this;
}
/**
*
*字幕状态
*
*
* string Status = 9;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = getDefaultInstance().getStatus();
onChanged();
return this;
}
/**
*
*字幕状态
*
*
* string Status = 9;
* @param value The bytes for status to set.
* @return This builder for chaining.
*/
public Builder setStatusBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
status_ = value;
onChanged();
return this;
}
private java.lang.Object source_ = "";
/**
*
*字幕来源
*
*
* string Source = 10;
* @return The source.
*/
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
source_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*字幕来源
*
*
* string Source = 10;
* @return The bytes for source.
*/
public com.google.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*字幕来源
*
*
* string Source = 10;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
return this;
}
/**
*
*字幕来源
*
*
* string Source = 10;
* @return This builder for chaining.
*/
public Builder clearSource() {
source_ = getDefaultInstance().getSource();
onChanged();
return this;
}
/**
*
*字幕来源
*
*
* string Source = 10;
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
public Builder setSourceBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
source_ = value;
onChanged();
return this;
}
private java.lang.Object storeUri_ = "";
/**
*
*字幕uri
*
*
* string StoreUri = 11;
* @return The storeUri.
*/
public java.lang.String getStoreUri() {
java.lang.Object ref = storeUri_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
storeUri_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*字幕uri
*
*
* string StoreUri = 11;
* @return The bytes for storeUri.
*/
public com.google.protobuf.ByteString
getStoreUriBytes() {
java.lang.Object ref = storeUri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storeUri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*字幕uri
*
*
* string StoreUri = 11;
* @param value The storeUri to set.
* @return This builder for chaining.
*/
public Builder setStoreUri(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
storeUri_ = value;
onChanged();
return this;
}
/**
*
*字幕uri
*
*
* string StoreUri = 11;
* @return This builder for chaining.
*/
public Builder clearStoreUri() {
storeUri_ = getDefaultInstance().getStoreUri();
onChanged();
return this;
}
/**
*
*字幕uri
*
*
* string StoreUri = 11;
* @param value The bytes for storeUri to set.
* @return This builder for chaining.
*/
public Builder setStoreUriBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
storeUri_ = value;
onChanged();
return this;
}
private java.lang.Object subtitleUrl_ = "";
/**
*
*字幕url
*
*
* string SubtitleUrl = 12;
* @return The subtitleUrl.
*/
public java.lang.String getSubtitleUrl() {
java.lang.Object ref = subtitleUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
subtitleUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*字幕url
*
*
* string SubtitleUrl = 12;
* @return The bytes for subtitleUrl.
*/
public com.google.protobuf.ByteString
getSubtitleUrlBytes() {
java.lang.Object ref = subtitleUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subtitleUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*字幕url
*
*
* string SubtitleUrl = 12;
* @param value The subtitleUrl to set.
* @return This builder for chaining.
*/
public Builder setSubtitleUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
subtitleUrl_ = value;
onChanged();
return this;
}
/**
*
*字幕url
*
*
* string SubtitleUrl = 12;
* @return This builder for chaining.
*/
public Builder clearSubtitleUrl() {
subtitleUrl_ = getDefaultInstance().getSubtitleUrl();
onChanged();
return this;
}
/**
*
*字幕url
*
*
* string SubtitleUrl = 12;
* @param value The bytes for subtitleUrl to set.
* @return This builder for chaining.
*/
public Builder setSubtitleUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
subtitleUrl_ = value;
onChanged();
return this;
}
private java.lang.Object createTime_ = "";
/**
*
*创建时间
*
*
* string CreateTime = 13;
* @return The createTime.
*/
public java.lang.String getCreateTime() {
java.lang.Object ref = createTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
createTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*创建时间
*
*
* string CreateTime = 13;
* @return The bytes for createTime.
*/
public com.google.protobuf.ByteString
getCreateTimeBytes() {
java.lang.Object ref = createTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
createTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*创建时间
*
*
* string CreateTime = 13;
* @param value The createTime to set.
* @return This builder for chaining.
*/
public Builder setCreateTime(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
createTime_ = value;
onChanged();
return this;
}
/**
*
*创建时间
*
*
* string CreateTime = 13;
* @return This builder for chaining.
*/
public Builder clearCreateTime() {
createTime_ = getDefaultInstance().getCreateTime();
onChanged();
return this;
}
/**
*
*创建时间
*
*
* string CreateTime = 13;
* @param value The bytes for createTime to set.
* @return This builder for chaining.
*/
public Builder setCreateTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
createTime_ = value;
onChanged();
return this;
}
private java.lang.Object version_ = "";
/**
*
*字幕版本
*
*
* string Version = 14;
* @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
*字幕版本
*
*
* string Version = 14;
* @return The bytes for version.
*/
public com.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
*字幕版本
*
*
* string Version = 14;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
return this;
}
/**
*
*字幕版本
*
*
* string Version = 14;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
*
*字幕版本
*
*
* string Version = 14;
* @param value The bytes for version to set.
* @return This builder for chaining.
*/
public Builder setVersionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
version_ = 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:Volcengine.Vod.Models.Business.VodSubtitleInfo)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodSubtitleInfo)
private static final com.volcengine.service.vod.model.business.VodSubtitleInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodSubtitleInfo();
}
public static com.volcengine.service.vod.model.business.VodSubtitleInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodSubtitleInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodSubtitleInfo(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.volcengine.service.vod.model.business.VodSubtitleInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy