com.volcengine.service.vod.model.business.VodURLSet 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_upload.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.VodURLSet}
*/
public final class VodURLSet extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodURLSet)
VodURLSetOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodURLSet.newBuilder() to construct.
private VodURLSet(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodURLSet() {
requestId_ = "";
jobId_ = "";
sourceUrl_ = "";
state_ = "";
vid_ = "";
spaceName_ = "";
accountId_ = "";
callbackArgs_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodURLSet();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodURLSet(
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();
requestId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
jobId_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
sourceUrl_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
state_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
vid_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
spaceName_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
accountId_ = s;
break;
}
case 66: {
com.volcengine.service.vod.model.business.VodSourceInfo.Builder subBuilder = null;
if (sourceInfo_ != null) {
subBuilder = sourceInfo_.toBuilder();
}
sourceInfo_ = input.readMessage(com.volcengine.service.vod.model.business.VodSourceInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sourceInfo_);
sourceInfo_ = subBuilder.buildPartial();
}
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
callbackArgs_ = 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.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodURLSet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodURLSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodURLSet.class, com.volcengine.service.vod.model.business.VodURLSet.Builder.class);
}
public static final int REQUESTID_FIELD_NUMBER = 1;
private volatile java.lang.Object requestId_;
/**
*
* 请求 Id,用于日志查询
*
*
* string RequestId = 1;
* @return The requestId.
*/
@java.lang.Override
public java.lang.String getRequestId() {
java.lang.Object ref = requestId_;
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();
requestId_ = s;
return s;
}
}
/**
*
* 请求 Id,用于日志查询
*
*
* string RequestId = 1;
* @return The bytes for requestId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestIdBytes() {
java.lang.Object ref = requestId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOBID_FIELD_NUMBER = 2;
private volatile java.lang.Object jobId_;
/**
*
* JobId,用于查询 URL 上传状态
*
*
* string JobId = 2;
* @return The jobId.
*/
@java.lang.Override
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
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();
jobId_ = s;
return s;
}
}
/**
*
* JobId,用于查询 URL 上传状态
*
*
* string JobId = 2;
* @return The bytes for jobId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getJobIdBytes() {
java.lang.Object ref = jobId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCEURL_FIELD_NUMBER = 3;
private volatile java.lang.Object sourceUrl_;
/**
*
* 用户上传的Url
*
*
* string SourceUrl = 3;
* @return The sourceUrl.
*/
@java.lang.Override
public java.lang.String getSourceUrl() {
java.lang.Object ref = sourceUrl_;
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();
sourceUrl_ = s;
return s;
}
}
/**
*
* 用户上传的Url
*
*
* string SourceUrl = 3;
* @return The bytes for sourceUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourceUrlBytes() {
java.lang.Object ref = sourceUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATE_FIELD_NUMBER = 4;
private volatile java.lang.Object state_;
/**
*
* Url 的上传状态,init,process,success,fail
*
*
* string State = 4;
* @return The state.
*/
@java.lang.Override
public java.lang.String getState() {
java.lang.Object ref = state_;
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();
state_ = s;
return s;
}
}
/**
*
* Url 的上传状态,init,process,success,fail
*
*
* string State = 4;
* @return The bytes for state.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VID_FIELD_NUMBER = 5;
private volatile java.lang.Object vid_;
/**
*
* 视频 id
*
*
* string Vid = 5;
* @return The vid.
*/
@java.lang.Override
public java.lang.String getVid() {
java.lang.Object ref = vid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vid_ = s;
return s;
}
}
/**
*
* 视频 id
*
*
* string Vid = 5;
* @return The bytes for vid.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVidBytes() {
java.lang.Object ref = vid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SPACENAME_FIELD_NUMBER = 6;
private volatile java.lang.Object spaceName_;
/**
*
* 上传的空间
*
*
* string SpaceName = 6;
* @return The spaceName.
*/
@java.lang.Override
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
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();
spaceName_ = s;
return s;
}
}
/**
*
* 上传的空间
*
*
* string SpaceName = 6;
* @return The bytes for spaceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCOUNTID_FIELD_NUMBER = 7;
private volatile java.lang.Object accountId_;
/**
*
* 用户账号的 Id
*
*
* string AccountId = 7;
* @return The accountId.
*/
@java.lang.Override
public java.lang.String getAccountId() {
java.lang.Object ref = accountId_;
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();
accountId_ = s;
return s;
}
}
/**
*
* 用户账号的 Id
*
*
* string AccountId = 7;
* @return The bytes for accountId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountIdBytes() {
java.lang.Object ref = accountId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SOURCEINFO_FIELD_NUMBER = 8;
private com.volcengine.service.vod.model.business.VodSourceInfo sourceInfo_;
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
* @return Whether the sourceInfo field is set.
*/
@java.lang.Override
public boolean hasSourceInfo() {
return sourceInfo_ != null;
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
* @return The sourceInfo.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodSourceInfo getSourceInfo() {
return sourceInfo_ == null ? com.volcengine.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_;
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder getSourceInfoOrBuilder() {
return getSourceInfo();
}
public static final int CALLBACKARGS_FIELD_NUMBER = 9;
private volatile java.lang.Object callbackArgs_;
/**
*
* 用户透传信息
*
*
* string CallbackArgs = 9;
* @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 = 9;
* @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;
}
}
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(requestId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceUrl_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sourceUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, state_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, vid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, accountId_);
}
if (sourceInfo_ != null) {
output.writeMessage(8, getSourceInfo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, callbackArgs_);
}
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(requestId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceUrl_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceUrl_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, state_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vid_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, vid_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spaceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, spaceName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accountId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, accountId_);
}
if (sourceInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getSourceInfo());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(callbackArgs_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, callbackArgs_);
}
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.VodURLSet)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodURLSet other = (com.volcengine.service.vod.model.business.VodURLSet) obj;
if (!getRequestId()
.equals(other.getRequestId())) return false;
if (!getJobId()
.equals(other.getJobId())) return false;
if (!getSourceUrl()
.equals(other.getSourceUrl())) return false;
if (!getState()
.equals(other.getState())) return false;
if (!getVid()
.equals(other.getVid())) return false;
if (!getSpaceName()
.equals(other.getSpaceName())) return false;
if (!getAccountId()
.equals(other.getAccountId())) return false;
if (hasSourceInfo() != other.hasSourceInfo()) return false;
if (hasSourceInfo()) {
if (!getSourceInfo()
.equals(other.getSourceInfo())) return false;
}
if (!getCallbackArgs()
.equals(other.getCallbackArgs())) 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) + REQUESTID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId().hashCode();
hash = (37 * hash) + JOBID_FIELD_NUMBER;
hash = (53 * hash) + getJobId().hashCode();
hash = (37 * hash) + SOURCEURL_FIELD_NUMBER;
hash = (53 * hash) + getSourceUrl().hashCode();
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + getState().hashCode();
hash = (37 * hash) + VID_FIELD_NUMBER;
hash = (53 * hash) + getVid().hashCode();
hash = (37 * hash) + SPACENAME_FIELD_NUMBER;
hash = (53 * hash) + getSpaceName().hashCode();
hash = (37 * hash) + ACCOUNTID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId().hashCode();
if (hasSourceInfo()) {
hash = (37 * hash) + SOURCEINFO_FIELD_NUMBER;
hash = (53 * hash) + getSourceInfo().hashCode();
}
hash = (37 * hash) + CALLBACKARGS_FIELD_NUMBER;
hash = (53 * hash) + getCallbackArgs().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodURLSet parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodURLSet 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.VodURLSet parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodURLSet 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.VodURLSet parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodURLSet 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.VodURLSet 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.VodURLSet 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.VodURLSet 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.VodURLSet 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.VodURLSet 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.VodURLSet 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.VodURLSet 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.VodURLSet}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodURLSet)
com.volcengine.service.vod.model.business.VodURLSetOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodURLSet_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodURLSet_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodURLSet.class, com.volcengine.service.vod.model.business.VodURLSet.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodURLSet.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();
requestId_ = "";
jobId_ = "";
sourceUrl_ = "";
state_ = "";
vid_ = "";
spaceName_ = "";
accountId_ = "";
if (sourceInfoBuilder_ == null) {
sourceInfo_ = null;
} else {
sourceInfo_ = null;
sourceInfoBuilder_ = null;
}
callbackArgs_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodUpload.internal_static_Volcengine_Vod_Models_Business_VodURLSet_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodURLSet getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodURLSet.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodURLSet build() {
com.volcengine.service.vod.model.business.VodURLSet result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodURLSet buildPartial() {
com.volcengine.service.vod.model.business.VodURLSet result = new com.volcengine.service.vod.model.business.VodURLSet(this);
result.requestId_ = requestId_;
result.jobId_ = jobId_;
result.sourceUrl_ = sourceUrl_;
result.state_ = state_;
result.vid_ = vid_;
result.spaceName_ = spaceName_;
result.accountId_ = accountId_;
if (sourceInfoBuilder_ == null) {
result.sourceInfo_ = sourceInfo_;
} else {
result.sourceInfo_ = sourceInfoBuilder_.build();
}
result.callbackArgs_ = callbackArgs_;
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.VodURLSet) {
return mergeFrom((com.volcengine.service.vod.model.business.VodURLSet)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodURLSet other) {
if (other == com.volcengine.service.vod.model.business.VodURLSet.getDefaultInstance()) return this;
if (!other.getRequestId().isEmpty()) {
requestId_ = other.requestId_;
onChanged();
}
if (!other.getJobId().isEmpty()) {
jobId_ = other.jobId_;
onChanged();
}
if (!other.getSourceUrl().isEmpty()) {
sourceUrl_ = other.sourceUrl_;
onChanged();
}
if (!other.getState().isEmpty()) {
state_ = other.state_;
onChanged();
}
if (!other.getVid().isEmpty()) {
vid_ = other.vid_;
onChanged();
}
if (!other.getSpaceName().isEmpty()) {
spaceName_ = other.spaceName_;
onChanged();
}
if (!other.getAccountId().isEmpty()) {
accountId_ = other.accountId_;
onChanged();
}
if (other.hasSourceInfo()) {
mergeSourceInfo(other.getSourceInfo());
}
if (!other.getCallbackArgs().isEmpty()) {
callbackArgs_ = other.callbackArgs_;
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.VodURLSet parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodURLSet) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object requestId_ = "";
/**
*
* 请求 Id,用于日志查询
*
*
* string RequestId = 1;
* @return The requestId.
*/
public java.lang.String getRequestId() {
java.lang.Object ref = requestId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
requestId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 请求 Id,用于日志查询
*
*
* string RequestId = 1;
* @return The bytes for requestId.
*/
public com.google.protobuf.ByteString
getRequestIdBytes() {
java.lang.Object ref = requestId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 请求 Id,用于日志查询
*
*
* string RequestId = 1;
* @param value The requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
requestId_ = value;
onChanged();
return this;
}
/**
*
* 请求 Id,用于日志查询
*
*
* string RequestId = 1;
* @return This builder for chaining.
*/
public Builder clearRequestId() {
requestId_ = getDefaultInstance().getRequestId();
onChanged();
return this;
}
/**
*
* 请求 Id,用于日志查询
*
*
* string RequestId = 1;
* @param value The bytes for requestId to set.
* @return This builder for chaining.
*/
public Builder setRequestIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
requestId_ = value;
onChanged();
return this;
}
private java.lang.Object jobId_ = "";
/**
*
* JobId,用于查询 URL 上传状态
*
*
* string JobId = 2;
* @return The jobId.
*/
public java.lang.String getJobId() {
java.lang.Object ref = jobId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* JobId,用于查询 URL 上传状态
*
*
* string JobId = 2;
* @return The bytes for jobId.
*/
public com.google.protobuf.ByteString
getJobIdBytes() {
java.lang.Object ref = jobId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
jobId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* JobId,用于查询 URL 上传状态
*
*
* string JobId = 2;
* @param value The jobId to set.
* @return This builder for chaining.
*/
public Builder setJobId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
jobId_ = value;
onChanged();
return this;
}
/**
*
* JobId,用于查询 URL 上传状态
*
*
* string JobId = 2;
* @return This builder for chaining.
*/
public Builder clearJobId() {
jobId_ = getDefaultInstance().getJobId();
onChanged();
return this;
}
/**
*
* JobId,用于查询 URL 上传状态
*
*
* string JobId = 2;
* @param value The bytes for jobId to set.
* @return This builder for chaining.
*/
public Builder setJobIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
jobId_ = value;
onChanged();
return this;
}
private java.lang.Object sourceUrl_ = "";
/**
*
* 用户上传的Url
*
*
* string SourceUrl = 3;
* @return The sourceUrl.
*/
public java.lang.String getSourceUrl() {
java.lang.Object ref = sourceUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sourceUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 用户上传的Url
*
*
* string SourceUrl = 3;
* @return The bytes for sourceUrl.
*/
public com.google.protobuf.ByteString
getSourceUrlBytes() {
java.lang.Object ref = sourceUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourceUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 用户上传的Url
*
*
* string SourceUrl = 3;
* @param value The sourceUrl to set.
* @return This builder for chaining.
*/
public Builder setSourceUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sourceUrl_ = value;
onChanged();
return this;
}
/**
*
* 用户上传的Url
*
*
* string SourceUrl = 3;
* @return This builder for chaining.
*/
public Builder clearSourceUrl() {
sourceUrl_ = getDefaultInstance().getSourceUrl();
onChanged();
return this;
}
/**
*
* 用户上传的Url
*
*
* string SourceUrl = 3;
* @param value The bytes for sourceUrl to set.
* @return This builder for chaining.
*/
public Builder setSourceUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sourceUrl_ = value;
onChanged();
return this;
}
private java.lang.Object state_ = "";
/**
*
* Url 的上传状态,init,process,success,fail
*
*
* string State = 4;
* @return The state.
*/
public java.lang.String getState() {
java.lang.Object ref = state_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
state_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Url 的上传状态,init,process,success,fail
*
*
* string State = 4;
* @return The bytes for state.
*/
public com.google.protobuf.ByteString
getStateBytes() {
java.lang.Object ref = state_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
state_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Url 的上传状态,init,process,success,fail
*
*
* string State = 4;
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
state_ = value;
onChanged();
return this;
}
/**
*
* Url 的上传状态,init,process,success,fail
*
*
* string State = 4;
* @return This builder for chaining.
*/
public Builder clearState() {
state_ = getDefaultInstance().getState();
onChanged();
return this;
}
/**
*
* Url 的上传状态,init,process,success,fail
*
*
* string State = 4;
* @param value The bytes for state to set.
* @return This builder for chaining.
*/
public Builder setStateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
state_ = value;
onChanged();
return this;
}
private java.lang.Object vid_ = "";
/**
*
* 视频 id
*
*
* string Vid = 5;
* @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 = 5;
* @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 = 5;
* @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 = 5;
* @return This builder for chaining.
*/
public Builder clearVid() {
vid_ = getDefaultInstance().getVid();
onChanged();
return this;
}
/**
*
* 视频 id
*
*
* string Vid = 5;
* @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 spaceName_ = "";
/**
*
* 上传的空间
*
*
* string SpaceName = 6;
* @return The spaceName.
*/
public java.lang.String getSpaceName() {
java.lang.Object ref = spaceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
spaceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 上传的空间
*
*
* string SpaceName = 6;
* @return The bytes for spaceName.
*/
public com.google.protobuf.ByteString
getSpaceNameBytes() {
java.lang.Object ref = spaceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
spaceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 上传的空间
*
*
* string SpaceName = 6;
* @param value The spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
spaceName_ = value;
onChanged();
return this;
}
/**
*
* 上传的空间
*
*
* string SpaceName = 6;
* @return This builder for chaining.
*/
public Builder clearSpaceName() {
spaceName_ = getDefaultInstance().getSpaceName();
onChanged();
return this;
}
/**
*
* 上传的空间
*
*
* string SpaceName = 6;
* @param value The bytes for spaceName to set.
* @return This builder for chaining.
*/
public Builder setSpaceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
spaceName_ = value;
onChanged();
return this;
}
private java.lang.Object accountId_ = "";
/**
*
* 用户账号的 Id
*
*
* string AccountId = 7;
* @return The accountId.
*/
public java.lang.String getAccountId() {
java.lang.Object ref = accountId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 用户账号的 Id
*
*
* string AccountId = 7;
* @return The bytes for accountId.
*/
public com.google.protobuf.ByteString
getAccountIdBytes() {
java.lang.Object ref = accountId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 用户账号的 Id
*
*
* string AccountId = 7;
* @param value The accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accountId_ = value;
onChanged();
return this;
}
/**
*
* 用户账号的 Id
*
*
* string AccountId = 7;
* @return This builder for chaining.
*/
public Builder clearAccountId() {
accountId_ = getDefaultInstance().getAccountId();
onChanged();
return this;
}
/**
*
* 用户账号的 Id
*
*
* string AccountId = 7;
* @param value The bytes for accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accountId_ = value;
onChanged();
return this;
}
private com.volcengine.service.vod.model.business.VodSourceInfo sourceInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.VodSourceInfo, com.volcengine.service.vod.model.business.VodSourceInfo.Builder, com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder> sourceInfoBuilder_;
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
* @return Whether the sourceInfo field is set.
*/
public boolean hasSourceInfo() {
return sourceInfoBuilder_ != null || sourceInfo_ != null;
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
* @return The sourceInfo.
*/
public com.volcengine.service.vod.model.business.VodSourceInfo getSourceInfo() {
if (sourceInfoBuilder_ == null) {
return sourceInfo_ == null ? com.volcengine.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_;
} else {
return sourceInfoBuilder_.getMessage();
}
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
*/
public Builder setSourceInfo(com.volcengine.service.vod.model.business.VodSourceInfo value) {
if (sourceInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sourceInfo_ = value;
onChanged();
} else {
sourceInfoBuilder_.setMessage(value);
}
return this;
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
*/
public Builder setSourceInfo(
com.volcengine.service.vod.model.business.VodSourceInfo.Builder builderForValue) {
if (sourceInfoBuilder_ == null) {
sourceInfo_ = builderForValue.build();
onChanged();
} else {
sourceInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
*/
public Builder mergeSourceInfo(com.volcengine.service.vod.model.business.VodSourceInfo value) {
if (sourceInfoBuilder_ == null) {
if (sourceInfo_ != null) {
sourceInfo_ =
com.volcengine.service.vod.model.business.VodSourceInfo.newBuilder(sourceInfo_).mergeFrom(value).buildPartial();
} else {
sourceInfo_ = value;
}
onChanged();
} else {
sourceInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
*/
public Builder clearSourceInfo() {
if (sourceInfoBuilder_ == null) {
sourceInfo_ = null;
onChanged();
} else {
sourceInfo_ = null;
sourceInfoBuilder_ = null;
}
return this;
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
*/
public com.volcengine.service.vod.model.business.VodSourceInfo.Builder getSourceInfoBuilder() {
onChanged();
return getSourceInfoFieldBuilder().getBuilder();
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
*/
public com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder getSourceInfoOrBuilder() {
if (sourceInfoBuilder_ != null) {
return sourceInfoBuilder_.getMessageOrBuilder();
} else {
return sourceInfo_ == null ?
com.volcengine.service.vod.model.business.VodSourceInfo.getDefaultInstance() : sourceInfo_;
}
}
/**
*
* 视频的元信息
*
*
* .Volcengine.Vod.Models.Business.VodSourceInfo SourceInfo = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.VodSourceInfo, com.volcengine.service.vod.model.business.VodSourceInfo.Builder, com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder>
getSourceInfoFieldBuilder() {
if (sourceInfoBuilder_ == null) {
sourceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.VodSourceInfo, com.volcengine.service.vod.model.business.VodSourceInfo.Builder, com.volcengine.service.vod.model.business.VodSourceInfoOrBuilder>(
getSourceInfo(),
getParentForChildren(),
isClean());
sourceInfo_ = null;
}
return sourceInfoBuilder_;
}
private java.lang.Object callbackArgs_ = "";
/**
*
* 用户透传信息
*
*
* string CallbackArgs = 9;
* @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 = 9;
* @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 = 9;
* @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 = 9;
* @return This builder for chaining.
*/
public Builder clearCallbackArgs() {
callbackArgs_ = getDefaultInstance().getCallbackArgs();
onChanged();
return this;
}
/**
*
* 用户透传信息
*
*
* string CallbackArgs = 9;
* @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;
}
@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.VodURLSet)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodURLSet)
private static final com.volcengine.service.vod.model.business.VodURLSet DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodURLSet();
}
public static com.volcengine.service.vod.model.business.VodURLSet getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodURLSet parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodURLSet(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.VodURLSet getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy