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.
*
* 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 FORMAT_FIELD_NUMBER = 4;
private volatile java.lang.Object format_;
/**
*
*字幕格式列表
*
*
* string Format = 4;
* @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 = 4;
* @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 TITLE_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue title_;
/**
*
*标题
*
*
* .google.protobuf.StringValue Title = 6;
* @return Whether the title field is set.
*/
@java.lang.Override
public boolean hasTitle() {
return title_ != null;
}
/**
*
*标题
*
*
* .google.protobuf.StringValue Title = 6;
* @return The title.
*/
@java.lang.Override
public com.google.protobuf.StringValue getTitle() {
return title_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : title_;
}
/**
*
*标题
*
*
* .google.protobuf.StringValue Title = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getTitleOrBuilder() {
return getTitle();
}
public static final int TAG_FIELD_NUMBER = 7;
private com.google.protobuf.StringValue tag_;
/**
*
*标签
*
*
* .google.protobuf.StringValue Tag = 7;
* @return Whether the tag field is set.
*/
@java.lang.Override
public boolean hasTag() {
return tag_ != null;
}
/**
*
*标签
*
*
* .google.protobuf.StringValue Tag = 7;
* @return The tag.
*/
@java.lang.Override
public com.google.protobuf.StringValue getTag() {
return tag_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : tag_;
}
/**
*
*标签
*
*
* .google.protobuf.StringValue Tag = 7;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getTagOrBuilder() {
return getTag();
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, format_);
}
if (title_ != null) {
output.writeMessage(6, getTitle());
}
if (tag_ != null) {
output.writeMessage(7, getTag());
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, format_);
}
if (title_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getTitle());
}
if (tag_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getTag());
}
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.VodUpdateSubtitleInfoRequest)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest other = (com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest) obj;
if (!getVid()
.equals(other.getVid())) return false;
if (!getFileId()
.equals(other.getFileId())) return false;
if (!getLanguage()
.equals(other.getLanguage())) return false;
if (!getFormat()
.equals(other.getFormat())) return false;
if (hasTitle() != other.hasTitle()) return false;
if (hasTitle()) {
if (!getTitle()
.equals(other.getTitle())) return false;
}
if (hasTag() != other.hasTag()) return false;
if (hasTag()) {
if (!getTag()
.equals(other.getTag())) 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) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
if (hasTitle()) {
hash = (37 * hash) + TITLE_FIELD_NUMBER;
hash = (53 * hash) + getTitle().hashCode();
}
if (hasTag()) {
hash = (37 * hash) + TAG_FIELD_NUMBER;
hash = (53 * hash) + getTag().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest 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.VodUpdateSubtitleInfoRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Request.VodUpdateSubtitleInfoRequest)
com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.request.VodRequest.internal_static_Byteplus_Vod_Models_Request_VodUpdateSubtitleInfoRequest_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_VodUpdateSubtitleInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest.class, com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest.Builder.class);
}
// Construct using com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest.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_ = "";
format_ = "";
if (titleBuilder_ == null) {
title_ = null;
} else {
title_ = null;
titleBuilder_ = null;
}
if (tagBuilder_ == null) {
tag_ = null;
} else {
tag_ = null;
tagBuilder_ = null;
}
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_VodUpdateSubtitleInfoRequest_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest getDefaultInstanceForType() {
return com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest build() {
com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest buildPartial() {
com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest result = new com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest(this);
result.vid_ = vid_;
result.fileId_ = fileId_;
result.language_ = language_;
result.format_ = format_;
if (titleBuilder_ == null) {
result.title_ = title_;
} else {
result.title_ = titleBuilder_.build();
}
if (tagBuilder_ == null) {
result.tag_ = tag_;
} else {
result.tag_ = tagBuilder_.build();
}
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.VodUpdateSubtitleInfoRequest) {
return mergeFrom((com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest other) {
if (other == com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest.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.getFormat().isEmpty()) {
format_ = other.format_;
onChanged();
}
if (other.hasTitle()) {
mergeTitle(other.getTitle());
}
if (other.hasTag()) {
mergeTag(other.getTag());
}
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.VodUpdateSubtitleInfoRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.request.VodUpdateSubtitleInfoRequest) 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_ = "";
/**
*
*
* 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 java.lang.Object format_ = "";
/**
*
*字幕格式列表
*
*
* string Format = 4;
* @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 = 4;
* @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 = 4;
* @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 = 4;
* @return This builder for chaining.
*/
public Builder clearFormat() {
format_ = getDefaultInstance().getFormat();
onChanged();
return this;
}
/**
*
*字幕格式列表
*
*
* string Format = 4;
* @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 com.google.protobuf.StringValue title_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> titleBuilder_;
/**
*
*标题
*
*
* .google.protobuf.StringValue Title = 6;
* @return Whether the title field is set.
*/
public boolean hasTitle() {
return titleBuilder_ != null || title_ != null;
}
/**
*
*标题
*
*
* .google.protobuf.StringValue Title = 6;
* @return The title.
*/
public com.google.protobuf.StringValue getTitle() {
if (titleBuilder_ == null) {
return title_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : title_;
} else {
return titleBuilder_.getMessage();
}
}
/**
*
*标题
*
*
* .google.protobuf.StringValue Title = 6;
*/
public Builder setTitle(com.google.protobuf.StringValue value) {
if (titleBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
title_ = value;
onChanged();
} else {
titleBuilder_.setMessage(value);
}
return this;
}
/**
*
*
* .google.protobuf.StringValue Tag = 7;
* @return Whether the tag field is set.
*/
public boolean hasTag() {
return tagBuilder_ != null || tag_ != null;
}
/**
*
*标签
*
*
* .google.protobuf.StringValue Tag = 7;
* @return The tag.
*/
public com.google.protobuf.StringValue getTag() {
if (tagBuilder_ == null) {
return tag_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : tag_;
} else {
return tagBuilder_.getMessage();
}
}
/**
*
*标签
*
*
* .google.protobuf.StringValue Tag = 7;
*/
public Builder setTag(com.google.protobuf.StringValue value) {
if (tagBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tag_ = value;
onChanged();
} else {
tagBuilder_.setMessage(value);
}
return this;
}
/**
*