com.volcengine.service.vod.model.business.SnapshotTaskParams 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.SnapshotTaskParams}
*/
public final class SnapshotTaskParams extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.SnapshotTaskParams)
SnapshotTaskParamsOrBuilder {
private static final long serialVersionUID = 0L;
// Use SnapshotTaskParams.newBuilder() to construct.
private SnapshotTaskParams(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SnapshotTaskParams() {
type_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SnapshotTaskParams();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SnapshotTaskParams(
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();
type_ = s;
break;
}
case 18: {
com.volcengine.service.vod.model.business.PosterSnapshotParams.Builder subBuilder = null;
if (posterSnapshotParams_ != null) {
subBuilder = posterSnapshotParams_.toBuilder();
}
posterSnapshotParams_ = input.readMessage(com.volcengine.service.vod.model.business.PosterSnapshotParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(posterSnapshotParams_);
posterSnapshotParams_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.volcengine.service.vod.model.business.DynpostSnapshotParams.Builder subBuilder = null;
if (dynpostSnapshotParams_ != null) {
subBuilder = dynpostSnapshotParams_.toBuilder();
}
dynpostSnapshotParams_ = input.readMessage(com.volcengine.service.vod.model.business.DynpostSnapshotParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dynpostSnapshotParams_);
dynpostSnapshotParams_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.Builder subBuilder = null;
if (animatedPosterSnapshotParams_ != null) {
subBuilder = animatedPosterSnapshotParams_.toBuilder();
}
animatedPosterSnapshotParams_ = input.readMessage(com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(animatedPosterSnapshotParams_);
animatedPosterSnapshotParams_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.volcengine.service.vod.model.business.SpriteSnapshotParams.Builder subBuilder = null;
if (spriteSnapshotParams_ != null) {
subBuilder = spriteSnapshotParams_.toBuilder();
}
spriteSnapshotParams_ = input.readMessage(com.volcengine.service.vod.model.business.SpriteSnapshotParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(spriteSnapshotParams_);
spriteSnapshotParams_ = subBuilder.buildPartial();
}
break;
}
case 58: {
com.volcengine.service.vod.model.business.SampleSnapshotParams.Builder subBuilder = null;
if (sampleSnapshotParams_ != null) {
subBuilder = sampleSnapshotParams_.toBuilder();
}
sampleSnapshotParams_ = input.readMessage(com.volcengine.service.vod.model.business.SampleSnapshotParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sampleSnapshotParams_);
sampleSnapshotParams_ = 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_SnapshotTaskParams_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_SnapshotTaskParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.SnapshotTaskParams.class, com.volcengine.service.vod.model.business.SnapshotTaskParams.Builder.class);
}
public static final int TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object type_;
/**
* string Type = 1;
* @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;
}
}
/**
* string Type = 1;
* @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 POSTERSNAPSHOTPARAMS_FIELD_NUMBER = 2;
private com.volcengine.service.vod.model.business.PosterSnapshotParams posterSnapshotParams_;
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
* @return Whether the posterSnapshotParams field is set.
*/
@java.lang.Override
public boolean hasPosterSnapshotParams() {
return posterSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
* @return The posterSnapshotParams.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.PosterSnapshotParams getPosterSnapshotParams() {
return posterSnapshotParams_ == null ? com.volcengine.service.vod.model.business.PosterSnapshotParams.getDefaultInstance() : posterSnapshotParams_;
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.PosterSnapshotParamsOrBuilder getPosterSnapshotParamsOrBuilder() {
return getPosterSnapshotParams();
}
public static final int DYNPOSTSNAPSHOTPARAMS_FIELD_NUMBER = 3;
private com.volcengine.service.vod.model.business.DynpostSnapshotParams dynpostSnapshotParams_;
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
* @return Whether the dynpostSnapshotParams field is set.
*/
@java.lang.Override
public boolean hasDynpostSnapshotParams() {
return dynpostSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
* @return The dynpostSnapshotParams.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.DynpostSnapshotParams getDynpostSnapshotParams() {
return dynpostSnapshotParams_ == null ? com.volcengine.service.vod.model.business.DynpostSnapshotParams.getDefaultInstance() : dynpostSnapshotParams_;
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.DynpostSnapshotParamsOrBuilder getDynpostSnapshotParamsOrBuilder() {
return getDynpostSnapshotParams();
}
public static final int ANIMATEDPOSTERSNAPSHOTPARAMS_FIELD_NUMBER = 4;
private com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams animatedPosterSnapshotParams_;
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
* @return Whether the animatedPosterSnapshotParams field is set.
*/
@java.lang.Override
public boolean hasAnimatedPosterSnapshotParams() {
return animatedPosterSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
* @return The animatedPosterSnapshotParams.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams getAnimatedPosterSnapshotParams() {
return animatedPosterSnapshotParams_ == null ? com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.getDefaultInstance() : animatedPosterSnapshotParams_;
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParamsOrBuilder getAnimatedPosterSnapshotParamsOrBuilder() {
return getAnimatedPosterSnapshotParams();
}
public static final int SPRITESNAPSHOTPARAMS_FIELD_NUMBER = 5;
private com.volcengine.service.vod.model.business.SpriteSnapshotParams spriteSnapshotParams_;
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
* @return Whether the spriteSnapshotParams field is set.
*/
@java.lang.Override
public boolean hasSpriteSnapshotParams() {
return spriteSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
* @return The spriteSnapshotParams.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.SpriteSnapshotParams getSpriteSnapshotParams() {
return spriteSnapshotParams_ == null ? com.volcengine.service.vod.model.business.SpriteSnapshotParams.getDefaultInstance() : spriteSnapshotParams_;
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.SpriteSnapshotParamsOrBuilder getSpriteSnapshotParamsOrBuilder() {
return getSpriteSnapshotParams();
}
public static final int SAMPLESNAPSHOTPARAMS_FIELD_NUMBER = 7;
private com.volcengine.service.vod.model.business.SampleSnapshotParams sampleSnapshotParams_;
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
* @return Whether the sampleSnapshotParams field is set.
*/
@java.lang.Override
public boolean hasSampleSnapshotParams() {
return sampleSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
* @return The sampleSnapshotParams.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.SampleSnapshotParams getSampleSnapshotParams() {
return sampleSnapshotParams_ == null ? com.volcengine.service.vod.model.business.SampleSnapshotParams.getDefaultInstance() : sampleSnapshotParams_;
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.SampleSnapshotParamsOrBuilder getSampleSnapshotParamsOrBuilder() {
return getSampleSnapshotParams();
}
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(type_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
}
if (posterSnapshotParams_ != null) {
output.writeMessage(2, getPosterSnapshotParams());
}
if (dynpostSnapshotParams_ != null) {
output.writeMessage(3, getDynpostSnapshotParams());
}
if (animatedPosterSnapshotParams_ != null) {
output.writeMessage(4, getAnimatedPosterSnapshotParams());
}
if (spriteSnapshotParams_ != null) {
output.writeMessage(5, getSpriteSnapshotParams());
}
if (sampleSnapshotParams_ != null) {
output.writeMessage(7, getSampleSnapshotParams());
}
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(type_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
}
if (posterSnapshotParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPosterSnapshotParams());
}
if (dynpostSnapshotParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDynpostSnapshotParams());
}
if (animatedPosterSnapshotParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getAnimatedPosterSnapshotParams());
}
if (spriteSnapshotParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getSpriteSnapshotParams());
}
if (sampleSnapshotParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getSampleSnapshotParams());
}
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.SnapshotTaskParams)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.SnapshotTaskParams other = (com.volcengine.service.vod.model.business.SnapshotTaskParams) obj;
if (!getType()
.equals(other.getType())) return false;
if (hasPosterSnapshotParams() != other.hasPosterSnapshotParams()) return false;
if (hasPosterSnapshotParams()) {
if (!getPosterSnapshotParams()
.equals(other.getPosterSnapshotParams())) return false;
}
if (hasDynpostSnapshotParams() != other.hasDynpostSnapshotParams()) return false;
if (hasDynpostSnapshotParams()) {
if (!getDynpostSnapshotParams()
.equals(other.getDynpostSnapshotParams())) return false;
}
if (hasAnimatedPosterSnapshotParams() != other.hasAnimatedPosterSnapshotParams()) return false;
if (hasAnimatedPosterSnapshotParams()) {
if (!getAnimatedPosterSnapshotParams()
.equals(other.getAnimatedPosterSnapshotParams())) return false;
}
if (hasSpriteSnapshotParams() != other.hasSpriteSnapshotParams()) return false;
if (hasSpriteSnapshotParams()) {
if (!getSpriteSnapshotParams()
.equals(other.getSpriteSnapshotParams())) return false;
}
if (hasSampleSnapshotParams() != other.hasSampleSnapshotParams()) return false;
if (hasSampleSnapshotParams()) {
if (!getSampleSnapshotParams()
.equals(other.getSampleSnapshotParams())) 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) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
if (hasPosterSnapshotParams()) {
hash = (37 * hash) + POSTERSNAPSHOTPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getPosterSnapshotParams().hashCode();
}
if (hasDynpostSnapshotParams()) {
hash = (37 * hash) + DYNPOSTSNAPSHOTPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getDynpostSnapshotParams().hashCode();
}
if (hasAnimatedPosterSnapshotParams()) {
hash = (37 * hash) + ANIMATEDPOSTERSNAPSHOTPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getAnimatedPosterSnapshotParams().hashCode();
}
if (hasSpriteSnapshotParams()) {
hash = (37 * hash) + SPRITESNAPSHOTPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getSpriteSnapshotParams().hashCode();
}
if (hasSampleSnapshotParams()) {
hash = (37 * hash) + SAMPLESNAPSHOTPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getSampleSnapshotParams().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.SnapshotTaskParams parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.SnapshotTaskParams 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.SnapshotTaskParams parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.SnapshotTaskParams 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.SnapshotTaskParams parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.SnapshotTaskParams 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.SnapshotTaskParams 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.SnapshotTaskParams 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.SnapshotTaskParams 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.SnapshotTaskParams 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.SnapshotTaskParams 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.SnapshotTaskParams 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.SnapshotTaskParams 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.SnapshotTaskParams}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.SnapshotTaskParams)
com.volcengine.service.vod.model.business.SnapshotTaskParamsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_SnapshotTaskParams_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_SnapshotTaskParams_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.SnapshotTaskParams.class, com.volcengine.service.vod.model.business.SnapshotTaskParams.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.SnapshotTaskParams.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();
type_ = "";
if (posterSnapshotParamsBuilder_ == null) {
posterSnapshotParams_ = null;
} else {
posterSnapshotParams_ = null;
posterSnapshotParamsBuilder_ = null;
}
if (dynpostSnapshotParamsBuilder_ == null) {
dynpostSnapshotParams_ = null;
} else {
dynpostSnapshotParams_ = null;
dynpostSnapshotParamsBuilder_ = null;
}
if (animatedPosterSnapshotParamsBuilder_ == null) {
animatedPosterSnapshotParams_ = null;
} else {
animatedPosterSnapshotParams_ = null;
animatedPosterSnapshotParamsBuilder_ = null;
}
if (spriteSnapshotParamsBuilder_ == null) {
spriteSnapshotParams_ = null;
} else {
spriteSnapshotParams_ = null;
spriteSnapshotParamsBuilder_ = null;
}
if (sampleSnapshotParamsBuilder_ == null) {
sampleSnapshotParams_ = null;
} else {
sampleSnapshotParams_ = null;
sampleSnapshotParamsBuilder_ = 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_SnapshotTaskParams_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.SnapshotTaskParams getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.SnapshotTaskParams.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.SnapshotTaskParams build() {
com.volcengine.service.vod.model.business.SnapshotTaskParams result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.SnapshotTaskParams buildPartial() {
com.volcengine.service.vod.model.business.SnapshotTaskParams result = new com.volcengine.service.vod.model.business.SnapshotTaskParams(this);
result.type_ = type_;
if (posterSnapshotParamsBuilder_ == null) {
result.posterSnapshotParams_ = posterSnapshotParams_;
} else {
result.posterSnapshotParams_ = posterSnapshotParamsBuilder_.build();
}
if (dynpostSnapshotParamsBuilder_ == null) {
result.dynpostSnapshotParams_ = dynpostSnapshotParams_;
} else {
result.dynpostSnapshotParams_ = dynpostSnapshotParamsBuilder_.build();
}
if (animatedPosterSnapshotParamsBuilder_ == null) {
result.animatedPosterSnapshotParams_ = animatedPosterSnapshotParams_;
} else {
result.animatedPosterSnapshotParams_ = animatedPosterSnapshotParamsBuilder_.build();
}
if (spriteSnapshotParamsBuilder_ == null) {
result.spriteSnapshotParams_ = spriteSnapshotParams_;
} else {
result.spriteSnapshotParams_ = spriteSnapshotParamsBuilder_.build();
}
if (sampleSnapshotParamsBuilder_ == null) {
result.sampleSnapshotParams_ = sampleSnapshotParams_;
} else {
result.sampleSnapshotParams_ = sampleSnapshotParamsBuilder_.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.SnapshotTaskParams) {
return mergeFrom((com.volcengine.service.vod.model.business.SnapshotTaskParams)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.SnapshotTaskParams other) {
if (other == com.volcengine.service.vod.model.business.SnapshotTaskParams.getDefaultInstance()) return this;
if (!other.getType().isEmpty()) {
type_ = other.type_;
onChanged();
}
if (other.hasPosterSnapshotParams()) {
mergePosterSnapshotParams(other.getPosterSnapshotParams());
}
if (other.hasDynpostSnapshotParams()) {
mergeDynpostSnapshotParams(other.getDynpostSnapshotParams());
}
if (other.hasAnimatedPosterSnapshotParams()) {
mergeAnimatedPosterSnapshotParams(other.getAnimatedPosterSnapshotParams());
}
if (other.hasSpriteSnapshotParams()) {
mergeSpriteSnapshotParams(other.getSpriteSnapshotParams());
}
if (other.hasSampleSnapshotParams()) {
mergeSampleSnapshotParams(other.getSampleSnapshotParams());
}
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.SnapshotTaskParams parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.SnapshotTaskParams) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object type_ = "";
/**
* string Type = 1;
* @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;
}
}
/**
* string Type = 1;
* @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;
}
}
/**
* string Type = 1;
* @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;
}
/**
* string Type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
* string Type = 1;
* @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.PosterSnapshotParams posterSnapshotParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.PosterSnapshotParams, com.volcengine.service.vod.model.business.PosterSnapshotParams.Builder, com.volcengine.service.vod.model.business.PosterSnapshotParamsOrBuilder> posterSnapshotParamsBuilder_;
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
* @return Whether the posterSnapshotParams field is set.
*/
public boolean hasPosterSnapshotParams() {
return posterSnapshotParamsBuilder_ != null || posterSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
* @return The posterSnapshotParams.
*/
public com.volcengine.service.vod.model.business.PosterSnapshotParams getPosterSnapshotParams() {
if (posterSnapshotParamsBuilder_ == null) {
return posterSnapshotParams_ == null ? com.volcengine.service.vod.model.business.PosterSnapshotParams.getDefaultInstance() : posterSnapshotParams_;
} else {
return posterSnapshotParamsBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
*/
public Builder setPosterSnapshotParams(com.volcengine.service.vod.model.business.PosterSnapshotParams value) {
if (posterSnapshotParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
posterSnapshotParams_ = value;
onChanged();
} else {
posterSnapshotParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
*/
public Builder setPosterSnapshotParams(
com.volcengine.service.vod.model.business.PosterSnapshotParams.Builder builderForValue) {
if (posterSnapshotParamsBuilder_ == null) {
posterSnapshotParams_ = builderForValue.build();
onChanged();
} else {
posterSnapshotParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
*/
public Builder mergePosterSnapshotParams(com.volcengine.service.vod.model.business.PosterSnapshotParams value) {
if (posterSnapshotParamsBuilder_ == null) {
if (posterSnapshotParams_ != null) {
posterSnapshotParams_ =
com.volcengine.service.vod.model.business.PosterSnapshotParams.newBuilder(posterSnapshotParams_).mergeFrom(value).buildPartial();
} else {
posterSnapshotParams_ = value;
}
onChanged();
} else {
posterSnapshotParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
*/
public Builder clearPosterSnapshotParams() {
if (posterSnapshotParamsBuilder_ == null) {
posterSnapshotParams_ = null;
onChanged();
} else {
posterSnapshotParams_ = null;
posterSnapshotParamsBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
*/
public com.volcengine.service.vod.model.business.PosterSnapshotParams.Builder getPosterSnapshotParamsBuilder() {
onChanged();
return getPosterSnapshotParamsFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
*/
public com.volcengine.service.vod.model.business.PosterSnapshotParamsOrBuilder getPosterSnapshotParamsOrBuilder() {
if (posterSnapshotParamsBuilder_ != null) {
return posterSnapshotParamsBuilder_.getMessageOrBuilder();
} else {
return posterSnapshotParams_ == null ?
com.volcengine.service.vod.model.business.PosterSnapshotParams.getDefaultInstance() : posterSnapshotParams_;
}
}
/**
* .Volcengine.Vod.Models.Business.PosterSnapshotParams PosterSnapshotParams = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.PosterSnapshotParams, com.volcengine.service.vod.model.business.PosterSnapshotParams.Builder, com.volcengine.service.vod.model.business.PosterSnapshotParamsOrBuilder>
getPosterSnapshotParamsFieldBuilder() {
if (posterSnapshotParamsBuilder_ == null) {
posterSnapshotParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.PosterSnapshotParams, com.volcengine.service.vod.model.business.PosterSnapshotParams.Builder, com.volcengine.service.vod.model.business.PosterSnapshotParamsOrBuilder>(
getPosterSnapshotParams(),
getParentForChildren(),
isClean());
posterSnapshotParams_ = null;
}
return posterSnapshotParamsBuilder_;
}
private com.volcengine.service.vod.model.business.DynpostSnapshotParams dynpostSnapshotParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.DynpostSnapshotParams, com.volcengine.service.vod.model.business.DynpostSnapshotParams.Builder, com.volcengine.service.vod.model.business.DynpostSnapshotParamsOrBuilder> dynpostSnapshotParamsBuilder_;
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
* @return Whether the dynpostSnapshotParams field is set.
*/
public boolean hasDynpostSnapshotParams() {
return dynpostSnapshotParamsBuilder_ != null || dynpostSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
* @return The dynpostSnapshotParams.
*/
public com.volcengine.service.vod.model.business.DynpostSnapshotParams getDynpostSnapshotParams() {
if (dynpostSnapshotParamsBuilder_ == null) {
return dynpostSnapshotParams_ == null ? com.volcengine.service.vod.model.business.DynpostSnapshotParams.getDefaultInstance() : dynpostSnapshotParams_;
} else {
return dynpostSnapshotParamsBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
*/
public Builder setDynpostSnapshotParams(com.volcengine.service.vod.model.business.DynpostSnapshotParams value) {
if (dynpostSnapshotParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dynpostSnapshotParams_ = value;
onChanged();
} else {
dynpostSnapshotParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
*/
public Builder setDynpostSnapshotParams(
com.volcengine.service.vod.model.business.DynpostSnapshotParams.Builder builderForValue) {
if (dynpostSnapshotParamsBuilder_ == null) {
dynpostSnapshotParams_ = builderForValue.build();
onChanged();
} else {
dynpostSnapshotParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
*/
public Builder mergeDynpostSnapshotParams(com.volcengine.service.vod.model.business.DynpostSnapshotParams value) {
if (dynpostSnapshotParamsBuilder_ == null) {
if (dynpostSnapshotParams_ != null) {
dynpostSnapshotParams_ =
com.volcengine.service.vod.model.business.DynpostSnapshotParams.newBuilder(dynpostSnapshotParams_).mergeFrom(value).buildPartial();
} else {
dynpostSnapshotParams_ = value;
}
onChanged();
} else {
dynpostSnapshotParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
*/
public Builder clearDynpostSnapshotParams() {
if (dynpostSnapshotParamsBuilder_ == null) {
dynpostSnapshotParams_ = null;
onChanged();
} else {
dynpostSnapshotParams_ = null;
dynpostSnapshotParamsBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
*/
public com.volcengine.service.vod.model.business.DynpostSnapshotParams.Builder getDynpostSnapshotParamsBuilder() {
onChanged();
return getDynpostSnapshotParamsFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
*/
public com.volcengine.service.vod.model.business.DynpostSnapshotParamsOrBuilder getDynpostSnapshotParamsOrBuilder() {
if (dynpostSnapshotParamsBuilder_ != null) {
return dynpostSnapshotParamsBuilder_.getMessageOrBuilder();
} else {
return dynpostSnapshotParams_ == null ?
com.volcengine.service.vod.model.business.DynpostSnapshotParams.getDefaultInstance() : dynpostSnapshotParams_;
}
}
/**
* .Volcengine.Vod.Models.Business.DynpostSnapshotParams DynpostSnapshotParams = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.DynpostSnapshotParams, com.volcengine.service.vod.model.business.DynpostSnapshotParams.Builder, com.volcengine.service.vod.model.business.DynpostSnapshotParamsOrBuilder>
getDynpostSnapshotParamsFieldBuilder() {
if (dynpostSnapshotParamsBuilder_ == null) {
dynpostSnapshotParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.DynpostSnapshotParams, com.volcengine.service.vod.model.business.DynpostSnapshotParams.Builder, com.volcengine.service.vod.model.business.DynpostSnapshotParamsOrBuilder>(
getDynpostSnapshotParams(),
getParentForChildren(),
isClean());
dynpostSnapshotParams_ = null;
}
return dynpostSnapshotParamsBuilder_;
}
private com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams animatedPosterSnapshotParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams, com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.Builder, com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParamsOrBuilder> animatedPosterSnapshotParamsBuilder_;
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
* @return Whether the animatedPosterSnapshotParams field is set.
*/
public boolean hasAnimatedPosterSnapshotParams() {
return animatedPosterSnapshotParamsBuilder_ != null || animatedPosterSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
* @return The animatedPosterSnapshotParams.
*/
public com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams getAnimatedPosterSnapshotParams() {
if (animatedPosterSnapshotParamsBuilder_ == null) {
return animatedPosterSnapshotParams_ == null ? com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.getDefaultInstance() : animatedPosterSnapshotParams_;
} else {
return animatedPosterSnapshotParamsBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
*/
public Builder setAnimatedPosterSnapshotParams(com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams value) {
if (animatedPosterSnapshotParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
animatedPosterSnapshotParams_ = value;
onChanged();
} else {
animatedPosterSnapshotParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
*/
public Builder setAnimatedPosterSnapshotParams(
com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.Builder builderForValue) {
if (animatedPosterSnapshotParamsBuilder_ == null) {
animatedPosterSnapshotParams_ = builderForValue.build();
onChanged();
} else {
animatedPosterSnapshotParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
*/
public Builder mergeAnimatedPosterSnapshotParams(com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams value) {
if (animatedPosterSnapshotParamsBuilder_ == null) {
if (animatedPosterSnapshotParams_ != null) {
animatedPosterSnapshotParams_ =
com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.newBuilder(animatedPosterSnapshotParams_).mergeFrom(value).buildPartial();
} else {
animatedPosterSnapshotParams_ = value;
}
onChanged();
} else {
animatedPosterSnapshotParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
*/
public Builder clearAnimatedPosterSnapshotParams() {
if (animatedPosterSnapshotParamsBuilder_ == null) {
animatedPosterSnapshotParams_ = null;
onChanged();
} else {
animatedPosterSnapshotParams_ = null;
animatedPosterSnapshotParamsBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
*/
public com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.Builder getAnimatedPosterSnapshotParamsBuilder() {
onChanged();
return getAnimatedPosterSnapshotParamsFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
*/
public com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParamsOrBuilder getAnimatedPosterSnapshotParamsOrBuilder() {
if (animatedPosterSnapshotParamsBuilder_ != null) {
return animatedPosterSnapshotParamsBuilder_.getMessageOrBuilder();
} else {
return animatedPosterSnapshotParams_ == null ?
com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.getDefaultInstance() : animatedPosterSnapshotParams_;
}
}
/**
* .Volcengine.Vod.Models.Business.AnimatedPosterSnapshotParams AnimatedPosterSnapshotParams = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams, com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.Builder, com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParamsOrBuilder>
getAnimatedPosterSnapshotParamsFieldBuilder() {
if (animatedPosterSnapshotParamsBuilder_ == null) {
animatedPosterSnapshotParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams, com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParams.Builder, com.volcengine.service.vod.model.business.AnimatedPosterSnapshotParamsOrBuilder>(
getAnimatedPosterSnapshotParams(),
getParentForChildren(),
isClean());
animatedPosterSnapshotParams_ = null;
}
return animatedPosterSnapshotParamsBuilder_;
}
private com.volcengine.service.vod.model.business.SpriteSnapshotParams spriteSnapshotParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SpriteSnapshotParams, com.volcengine.service.vod.model.business.SpriteSnapshotParams.Builder, com.volcengine.service.vod.model.business.SpriteSnapshotParamsOrBuilder> spriteSnapshotParamsBuilder_;
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
* @return Whether the spriteSnapshotParams field is set.
*/
public boolean hasSpriteSnapshotParams() {
return spriteSnapshotParamsBuilder_ != null || spriteSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
* @return The spriteSnapshotParams.
*/
public com.volcengine.service.vod.model.business.SpriteSnapshotParams getSpriteSnapshotParams() {
if (spriteSnapshotParamsBuilder_ == null) {
return spriteSnapshotParams_ == null ? com.volcengine.service.vod.model.business.SpriteSnapshotParams.getDefaultInstance() : spriteSnapshotParams_;
} else {
return spriteSnapshotParamsBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
*/
public Builder setSpriteSnapshotParams(com.volcengine.service.vod.model.business.SpriteSnapshotParams value) {
if (spriteSnapshotParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
spriteSnapshotParams_ = value;
onChanged();
} else {
spriteSnapshotParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
*/
public Builder setSpriteSnapshotParams(
com.volcengine.service.vod.model.business.SpriteSnapshotParams.Builder builderForValue) {
if (spriteSnapshotParamsBuilder_ == null) {
spriteSnapshotParams_ = builderForValue.build();
onChanged();
} else {
spriteSnapshotParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
*/
public Builder mergeSpriteSnapshotParams(com.volcengine.service.vod.model.business.SpriteSnapshotParams value) {
if (spriteSnapshotParamsBuilder_ == null) {
if (spriteSnapshotParams_ != null) {
spriteSnapshotParams_ =
com.volcengine.service.vod.model.business.SpriteSnapshotParams.newBuilder(spriteSnapshotParams_).mergeFrom(value).buildPartial();
} else {
spriteSnapshotParams_ = value;
}
onChanged();
} else {
spriteSnapshotParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
*/
public Builder clearSpriteSnapshotParams() {
if (spriteSnapshotParamsBuilder_ == null) {
spriteSnapshotParams_ = null;
onChanged();
} else {
spriteSnapshotParams_ = null;
spriteSnapshotParamsBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
*/
public com.volcengine.service.vod.model.business.SpriteSnapshotParams.Builder getSpriteSnapshotParamsBuilder() {
onChanged();
return getSpriteSnapshotParamsFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
*/
public com.volcengine.service.vod.model.business.SpriteSnapshotParamsOrBuilder getSpriteSnapshotParamsOrBuilder() {
if (spriteSnapshotParamsBuilder_ != null) {
return spriteSnapshotParamsBuilder_.getMessageOrBuilder();
} else {
return spriteSnapshotParams_ == null ?
com.volcengine.service.vod.model.business.SpriteSnapshotParams.getDefaultInstance() : spriteSnapshotParams_;
}
}
/**
* .Volcengine.Vod.Models.Business.SpriteSnapshotParams SpriteSnapshotParams = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SpriteSnapshotParams, com.volcengine.service.vod.model.business.SpriteSnapshotParams.Builder, com.volcengine.service.vod.model.business.SpriteSnapshotParamsOrBuilder>
getSpriteSnapshotParamsFieldBuilder() {
if (spriteSnapshotParamsBuilder_ == null) {
spriteSnapshotParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SpriteSnapshotParams, com.volcengine.service.vod.model.business.SpriteSnapshotParams.Builder, com.volcengine.service.vod.model.business.SpriteSnapshotParamsOrBuilder>(
getSpriteSnapshotParams(),
getParentForChildren(),
isClean());
spriteSnapshotParams_ = null;
}
return spriteSnapshotParamsBuilder_;
}
private com.volcengine.service.vod.model.business.SampleSnapshotParams sampleSnapshotParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SampleSnapshotParams, com.volcengine.service.vod.model.business.SampleSnapshotParams.Builder, com.volcengine.service.vod.model.business.SampleSnapshotParamsOrBuilder> sampleSnapshotParamsBuilder_;
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
* @return Whether the sampleSnapshotParams field is set.
*/
public boolean hasSampleSnapshotParams() {
return sampleSnapshotParamsBuilder_ != null || sampleSnapshotParams_ != null;
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
* @return The sampleSnapshotParams.
*/
public com.volcengine.service.vod.model.business.SampleSnapshotParams getSampleSnapshotParams() {
if (sampleSnapshotParamsBuilder_ == null) {
return sampleSnapshotParams_ == null ? com.volcengine.service.vod.model.business.SampleSnapshotParams.getDefaultInstance() : sampleSnapshotParams_;
} else {
return sampleSnapshotParamsBuilder_.getMessage();
}
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
*/
public Builder setSampleSnapshotParams(com.volcengine.service.vod.model.business.SampleSnapshotParams value) {
if (sampleSnapshotParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sampleSnapshotParams_ = value;
onChanged();
} else {
sampleSnapshotParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
*/
public Builder setSampleSnapshotParams(
com.volcengine.service.vod.model.business.SampleSnapshotParams.Builder builderForValue) {
if (sampleSnapshotParamsBuilder_ == null) {
sampleSnapshotParams_ = builderForValue.build();
onChanged();
} else {
sampleSnapshotParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
*/
public Builder mergeSampleSnapshotParams(com.volcengine.service.vod.model.business.SampleSnapshotParams value) {
if (sampleSnapshotParamsBuilder_ == null) {
if (sampleSnapshotParams_ != null) {
sampleSnapshotParams_ =
com.volcengine.service.vod.model.business.SampleSnapshotParams.newBuilder(sampleSnapshotParams_).mergeFrom(value).buildPartial();
} else {
sampleSnapshotParams_ = value;
}
onChanged();
} else {
sampleSnapshotParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
*/
public Builder clearSampleSnapshotParams() {
if (sampleSnapshotParamsBuilder_ == null) {
sampleSnapshotParams_ = null;
onChanged();
} else {
sampleSnapshotParams_ = null;
sampleSnapshotParamsBuilder_ = null;
}
return this;
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
*/
public com.volcengine.service.vod.model.business.SampleSnapshotParams.Builder getSampleSnapshotParamsBuilder() {
onChanged();
return getSampleSnapshotParamsFieldBuilder().getBuilder();
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
*/
public com.volcengine.service.vod.model.business.SampleSnapshotParamsOrBuilder getSampleSnapshotParamsOrBuilder() {
if (sampleSnapshotParamsBuilder_ != null) {
return sampleSnapshotParamsBuilder_.getMessageOrBuilder();
} else {
return sampleSnapshotParams_ == null ?
com.volcengine.service.vod.model.business.SampleSnapshotParams.getDefaultInstance() : sampleSnapshotParams_;
}
}
/**
* .Volcengine.Vod.Models.Business.SampleSnapshotParams SampleSnapshotParams = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SampleSnapshotParams, com.volcengine.service.vod.model.business.SampleSnapshotParams.Builder, com.volcengine.service.vod.model.business.SampleSnapshotParamsOrBuilder>
getSampleSnapshotParamsFieldBuilder() {
if (sampleSnapshotParamsBuilder_ == null) {
sampleSnapshotParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.SampleSnapshotParams, com.volcengine.service.vod.model.business.SampleSnapshotParams.Builder, com.volcengine.service.vod.model.business.SampleSnapshotParamsOrBuilder>(
getSampleSnapshotParams(),
getParentForChildren(),
isClean());
sampleSnapshotParams_ = null;
}
return sampleSnapshotParamsBuilder_;
}
@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.SnapshotTaskParams)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.SnapshotTaskParams)
private static final com.volcengine.service.vod.model.business.SnapshotTaskParams DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.SnapshotTaskParams();
}
public static com.volcengine.service.vod.model.business.SnapshotTaskParams getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SnapshotTaskParams parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SnapshotTaskParams(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.SnapshotTaskParams getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy