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.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: byteplus/vod/business/vod_measure.proto
package com.byteplus.service.vod.model.business;
/**
*
* 点播工作流用量明细
*
*
* Protobuf type {@code Byteplus.Vod.Models.Business.DescribeVodSpaceWorkflowTranscodeInfo}
*/
public final class DescribeVodSpaceWorkflowTranscodeInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.DescribeVodSpaceWorkflowTranscodeInfo)
DescribeVodSpaceWorkflowTranscodeInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescribeVodSpaceWorkflowTranscodeInfo.newBuilder() to construct.
private DescribeVodSpaceWorkflowTranscodeInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescribeVodSpaceWorkflowTranscodeInfo() {
templateType_ = "";
fileType_ = "";
codec_ = "";
definition_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DescribeVodSpaceWorkflowTranscodeInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DescribeVodSpaceWorkflowTranscodeInfo(
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();
templateType_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
fileType_ = s;
break;
}
case 24: {
duration_ = input.readInt64();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
codec_ = s;
break;
}
case 40: {
remux_ = input.readBool();
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
definition_ = s;
break;
}
case 56: {
width_ = input.readInt64();
break;
}
case 64: {
height_ = input.readInt64();
break;
}
case 72: {
slice_ = input.readBool();
break;
}
case 80: {
isLowPriority_ = input.readBool();
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.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceWorkflowTranscodeInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceWorkflowTranscodeInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo.class, com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo.Builder.class);
}
public static final int TEMPLATETYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object templateType_;
/**
* string TemplateType = 1;
* @return The templateType.
*/
@java.lang.Override
public java.lang.String getTemplateType() {
java.lang.Object ref = templateType_;
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();
templateType_ = s;
return s;
}
}
/**
* string TemplateType = 1;
* @return The bytes for templateType.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTemplateTypeBytes() {
java.lang.Object ref = templateType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FILETYPE_FIELD_NUMBER = 2;
private volatile java.lang.Object fileType_;
/**
* string FileType = 2;
* @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;
}
}
/**
* string FileType = 2;
* @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 DURATION_FIELD_NUMBER = 3;
private long duration_;
/**
* int64 Duration = 3;
* @return The duration.
*/
@java.lang.Override
public long getDuration() {
return duration_;
}
public static final int CODEC_FIELD_NUMBER = 4;
private volatile java.lang.Object codec_;
/**
* string Codec = 4;
* @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;
}
}
/**
* string Codec = 4;
* @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 REMUX_FIELD_NUMBER = 5;
private boolean remux_;
/**
* bool Remux = 5;
* @return The remux.
*/
@java.lang.Override
public boolean getRemux() {
return remux_;
}
public static final int DEFINITION_FIELD_NUMBER = 6;
private volatile java.lang.Object definition_;
/**
* string Definition = 6;
* @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;
}
}
/**
* string Definition = 6;
* @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 WIDTH_FIELD_NUMBER = 7;
private long width_;
/**
* int64 Width = 7;
* @return The width.
*/
@java.lang.Override
public long getWidth() {
return width_;
}
public static final int HEIGHT_FIELD_NUMBER = 8;
private long height_;
/**
* int64 Height = 8;
* @return The height.
*/
@java.lang.Override
public long getHeight() {
return height_;
}
public static final int SLICE_FIELD_NUMBER = 9;
private boolean slice_;
/**
* bool Slice = 9;
* @return The slice.
*/
@java.lang.Override
public boolean getSlice() {
return slice_;
}
public static final int ISLOWPRIORITY_FIELD_NUMBER = 10;
private boolean isLowPriority_;
/**
* bool IsLowPriority = 10;
* @return The isLowPriority.
*/
@java.lang.Override
public boolean getIsLowPriority() {
return isLowPriority_;
}
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(templateType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, templateType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fileType_);
}
if (duration_ != 0L) {
output.writeInt64(3, duration_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, codec_);
}
if (remux_ != false) {
output.writeBool(5, remux_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, definition_);
}
if (width_ != 0L) {
output.writeInt64(7, width_);
}
if (height_ != 0L) {
output.writeInt64(8, height_);
}
if (slice_ != false) {
output.writeBool(9, slice_);
}
if (isLowPriority_ != false) {
output.writeBool(10, isLowPriority_);
}
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(templateType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, templateType_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fileType_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fileType_);
}
if (duration_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, duration_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, codec_);
}
if (remux_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, remux_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(definition_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, definition_);
}
if (width_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, width_);
}
if (height_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, height_);
}
if (slice_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, slice_);
}
if (isLowPriority_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, isLowPriority_);
}
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.business.DescribeVodSpaceWorkflowTranscodeInfo)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo other = (com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo) obj;
if (!getTemplateType()
.equals(other.getTemplateType())) return false;
if (!getFileType()
.equals(other.getFileType())) return false;
if (getDuration()
!= other.getDuration()) return false;
if (!getCodec()
.equals(other.getCodec())) return false;
if (getRemux()
!= other.getRemux()) return false;
if (!getDefinition()
.equals(other.getDefinition())) return false;
if (getWidth()
!= other.getWidth()) return false;
if (getHeight()
!= other.getHeight()) return false;
if (getSlice()
!= other.getSlice()) return false;
if (getIsLowPriority()
!= other.getIsLowPriority()) 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) + TEMPLATETYPE_FIELD_NUMBER;
hash = (53 * hash) + getTemplateType().hashCode();
hash = (37 * hash) + FILETYPE_FIELD_NUMBER;
hash = (53 * hash) + getFileType().hashCode();
hash = (37 * hash) + DURATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDuration());
hash = (37 * hash) + CODEC_FIELD_NUMBER;
hash = (53 * hash) + getCodec().hashCode();
hash = (37 * hash) + REMUX_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getRemux());
hash = (37 * hash) + DEFINITION_FIELD_NUMBER;
hash = (53 * hash) + getDefinition().hashCode();
hash = (37 * hash) + WIDTH_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getWidth());
hash = (37 * hash) + HEIGHT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getHeight());
hash = (37 * hash) + SLICE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSlice());
hash = (37 * hash) + ISLOWPRIORITY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsLowPriority());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo 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.business.DescribeVodSpaceWorkflowTranscodeInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo 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.business.DescribeVodSpaceWorkflowTranscodeInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo 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.business.DescribeVodSpaceWorkflowTranscodeInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo 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.business.DescribeVodSpaceWorkflowTranscodeInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo 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.business.DescribeVodSpaceWorkflowTranscodeInfo 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.business.DescribeVodSpaceWorkflowTranscodeInfo 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.business.DescribeVodSpaceWorkflowTranscodeInfo 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.Business.DescribeVodSpaceWorkflowTranscodeInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.DescribeVodSpaceWorkflowTranscodeInfo)
com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceWorkflowTranscodeInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceWorkflowTranscodeInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo.class, com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo.Builder.class);
}
// Construct using com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo.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();
templateType_ = "";
fileType_ = "";
duration_ = 0L;
codec_ = "";
remux_ = false;
definition_ = "";
width_ = 0L;
height_ = 0L;
slice_ = false;
isLowPriority_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.byteplus.service.vod.model.business.VodMeasure.internal_static_Byteplus_Vod_Models_Business_DescribeVodSpaceWorkflowTranscodeInfo_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo getDefaultInstanceForType() {
return com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo build() {
com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo buildPartial() {
com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo result = new com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo(this);
result.templateType_ = templateType_;
result.fileType_ = fileType_;
result.duration_ = duration_;
result.codec_ = codec_;
result.remux_ = remux_;
result.definition_ = definition_;
result.width_ = width_;
result.height_ = height_;
result.slice_ = slice_;
result.isLowPriority_ = isLowPriority_;
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.business.DescribeVodSpaceWorkflowTranscodeInfo) {
return mergeFrom((com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo other) {
if (other == com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo.getDefaultInstance()) return this;
if (!other.getTemplateType().isEmpty()) {
templateType_ = other.templateType_;
onChanged();
}
if (!other.getFileType().isEmpty()) {
fileType_ = other.fileType_;
onChanged();
}
if (other.getDuration() != 0L) {
setDuration(other.getDuration());
}
if (!other.getCodec().isEmpty()) {
codec_ = other.codec_;
onChanged();
}
if (other.getRemux() != false) {
setRemux(other.getRemux());
}
if (!other.getDefinition().isEmpty()) {
definition_ = other.definition_;
onChanged();
}
if (other.getWidth() != 0L) {
setWidth(other.getWidth());
}
if (other.getHeight() != 0L) {
setHeight(other.getHeight());
}
if (other.getSlice() != false) {
setSlice(other.getSlice());
}
if (other.getIsLowPriority() != false) {
setIsLowPriority(other.getIsLowPriority());
}
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.business.DescribeVodSpaceWorkflowTranscodeInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object templateType_ = "";
/**
* string TemplateType = 1;
* @return The templateType.
*/
public java.lang.String getTemplateType() {
java.lang.Object ref = templateType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
templateType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string TemplateType = 1;
* @return The bytes for templateType.
*/
public com.google.protobuf.ByteString
getTemplateTypeBytes() {
java.lang.Object ref = templateType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
templateType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string TemplateType = 1;
* @param value The templateType to set.
* @return This builder for chaining.
*/
public Builder setTemplateType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
templateType_ = value;
onChanged();
return this;
}
/**
* string TemplateType = 1;
* @return This builder for chaining.
*/
public Builder clearTemplateType() {
templateType_ = getDefaultInstance().getTemplateType();
onChanged();
return this;
}
/**
* string TemplateType = 1;
* @param value The bytes for templateType to set.
* @return This builder for chaining.
*/
public Builder setTemplateTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
templateType_ = value;
onChanged();
return this;
}
private java.lang.Object fileType_ = "";
/**
* string FileType = 2;
* @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;
}
}
/**
* string FileType = 2;
* @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;
}
}
/**
* string FileType = 2;
* @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;
}
/**
* string FileType = 2;
* @return This builder for chaining.
*/
public Builder clearFileType() {
fileType_ = getDefaultInstance().getFileType();
onChanged();
return this;
}
/**
* string FileType = 2;
* @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 long duration_ ;
/**
* int64 Duration = 3;
* @return The duration.
*/
@java.lang.Override
public long getDuration() {
return duration_;
}
/**
* int64 Duration = 3;
* @param value The duration to set.
* @return This builder for chaining.
*/
public Builder setDuration(long value) {
duration_ = value;
onChanged();
return this;
}
/**
* int64 Duration = 3;
* @return This builder for chaining.
*/
public Builder clearDuration() {
duration_ = 0L;
onChanged();
return this;
}
private java.lang.Object codec_ = "";
/**
* string Codec = 4;
* @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;
}
}
/**
* string Codec = 4;
* @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;
}
}
/**
* string Codec = 4;
* @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;
}
/**
* string Codec = 4;
* @return This builder for chaining.
*/
public Builder clearCodec() {
codec_ = getDefaultInstance().getCodec();
onChanged();
return this;
}
/**
* string Codec = 4;
* @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 boolean remux_ ;
/**
* bool Remux = 5;
* @return The remux.
*/
@java.lang.Override
public boolean getRemux() {
return remux_;
}
/**
* bool Remux = 5;
* @param value The remux to set.
* @return This builder for chaining.
*/
public Builder setRemux(boolean value) {
remux_ = value;
onChanged();
return this;
}
/**
* bool Remux = 5;
* @return This builder for chaining.
*/
public Builder clearRemux() {
remux_ = false;
onChanged();
return this;
}
private java.lang.Object definition_ = "";
/**
* string Definition = 6;
* @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;
}
}
/**
* string Definition = 6;
* @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;
}
}
/**
* string Definition = 6;
* @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;
}
/**
* string Definition = 6;
* @return This builder for chaining.
*/
public Builder clearDefinition() {
definition_ = getDefaultInstance().getDefinition();
onChanged();
return this;
}
/**
* string Definition = 6;
* @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 long width_ ;
/**
* int64 Width = 7;
* @return The width.
*/
@java.lang.Override
public long getWidth() {
return width_;
}
/**
* int64 Width = 7;
* @param value The width to set.
* @return This builder for chaining.
*/
public Builder setWidth(long value) {
width_ = value;
onChanged();
return this;
}
/**
* int64 Width = 7;
* @return This builder for chaining.
*/
public Builder clearWidth() {
width_ = 0L;
onChanged();
return this;
}
private long height_ ;
/**
* int64 Height = 8;
* @return The height.
*/
@java.lang.Override
public long getHeight() {
return height_;
}
/**
* int64 Height = 8;
* @param value The height to set.
* @return This builder for chaining.
*/
public Builder setHeight(long value) {
height_ = value;
onChanged();
return this;
}
/**
* int64 Height = 8;
* @return This builder for chaining.
*/
public Builder clearHeight() {
height_ = 0L;
onChanged();
return this;
}
private boolean slice_ ;
/**
* bool Slice = 9;
* @return The slice.
*/
@java.lang.Override
public boolean getSlice() {
return slice_;
}
/**
* bool Slice = 9;
* @param value The slice to set.
* @return This builder for chaining.
*/
public Builder setSlice(boolean value) {
slice_ = value;
onChanged();
return this;
}
/**
* bool Slice = 9;
* @return This builder for chaining.
*/
public Builder clearSlice() {
slice_ = false;
onChanged();
return this;
}
private boolean isLowPriority_ ;
/**
* bool IsLowPriority = 10;
* @return The isLowPriority.
*/
@java.lang.Override
public boolean getIsLowPriority() {
return isLowPriority_;
}
/**
* bool IsLowPriority = 10;
* @param value The isLowPriority to set.
* @return This builder for chaining.
*/
public Builder setIsLowPriority(boolean value) {
isLowPriority_ = value;
onChanged();
return this;
}
/**
* bool IsLowPriority = 10;
* @return This builder for chaining.
*/
public Builder clearIsLowPriority() {
isLowPriority_ = false;
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.Business.DescribeVodSpaceWorkflowTranscodeInfo)
}
// @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.DescribeVodSpaceWorkflowTranscodeInfo)
private static final com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo();
}
public static com.byteplus.service.vod.model.business.DescribeVodSpaceWorkflowTranscodeInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DescribeVodSpaceWorkflowTranscodeInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DescribeVodSpaceWorkflowTranscodeInfo(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.business.DescribeVodSpaceWorkflowTranscodeInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}