com.volcengine.service.vod.model.business.GetDirectEditResult 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_edit.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.GetDirectEditResult}
*/
public final class GetDirectEditResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.GetDirectEditResult)
GetDirectEditResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDirectEditResult.newBuilder() to construct.
private GetDirectEditResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GetDirectEditResult() {
reqId_ = "";
editParam_ = com.google.protobuf.ByteString.EMPTY;
callbackUri_ = "";
callbackArgs_ = "";
status_ = "";
outputVid_ = "";
message_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDirectEditResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GetDirectEditResult(
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();
reqId_ = s;
break;
}
case 18: {
editParam_ = input.readBytes();
break;
}
case 24: {
priority_ = input.readInt32();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
callbackUri_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
callbackArgs_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
status_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
outputVid_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
message_ = 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.VodEdit.internal_static_Volcengine_Vod_Models_Business_GetDirectEditResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodEdit.internal_static_Volcengine_Vod_Models_Business_GetDirectEditResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.GetDirectEditResult.class, com.volcengine.service.vod.model.business.GetDirectEditResult.Builder.class);
}
public static final int REQID_FIELD_NUMBER = 1;
private volatile java.lang.Object reqId_;
/**
*
* 视频编辑执行Id
*
*
* string ReqId = 1;
* @return The reqId.
*/
@java.lang.Override
public java.lang.String getReqId() {
java.lang.Object ref = reqId_;
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();
reqId_ = s;
return s;
}
}
/**
*
* 视频编辑执行Id
*
*
* string ReqId = 1;
* @return The bytes for reqId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReqIdBytes() {
java.lang.Object ref = reqId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reqId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EDITPARAM_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString editParam_;
/**
*
* 视频编辑参数
*
*
* bytes EditParam = 2;
* @return The editParam.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEditParam() {
return editParam_;
}
public static final int PRIORITY_FIELD_NUMBER = 3;
private int priority_;
/**
*
* 优先级
*
*
* int32 Priority = 3;
* @return The priority.
*/
@java.lang.Override
public int getPriority() {
return priority_;
}
public static final int CALLBACKURI_FIELD_NUMBER = 4;
private volatile java.lang.Object callbackUri_;
/**
*
* 回调地址
*
*
* string CallbackUri = 4;
* @return The callbackUri.
*/
@java.lang.Override
public java.lang.String getCallbackUri() {
java.lang.Object ref = callbackUri_;
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();
callbackUri_ = s;
return s;
}
}
/**
*
* 回调地址
*
*
* string CallbackUri = 4;
* @return The bytes for callbackUri.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCallbackUriBytes() {
java.lang.Object ref = callbackUri_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackUri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CALLBACKARGS_FIELD_NUMBER = 5;
private volatile java.lang.Object callbackArgs_;
/**
*
* 回调参数
*
*
* string CallbackArgs = 5;
* @return The callbackArgs.
*/
@java.lang.Override
public java.lang.String getCallbackArgs() {
java.lang.Object ref = callbackArgs_;
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();
callbackArgs_ = s;
return s;
}
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 5;
* @return The bytes for callbackArgs.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCallbackArgsBytes() {
java.lang.Object ref = callbackArgs_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackArgs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 6;
private volatile java.lang.Object status_;
/**
*
* 编辑任务状态
*
*
* string Status = 6;
* @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 = 6;
* @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 OUTPUTVID_FIELD_NUMBER = 7;
private volatile java.lang.Object outputVid_;
/**
*
* 产物vid
*
*
* string OutputVid = 7;
* @return The outputVid.
*/
@java.lang.Override
public java.lang.String getOutputVid() {
java.lang.Object ref = outputVid_;
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();
outputVid_ = s;
return s;
}
}
/**
*
* 产物vid
*
*
* string OutputVid = 7;
* @return The bytes for outputVid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOutputVidBytes() {
java.lang.Object ref = outputVid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
outputVid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 8;
private volatile java.lang.Object message_;
/**
*
* 错误信息
*
*
* string Message = 8;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
*
* 错误信息
*
*
* string Message = 8;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = 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(reqId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reqId_);
}
if (!editParam_.isEmpty()) {
output.writeBytes(2, editParam_);
}
if (priority_ != 0) {
output.writeInt32(3, priority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackUri_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, callbackUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, callbackArgs_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputVid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, outputVid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, message_);
}
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(reqId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reqId_);
}
if (!editParam_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, editParam_);
}
if (priority_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, priority_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackUri_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, callbackUri_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, callbackArgs_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(status_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, status_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputVid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, outputVid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, message_);
}
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.GetDirectEditResult)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.GetDirectEditResult other = (com.volcengine.service.vod.model.business.GetDirectEditResult) obj;
if (!getReqId()
.equals(other.getReqId())) return false;
if (!getEditParam()
.equals(other.getEditParam())) return false;
if (getPriority()
!= other.getPriority()) return false;
if (!getCallbackUri()
.equals(other.getCallbackUri())) return false;
if (!getCallbackArgs()
.equals(other.getCallbackArgs())) return false;
if (!getStatus()
.equals(other.getStatus())) return false;
if (!getOutputVid()
.equals(other.getOutputVid())) return false;
if (!getMessage()
.equals(other.getMessage())) 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) + REQID_FIELD_NUMBER;
hash = (53 * hash) + getReqId().hashCode();
hash = (37 * hash) + EDITPARAM_FIELD_NUMBER;
hash = (53 * hash) + getEditParam().hashCode();
hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
hash = (53 * hash) + getPriority();
hash = (37 * hash) + CALLBACKURI_FIELD_NUMBER;
hash = (53 * hash) + getCallbackUri().hashCode();
hash = (37 * hash) + CALLBACKARGS_FIELD_NUMBER;
hash = (53 * hash) + getCallbackArgs().hashCode();
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
hash = (37 * hash) + OUTPUTVID_FIELD_NUMBER;
hash = (53 * hash) + getOutputVid().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.GetDirectEditResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.GetDirectEditResult 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.GetDirectEditResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.GetDirectEditResult 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.GetDirectEditResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.GetDirectEditResult 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.GetDirectEditResult 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.GetDirectEditResult 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.GetDirectEditResult 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.GetDirectEditResult 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.GetDirectEditResult 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.GetDirectEditResult 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.GetDirectEditResult 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.GetDirectEditResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.GetDirectEditResult)
com.volcengine.service.vod.model.business.GetDirectEditResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodEdit.internal_static_Volcengine_Vod_Models_Business_GetDirectEditResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodEdit.internal_static_Volcengine_Vod_Models_Business_GetDirectEditResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.GetDirectEditResult.class, com.volcengine.service.vod.model.business.GetDirectEditResult.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.GetDirectEditResult.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();
reqId_ = "";
editParam_ = com.google.protobuf.ByteString.EMPTY;
priority_ = 0;
callbackUri_ = "";
callbackArgs_ = "";
status_ = "";
outputVid_ = "";
message_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodEdit.internal_static_Volcengine_Vod_Models_Business_GetDirectEditResult_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.GetDirectEditResult getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.GetDirectEditResult.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.GetDirectEditResult build() {
com.volcengine.service.vod.model.business.GetDirectEditResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.GetDirectEditResult buildPartial() {
com.volcengine.service.vod.model.business.GetDirectEditResult result = new com.volcengine.service.vod.model.business.GetDirectEditResult(this);
result.reqId_ = reqId_;
result.editParam_ = editParam_;
result.priority_ = priority_;
result.callbackUri_ = callbackUri_;
result.callbackArgs_ = callbackArgs_;
result.status_ = status_;
result.outputVid_ = outputVid_;
result.message_ = message_;
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.GetDirectEditResult) {
return mergeFrom((com.volcengine.service.vod.model.business.GetDirectEditResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.GetDirectEditResult other) {
if (other == com.volcengine.service.vod.model.business.GetDirectEditResult.getDefaultInstance()) return this;
if (!other.getReqId().isEmpty()) {
reqId_ = other.reqId_;
onChanged();
}
if (other.getEditParam() != com.google.protobuf.ByteString.EMPTY) {
setEditParam(other.getEditParam());
}
if (other.getPriority() != 0) {
setPriority(other.getPriority());
}
if (!other.getCallbackUri().isEmpty()) {
callbackUri_ = other.callbackUri_;
onChanged();
}
if (!other.getCallbackArgs().isEmpty()) {
callbackArgs_ = other.callbackArgs_;
onChanged();
}
if (!other.getStatus().isEmpty()) {
status_ = other.status_;
onChanged();
}
if (!other.getOutputVid().isEmpty()) {
outputVid_ = other.outputVid_;
onChanged();
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
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.GetDirectEditResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.GetDirectEditResult) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object reqId_ = "";
/**
*
* 视频编辑执行Id
*
*
* string ReqId = 1;
* @return The reqId.
*/
public java.lang.String getReqId() {
java.lang.Object ref = reqId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
reqId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 视频编辑执行Id
*
*
* string ReqId = 1;
* @return The bytes for reqId.
*/
public com.google.protobuf.ByteString
getReqIdBytes() {
java.lang.Object ref = reqId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reqId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 视频编辑执行Id
*
*
* string ReqId = 1;
* @param value The reqId to set.
* @return This builder for chaining.
*/
public Builder setReqId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
reqId_ = value;
onChanged();
return this;
}
/**
*
* 视频编辑执行Id
*
*
* string ReqId = 1;
* @return This builder for chaining.
*/
public Builder clearReqId() {
reqId_ = getDefaultInstance().getReqId();
onChanged();
return this;
}
/**
*
* 视频编辑执行Id
*
*
* string ReqId = 1;
* @param value The bytes for reqId to set.
* @return This builder for chaining.
*/
public Builder setReqIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
reqId_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString editParam_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* 视频编辑参数
*
*
* bytes EditParam = 2;
* @return The editParam.
*/
@java.lang.Override
public com.google.protobuf.ByteString getEditParam() {
return editParam_;
}
/**
*
* 视频编辑参数
*
*
* bytes EditParam = 2;
* @param value The editParam to set.
* @return This builder for chaining.
*/
public Builder setEditParam(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
editParam_ = value;
onChanged();
return this;
}
/**
*
* 视频编辑参数
*
*
* bytes EditParam = 2;
* @return This builder for chaining.
*/
public Builder clearEditParam() {
editParam_ = getDefaultInstance().getEditParam();
onChanged();
return this;
}
private int priority_ ;
/**
*
* 优先级
*
*
* int32 Priority = 3;
* @return The priority.
*/
@java.lang.Override
public int getPriority() {
return priority_;
}
/**
*
* 优先级
*
*
* int32 Priority = 3;
* @param value The priority to set.
* @return This builder for chaining.
*/
public Builder setPriority(int value) {
priority_ = value;
onChanged();
return this;
}
/**
*
* 优先级
*
*
* int32 Priority = 3;
* @return This builder for chaining.
*/
public Builder clearPriority() {
priority_ = 0;
onChanged();
return this;
}
private java.lang.Object callbackUri_ = "";
/**
*
* 回调地址
*
*
* string CallbackUri = 4;
* @return The callbackUri.
*/
public java.lang.String getCallbackUri() {
java.lang.Object ref = callbackUri_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
callbackUri_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 回调地址
*
*
* string CallbackUri = 4;
* @return The bytes for callbackUri.
*/
public com.google.protobuf.ByteString
getCallbackUriBytes() {
java.lang.Object ref = callbackUri_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackUri_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 回调地址
*
*
* string CallbackUri = 4;
* @param value The callbackUri to set.
* @return This builder for chaining.
*/
public Builder setCallbackUri(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
callbackUri_ = value;
onChanged();
return this;
}
/**
*
* 回调地址
*
*
* string CallbackUri = 4;
* @return This builder for chaining.
*/
public Builder clearCallbackUri() {
callbackUri_ = getDefaultInstance().getCallbackUri();
onChanged();
return this;
}
/**
*
* 回调地址
*
*
* string CallbackUri = 4;
* @param value The bytes for callbackUri to set.
* @return This builder for chaining.
*/
public Builder setCallbackUriBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
callbackUri_ = value;
onChanged();
return this;
}
private java.lang.Object callbackArgs_ = "";
/**
*
* 回调参数
*
*
* string CallbackArgs = 5;
* @return The callbackArgs.
*/
public java.lang.String getCallbackArgs() {
java.lang.Object ref = callbackArgs_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
callbackArgs_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 5;
* @return The bytes for callbackArgs.
*/
public com.google.protobuf.ByteString
getCallbackArgsBytes() {
java.lang.Object ref = callbackArgs_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callbackArgs_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 5;
* @param value The callbackArgs to set.
* @return This builder for chaining.
*/
public Builder setCallbackArgs(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
callbackArgs_ = value;
onChanged();
return this;
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 5;
* @return This builder for chaining.
*/
public Builder clearCallbackArgs() {
callbackArgs_ = getDefaultInstance().getCallbackArgs();
onChanged();
return this;
}
/**
*
* 回调参数
*
*
* string CallbackArgs = 5;
* @param value The bytes for callbackArgs to set.
* @return This builder for chaining.
*/
public Builder setCallbackArgsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
callbackArgs_ = value;
onChanged();
return this;
}
private java.lang.Object status_ = "";
/**
*
* 编辑任务状态
*
*
* string Status = 6;
* @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 = 6;
* @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 = 6;
* @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 = 6;
* @return This builder for chaining.
*/
public Builder clearStatus() {
status_ = getDefaultInstance().getStatus();
onChanged();
return this;
}
/**
*
* 编辑任务状态
*
*
* string Status = 6;
* @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 outputVid_ = "";
/**
*
* 产物vid
*
*
* string OutputVid = 7;
* @return The outputVid.
*/
public java.lang.String getOutputVid() {
java.lang.Object ref = outputVid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
outputVid_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 产物vid
*
*
* string OutputVid = 7;
* @return The bytes for outputVid.
*/
public com.google.protobuf.ByteString
getOutputVidBytes() {
java.lang.Object ref = outputVid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
outputVid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 产物vid
*
*
* string OutputVid = 7;
* @param value The outputVid to set.
* @return This builder for chaining.
*/
public Builder setOutputVid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
outputVid_ = value;
onChanged();
return this;
}
/**
*
* 产物vid
*
*
* string OutputVid = 7;
* @return This builder for chaining.
*/
public Builder clearOutputVid() {
outputVid_ = getDefaultInstance().getOutputVid();
onChanged();
return this;
}
/**
*
* 产物vid
*
*
* string OutputVid = 7;
* @param value The bytes for outputVid to set.
* @return This builder for chaining.
*/
public Builder setOutputVidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
outputVid_ = value;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
*
* 错误信息
*
*
* string Message = 8;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 错误信息
*
*
* string Message = 8;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 错误信息
*
*
* string Message = 8;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
return this;
}
/**
*
* 错误信息
*
*
* string Message = 8;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
*
* 错误信息
*
*
* string Message = 8;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
message_ = 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.GetDirectEditResult)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.GetDirectEditResult)
private static final com.volcengine.service.vod.model.business.GetDirectEditResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.GetDirectEditResult();
}
public static com.volcengine.service.vod.model.business.GetDirectEditResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GetDirectEditResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GetDirectEditResult(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.GetDirectEditResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy