com.volcengine.service.vod.model.business.Activity 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_workflow.proto
package com.volcengine.service.vod.model.business;
/**
* Protobuf type {@code Volcengine.Vod.Models.Business.Activity}
*/
public final class Activity extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.Activity)
ActivityOrBuilder {
private static final long serialVersionUID = 0L;
// Use Activity.newBuilder() to construct.
private Activity(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Activity() {
activityId_ = "";
name_ = "";
description_ = "";
type_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Activity();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Activity(
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();
activityId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
type_ = s;
break;
}
case 98: {
com.volcengine.service.vod.model.business.SnapshotActivity.Builder subBuilder = null;
if (snapshotActivity_ != null) {
subBuilder = snapshotActivity_.toBuilder();
}
snapshotActivity_ = input.readMessage(com.volcengine.service.vod.model.business.SnapshotActivity.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(snapshotActivity_);
snapshotActivity_ = subBuilder.buildPartial();
}
break;
}
case 154: {
com.volcengine.service.vod.model.business.EndActivity.Builder subBuilder = null;
if (endActivity_ != null) {
subBuilder = endActivity_.toBuilder();
}
endActivity_ = input.readMessage(com.volcengine.service.vod.model.business.EndActivity.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(endActivity_);
endActivity_ = subBuilder.buildPartial();
}
break;
}
case 186: {
com.volcengine.service.vod.model.business.TranscodeActivity.Builder subBuilder = null;
if (transcodeActivity_ != null) {
subBuilder = transcodeActivity_.toBuilder();
}
transcodeActivity_ = input.readMessage(com.volcengine.service.vod.model.business.TranscodeActivity.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(transcodeActivity_);
transcodeActivity_ = subBuilder.buildPartial();
}
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.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_Activity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_Activity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.Activity.class, com.volcengine.service.vod.model.business.Activity.Builder.class);
}
public static final int ACTIVITYID_FIELD_NUMBER = 1;
private volatile java.lang.Object activityId_;
/**
*
* 任务Id
*
*
* string ActivityId = 1;
* @return The activityId.
*/
@java.lang.Override
public java.lang.String getActivityId() {
java.lang.Object ref = activityId_;
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();
activityId_ = s;
return s;
}
}
/**
*
* 任务Id
*
*
* string ActivityId = 1;
* @return The bytes for activityId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getActivityIdBytes() {
java.lang.Object ref = activityId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
activityId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
*
* 任务名称
*
*
* string Name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
*
* 任务名称
*
*
* string Name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 3;
private volatile java.lang.Object description_;
/**
*
* 任务描述
*
*
* string Description = 3;
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
*
* 任务描述
*
*
* string Description = 3;
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 4;
private volatile java.lang.Object type_;
/**
*
* 任务类型,支持Transcode|Snapshot|End
*
*
* string Type = 4;
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
java.lang.Object ref = type_;
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();
type_ = s;
return s;
}
}
/**
*
* 任务类型,支持Transcode|Snapshot|End
*
*
* string Type = 4;
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SNAPSHOTACTIVITY_FIELD_NUMBER = 12;
private com.volcengine.service.vod.model.business.SnapshotActivity snapshotActivity_;
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
* @return Whether the snapshotActivity field is set.
*/
@java.lang.Override
public boolean hasSnapshotActivity() {
return snapshotActivity_ != null;
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
* @return The snapshotActivity.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.SnapshotActivity getSnapshotActivity() {
return snapshotActivity_ == null ? com.volcengine.service.vod.model.business.SnapshotActivity.getDefaultInstance() : snapshotActivity_;
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.SnapshotActivityOrBuilder getSnapshotActivityOrBuilder() {
return getSnapshotActivity();
}
public static final int ENDACTIVITY_FIELD_NUMBER = 19;
private com.volcengine.service.vod.model.business.EndActivity endActivity_;
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
* @return Whether the endActivity field is set.
*/
@java.lang.Override
public boolean hasEndActivity() {
return endActivity_ != null;
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
* @return The endActivity.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.EndActivity getEndActivity() {
return endActivity_ == null ? com.volcengine.service.vod.model.business.EndActivity.getDefaultInstance() : endActivity_;
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.EndActivityOrBuilder getEndActivityOrBuilder() {
return getEndActivity();
}
public static final int TRANSCODEACTIVITY_FIELD_NUMBER = 23;
private com.volcengine.service.vod.model.business.TranscodeActivity transcodeActivity_;
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
* @return Whether the transcodeActivity field is set.
*/
@java.lang.Override
public boolean hasTranscodeActivity() {
return transcodeActivity_ != null;
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
* @return The transcodeActivity.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeActivity getTranscodeActivity() {
return transcodeActivity_ == null ? com.volcengine.service.vod.model.business.TranscodeActivity.getDefaultInstance() : transcodeActivity_;
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.TranscodeActivityOrBuilder getTranscodeActivityOrBuilder() {
return getTranscodeActivity();
}
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(activityId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, activityId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, type_);
}
if (snapshotActivity_ != null) {
output.writeMessage(12, getSnapshotActivity());
}
if (endActivity_ != null) {
output.writeMessage(19, getEndActivity());
}
if (transcodeActivity_ != null) {
output.writeMessage(23, getTranscodeActivity());
}
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(activityId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, activityId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, type_);
}
if (snapshotActivity_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getSnapshotActivity());
}
if (endActivity_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, getEndActivity());
}
if (transcodeActivity_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, getTranscodeActivity());
}
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.Activity)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.Activity other = (com.volcengine.service.vod.model.business.Activity) obj;
if (!getActivityId()
.equals(other.getActivityId())) return false;
if (!getName()
.equals(other.getName())) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (!getType()
.equals(other.getType())) return false;
if (hasSnapshotActivity() != other.hasSnapshotActivity()) return false;
if (hasSnapshotActivity()) {
if (!getSnapshotActivity()
.equals(other.getSnapshotActivity())) return false;
}
if (hasEndActivity() != other.hasEndActivity()) return false;
if (hasEndActivity()) {
if (!getEndActivity()
.equals(other.getEndActivity())) return false;
}
if (hasTranscodeActivity() != other.hasTranscodeActivity()) return false;
if (hasTranscodeActivity()) {
if (!getTranscodeActivity()
.equals(other.getTranscodeActivity())) 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) + ACTIVITYID_FIELD_NUMBER;
hash = (53 * hash) + getActivityId().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
if (hasSnapshotActivity()) {
hash = (37 * hash) + SNAPSHOTACTIVITY_FIELD_NUMBER;
hash = (53 * hash) + getSnapshotActivity().hashCode();
}
if (hasEndActivity()) {
hash = (37 * hash) + ENDACTIVITY_FIELD_NUMBER;
hash = (53 * hash) + getEndActivity().hashCode();
}
if (hasTranscodeActivity()) {
hash = (37 * hash) + TRANSCODEACTIVITY_FIELD_NUMBER;
hash = (53 * hash) + getTranscodeActivity().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.Activity parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.Activity 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.Activity parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.Activity 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.Activity parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.Activity 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.Activity 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.Activity 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.Activity 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.Activity 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.Activity 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.Activity 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.Activity 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.Activity}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.Activity)
com.volcengine.service.vod.model.business.ActivityOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_Activity_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_Activity_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.Activity.class, com.volcengine.service.vod.model.business.Activity.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.Activity.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();
activityId_ = "";
name_ = "";
description_ = "";
type_ = "";
if (snapshotActivityBuilder_ == null) {
snapshotActivity_ = null;
} else {
snapshotActivity_ = null;
snapshotActivityBuilder_ = null;
}
if (endActivityBuilder_ == null) {
endActivity_ = null;
} else {
endActivity_ = null;
endActivityBuilder_ = null;
}
if (transcodeActivityBuilder_ == null) {
transcodeActivity_ = null;
} else {
transcodeActivity_ = null;
transcodeActivityBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_Activity_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.Activity getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.Activity.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.Activity build() {
com.volcengine.service.vod.model.business.Activity result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.Activity buildPartial() {
com.volcengine.service.vod.model.business.Activity result = new com.volcengine.service.vod.model.business.Activity(this);
result.activityId_ = activityId_;
result.name_ = name_;
result.description_ = description_;
result.type_ = type_;
if (snapshotActivityBuilder_ == null) {
result.snapshotActivity_ = snapshotActivity_;
} else {
result.snapshotActivity_ = snapshotActivityBuilder_.build();
}
if (endActivityBuilder_ == null) {
result.endActivity_ = endActivity_;
} else {
result.endActivity_ = endActivityBuilder_.build();
}
if (transcodeActivityBuilder_ == null) {
result.transcodeActivity_ = transcodeActivity_;
} else {
result.transcodeActivity_ = transcodeActivityBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.volcengine.service.vod.model.business.Activity) {
return mergeFrom((com.volcengine.service.vod.model.business.Activity)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.Activity other) {
if (other == com.volcengine.service.vod.model.business.Activity.getDefaultInstance()) return this;
if (!other.getActivityId().isEmpty()) {
activityId_ = other.activityId_;
onChanged();
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (!other.getType().isEmpty()) {
type_ = other.type_;
onChanged();
}
if (other.hasSnapshotActivity()) {
mergeSnapshotActivity(other.getSnapshotActivity());
}
if (other.hasEndActivity()) {
mergeEndActivity(other.getEndActivity());
}
if (other.hasTranscodeActivity()) {
mergeTranscodeActivity(other.getTranscodeActivity());
}
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.Activity parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.Activity) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object activityId_ = "";
/**
*
* 任务Id
*
*
* string ActivityId = 1;
* @return The activityId.
*/
public java.lang.String getActivityId() {
java.lang.Object ref = activityId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
activityId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 任务Id
*
*
* string ActivityId = 1;
* @return The bytes for activityId.
*/
public com.google.protobuf.ByteString
getActivityIdBytes() {
java.lang.Object ref = activityId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
activityId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 任务Id
*
*
* string ActivityId = 1;
* @param value The activityId to set.
* @return This builder for chaining.
*/
public Builder setActivityId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
activityId_ = value;
onChanged();
return this;
}
/**
*
* 任务Id
*
*
* string ActivityId = 1;
* @return This builder for chaining.
*/
public Builder clearActivityId() {
activityId_ = getDefaultInstance().getActivityId();
onChanged();
return this;
}
/**
*
* 任务Id
*
*
* string ActivityId = 1;
* @param value The bytes for activityId to set.
* @return This builder for chaining.
*/
public Builder setActivityIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
activityId_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
*
* 任务名称
*
*
* string Name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 任务名称
*
*
* string Name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 任务名称
*
*
* string Name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* 任务名称
*
*
* string Name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* 任务名称
*
*
* string Name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
*
* 任务描述
*
*
* string Description = 3;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 任务描述
*
*
* string Description = 3;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 任务描述
*
*
* string Description = 3;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
*
* 任务描述
*
*
* string Description = 3;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
*
* 任务描述
*
*
* string Description = 3;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private java.lang.Object type_ = "";
/**
*
* 任务类型,支持Transcode|Snapshot|End
*
*
* string Type = 4;
* @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 任务类型,支持Transcode|Snapshot|End
*
*
* string Type = 4;
* @return The bytes for type.
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 任务类型,支持Transcode|Snapshot|End
*
*
* string Type = 4;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
return this;
}
/**
*
* 任务类型,支持Transcode|Snapshot|End
*
*
* string Type = 4;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
*
* 任务类型,支持Transcode|Snapshot|End
*
*
* string Type = 4;
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
type_ = value;
onChanged();
return this;
}
private com.volcengine.service.vod.model.business.SnapshotActivity snapshotActivity_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SnapshotActivity, com.volcengine.service.vod.model.business.SnapshotActivity.Builder, com.volcengine.service.vod.model.business.SnapshotActivityOrBuilder> snapshotActivityBuilder_;
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
* @return Whether the snapshotActivity field is set.
*/
public boolean hasSnapshotActivity() {
return snapshotActivityBuilder_ != null || snapshotActivity_ != null;
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
* @return The snapshotActivity.
*/
public com.volcengine.service.vod.model.business.SnapshotActivity getSnapshotActivity() {
if (snapshotActivityBuilder_ == null) {
return snapshotActivity_ == null ? com.volcengine.service.vod.model.business.SnapshotActivity.getDefaultInstance() : snapshotActivity_;
} else {
return snapshotActivityBuilder_.getMessage();
}
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
*/
public Builder setSnapshotActivity(com.volcengine.service.vod.model.business.SnapshotActivity value) {
if (snapshotActivityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
snapshotActivity_ = value;
onChanged();
} else {
snapshotActivityBuilder_.setMessage(value);
}
return this;
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
*/
public Builder setSnapshotActivity(
com.volcengine.service.vod.model.business.SnapshotActivity.Builder builderForValue) {
if (snapshotActivityBuilder_ == null) {
snapshotActivity_ = builderForValue.build();
onChanged();
} else {
snapshotActivityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
*/
public Builder mergeSnapshotActivity(com.volcengine.service.vod.model.business.SnapshotActivity value) {
if (snapshotActivityBuilder_ == null) {
if (snapshotActivity_ != null) {
snapshotActivity_ =
com.volcengine.service.vod.model.business.SnapshotActivity.newBuilder(snapshotActivity_).mergeFrom(value).buildPartial();
} else {
snapshotActivity_ = value;
}
onChanged();
} else {
snapshotActivityBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
*/
public Builder clearSnapshotActivity() {
if (snapshotActivityBuilder_ == null) {
snapshotActivity_ = null;
onChanged();
} else {
snapshotActivity_ = null;
snapshotActivityBuilder_ = null;
}
return this;
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
*/
public com.volcengine.service.vod.model.business.SnapshotActivity.Builder getSnapshotActivityBuilder() {
onChanged();
return getSnapshotActivityFieldBuilder().getBuilder();
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
*/
public com.volcengine.service.vod.model.business.SnapshotActivityOrBuilder getSnapshotActivityOrBuilder() {
if (snapshotActivityBuilder_ != null) {
return snapshotActivityBuilder_.getMessageOrBuilder();
} else {
return snapshotActivity_ == null ?
com.volcengine.service.vod.model.business.SnapshotActivity.getDefaultInstance() : snapshotActivity_;
}
}
/**
*
* 截图任务
*
*
* .Volcengine.Vod.Models.Business.SnapshotActivity SnapshotActivity = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SnapshotActivity, com.volcengine.service.vod.model.business.SnapshotActivity.Builder, com.volcengine.service.vod.model.business.SnapshotActivityOrBuilder>
getSnapshotActivityFieldBuilder() {
if (snapshotActivityBuilder_ == null) {
snapshotActivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SnapshotActivity, com.volcengine.service.vod.model.business.SnapshotActivity.Builder, com.volcengine.service.vod.model.business.SnapshotActivityOrBuilder>(
getSnapshotActivity(),
getParentForChildren(),
isClean());
snapshotActivity_ = null;
}
return snapshotActivityBuilder_;
}
private com.volcengine.service.vod.model.business.EndActivity endActivity_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.EndActivity, com.volcengine.service.vod.model.business.EndActivity.Builder, com.volcengine.service.vod.model.business.EndActivityOrBuilder> endActivityBuilder_;
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
* @return Whether the endActivity field is set.
*/
public boolean hasEndActivity() {
return endActivityBuilder_ != null || endActivity_ != null;
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
* @return The endActivity.
*/
public com.volcengine.service.vod.model.business.EndActivity getEndActivity() {
if (endActivityBuilder_ == null) {
return endActivity_ == null ? com.volcengine.service.vod.model.business.EndActivity.getDefaultInstance() : endActivity_;
} else {
return endActivityBuilder_.getMessage();
}
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
*/
public Builder setEndActivity(com.volcengine.service.vod.model.business.EndActivity value) {
if (endActivityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endActivity_ = value;
onChanged();
} else {
endActivityBuilder_.setMessage(value);
}
return this;
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
*/
public Builder setEndActivity(
com.volcengine.service.vod.model.business.EndActivity.Builder builderForValue) {
if (endActivityBuilder_ == null) {
endActivity_ = builderForValue.build();
onChanged();
} else {
endActivityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
*/
public Builder mergeEndActivity(com.volcengine.service.vod.model.business.EndActivity value) {
if (endActivityBuilder_ == null) {
if (endActivity_ != null) {
endActivity_ =
com.volcengine.service.vod.model.business.EndActivity.newBuilder(endActivity_).mergeFrom(value).buildPartial();
} else {
endActivity_ = value;
}
onChanged();
} else {
endActivityBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
*/
public Builder clearEndActivity() {
if (endActivityBuilder_ == null) {
endActivity_ = null;
onChanged();
} else {
endActivity_ = null;
endActivityBuilder_ = null;
}
return this;
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
*/
public com.volcengine.service.vod.model.business.EndActivity.Builder getEndActivityBuilder() {
onChanged();
return getEndActivityFieldBuilder().getBuilder();
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
*/
public com.volcengine.service.vod.model.business.EndActivityOrBuilder getEndActivityOrBuilder() {
if (endActivityBuilder_ != null) {
return endActivityBuilder_.getMessageOrBuilder();
} else {
return endActivity_ == null ?
com.volcengine.service.vod.model.business.EndActivity.getDefaultInstance() : endActivity_;
}
}
/**
*
* 自动发布
*
*
* .Volcengine.Vod.Models.Business.EndActivity EndActivity = 19;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.EndActivity, com.volcengine.service.vod.model.business.EndActivity.Builder, com.volcengine.service.vod.model.business.EndActivityOrBuilder>
getEndActivityFieldBuilder() {
if (endActivityBuilder_ == null) {
endActivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.EndActivity, com.volcengine.service.vod.model.business.EndActivity.Builder, com.volcengine.service.vod.model.business.EndActivityOrBuilder>(
getEndActivity(),
getParentForChildren(),
isClean());
endActivity_ = null;
}
return endActivityBuilder_;
}
private com.volcengine.service.vod.model.business.TranscodeActivity transcodeActivity_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.TranscodeActivity, com.volcengine.service.vod.model.business.TranscodeActivity.Builder, com.volcengine.service.vod.model.business.TranscodeActivityOrBuilder> transcodeActivityBuilder_;
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
* @return Whether the transcodeActivity field is set.
*/
public boolean hasTranscodeActivity() {
return transcodeActivityBuilder_ != null || transcodeActivity_ != null;
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
* @return The transcodeActivity.
*/
public com.volcengine.service.vod.model.business.TranscodeActivity getTranscodeActivity() {
if (transcodeActivityBuilder_ == null) {
return transcodeActivity_ == null ? com.volcengine.service.vod.model.business.TranscodeActivity.getDefaultInstance() : transcodeActivity_;
} else {
return transcodeActivityBuilder_.getMessage();
}
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
*/
public Builder setTranscodeActivity(com.volcengine.service.vod.model.business.TranscodeActivity value) {
if (transcodeActivityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transcodeActivity_ = value;
onChanged();
} else {
transcodeActivityBuilder_.setMessage(value);
}
return this;
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
*/
public Builder setTranscodeActivity(
com.volcengine.service.vod.model.business.TranscodeActivity.Builder builderForValue) {
if (transcodeActivityBuilder_ == null) {
transcodeActivity_ = builderForValue.build();
onChanged();
} else {
transcodeActivityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
*/
public Builder mergeTranscodeActivity(com.volcengine.service.vod.model.business.TranscodeActivity value) {
if (transcodeActivityBuilder_ == null) {
if (transcodeActivity_ != null) {
transcodeActivity_ =
com.volcengine.service.vod.model.business.TranscodeActivity.newBuilder(transcodeActivity_).mergeFrom(value).buildPartial();
} else {
transcodeActivity_ = value;
}
onChanged();
} else {
transcodeActivityBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
*/
public Builder clearTranscodeActivity() {
if (transcodeActivityBuilder_ == null) {
transcodeActivity_ = null;
onChanged();
} else {
transcodeActivity_ = null;
transcodeActivityBuilder_ = null;
}
return this;
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
*/
public com.volcengine.service.vod.model.business.TranscodeActivity.Builder getTranscodeActivityBuilder() {
onChanged();
return getTranscodeActivityFieldBuilder().getBuilder();
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
*/
public com.volcengine.service.vod.model.business.TranscodeActivityOrBuilder getTranscodeActivityOrBuilder() {
if (transcodeActivityBuilder_ != null) {
return transcodeActivityBuilder_.getMessageOrBuilder();
} else {
return transcodeActivity_ == null ?
com.volcengine.service.vod.model.business.TranscodeActivity.getDefaultInstance() : transcodeActivity_;
}
}
/**
*
* 转码任务
*
*
* .Volcengine.Vod.Models.Business.TranscodeActivity TranscodeActivity = 23;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.TranscodeActivity, com.volcengine.service.vod.model.business.TranscodeActivity.Builder, com.volcengine.service.vod.model.business.TranscodeActivityOrBuilder>
getTranscodeActivityFieldBuilder() {
if (transcodeActivityBuilder_ == null) {
transcodeActivityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.TranscodeActivity, com.volcengine.service.vod.model.business.TranscodeActivity.Builder, com.volcengine.service.vod.model.business.TranscodeActivityOrBuilder>(
getTranscodeActivity(),
getParentForChildren(),
isClean());
transcodeActivity_ = null;
}
return transcodeActivityBuilder_;
}
@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.Activity)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.Activity)
private static final com.volcengine.service.vod.model.business.Activity DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.Activity();
}
public static com.volcengine.service.vod.model.business.Activity getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Activity parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Activity(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.Activity getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy