com.volcengine.service.vod.model.business.Inspection 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.Inspection}
*/
public final class Inspection extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.Inspection)
InspectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Inspection.newBuilder() to construct.
private Inspection(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Inspection() {
deLogo_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Inspection();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Inspection(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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: {
com.volcengine.service.vod.model.business.Quality.Builder subBuilder = null;
if (quality_ != null) {
subBuilder = quality_.toBuilder();
}
quality_ = input.readMessage(com.volcengine.service.vod.model.business.Quality.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(quality_);
quality_ = subBuilder.buildPartial();
}
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deLogo_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
deLogo_.add(
input.readMessage(com.volcengine.service.vod.model.business.DeLogoInfo.parser(), extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deLogo_ = java.util.Collections.unmodifiableList(deLogo_);
}
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_Inspection_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_Inspection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.Inspection.class, com.volcengine.service.vod.model.business.Inspection.Builder.class);
}
public static final int QUALITY_FIELD_NUMBER = 1;
private com.volcengine.service.vod.model.business.Quality quality_;
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
* @return Whether the quality field is set.
*/
@java.lang.Override
public boolean hasQuality() {
return quality_ != null;
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
* @return The quality.
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.Quality getQuality() {
return quality_ == null ? com.volcengine.service.vod.model.business.Quality.getDefaultInstance() : quality_;
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.QualityOrBuilder getQualityOrBuilder() {
return getQuality();
}
public static final int DELOGO_FIELD_NUMBER = 2;
private java.util.List deLogo_;
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
@java.lang.Override
public java.util.List getDeLogoList() {
return deLogo_;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.DeLogoInfoOrBuilder>
getDeLogoOrBuilderList() {
return deLogo_;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
@java.lang.Override
public int getDeLogoCount() {
return deLogo_.size();
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.DeLogoInfo getDeLogo(int index) {
return deLogo_.get(index);
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.DeLogoInfoOrBuilder getDeLogoOrBuilder(
int index) {
return deLogo_.get(index);
}
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 (quality_ != null) {
output.writeMessage(1, getQuality());
}
for (int i = 0; i < deLogo_.size(); i++) {
output.writeMessage(2, deLogo_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (quality_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getQuality());
}
for (int i = 0; i < deLogo_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, deLogo_.get(i));
}
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.Inspection)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.Inspection other = (com.volcengine.service.vod.model.business.Inspection) obj;
if (hasQuality() != other.hasQuality()) return false;
if (hasQuality()) {
if (!getQuality()
.equals(other.getQuality())) return false;
}
if (!getDeLogoList()
.equals(other.getDeLogoList())) 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();
if (hasQuality()) {
hash = (37 * hash) + QUALITY_FIELD_NUMBER;
hash = (53 * hash) + getQuality().hashCode();
}
if (getDeLogoCount() > 0) {
hash = (37 * hash) + DELOGO_FIELD_NUMBER;
hash = (53 * hash) + getDeLogoList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.Inspection parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.Inspection 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.Inspection parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.Inspection 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.Inspection parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.Inspection 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.Inspection 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.Inspection 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.Inspection 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.Inspection 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.Inspection 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.Inspection 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.Inspection 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.Inspection}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.Inspection)
com.volcengine.service.vod.model.business.InspectionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_Inspection_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_Inspection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.Inspection.class, com.volcengine.service.vod.model.business.Inspection.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.Inspection.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDeLogoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (qualityBuilder_ == null) {
quality_ = null;
} else {
quality_ = null;
qualityBuilder_ = null;
}
if (deLogoBuilder_ == null) {
deLogo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
deLogoBuilder_.clear();
}
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_Inspection_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.Inspection getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.Inspection.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.Inspection build() {
com.volcengine.service.vod.model.business.Inspection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.Inspection buildPartial() {
com.volcengine.service.vod.model.business.Inspection result = new com.volcengine.service.vod.model.business.Inspection(this);
int from_bitField0_ = bitField0_;
if (qualityBuilder_ == null) {
result.quality_ = quality_;
} else {
result.quality_ = qualityBuilder_.build();
}
if (deLogoBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deLogo_ = java.util.Collections.unmodifiableList(deLogo_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deLogo_ = deLogo_;
} else {
result.deLogo_ = deLogoBuilder_.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.Inspection) {
return mergeFrom((com.volcengine.service.vod.model.business.Inspection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.Inspection other) {
if (other == com.volcengine.service.vod.model.business.Inspection.getDefaultInstance()) return this;
if (other.hasQuality()) {
mergeQuality(other.getQuality());
}
if (deLogoBuilder_ == null) {
if (!other.deLogo_.isEmpty()) {
if (deLogo_.isEmpty()) {
deLogo_ = other.deLogo_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDeLogoIsMutable();
deLogo_.addAll(other.deLogo_);
}
onChanged();
}
} else {
if (!other.deLogo_.isEmpty()) {
if (deLogoBuilder_.isEmpty()) {
deLogoBuilder_.dispose();
deLogoBuilder_ = null;
deLogo_ = other.deLogo_;
bitField0_ = (bitField0_ & ~0x00000001);
deLogoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDeLogoFieldBuilder() : null;
} else {
deLogoBuilder_.addAllMessages(other.deLogo_);
}
}
}
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.Inspection parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.Inspection) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.volcengine.service.vod.model.business.Quality quality_;
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.Quality, com.volcengine.service.vod.model.business.Quality.Builder, com.volcengine.service.vod.model.business.QualityOrBuilder> qualityBuilder_;
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
* @return Whether the quality field is set.
*/
public boolean hasQuality() {
return qualityBuilder_ != null || quality_ != null;
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
* @return The quality.
*/
public com.volcengine.service.vod.model.business.Quality getQuality() {
if (qualityBuilder_ == null) {
return quality_ == null ? com.volcengine.service.vod.model.business.Quality.getDefaultInstance() : quality_;
} else {
return qualityBuilder_.getMessage();
}
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
*/
public Builder setQuality(com.volcengine.service.vod.model.business.Quality value) {
if (qualityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
quality_ = value;
onChanged();
} else {
qualityBuilder_.setMessage(value);
}
return this;
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
*/
public Builder setQuality(
com.volcengine.service.vod.model.business.Quality.Builder builderForValue) {
if (qualityBuilder_ == null) {
quality_ = builderForValue.build();
onChanged();
} else {
qualityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
*/
public Builder mergeQuality(com.volcengine.service.vod.model.business.Quality value) {
if (qualityBuilder_ == null) {
if (quality_ != null) {
quality_ =
com.volcengine.service.vod.model.business.Quality.newBuilder(quality_).mergeFrom(value).buildPartial();
} else {
quality_ = value;
}
onChanged();
} else {
qualityBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
*/
public Builder clearQuality() {
if (qualityBuilder_ == null) {
quality_ = null;
onChanged();
} else {
quality_ = null;
qualityBuilder_ = null;
}
return this;
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
*/
public com.volcengine.service.vod.model.business.Quality.Builder getQualityBuilder() {
onChanged();
return getQualityFieldBuilder().getBuilder();
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
*/
public com.volcengine.service.vod.model.business.QualityOrBuilder getQualityOrBuilder() {
if (qualityBuilder_ != null) {
return qualityBuilder_.getMessageOrBuilder();
} else {
return quality_ == null ?
com.volcengine.service.vod.model.business.Quality.getDefaultInstance() : quality_;
}
}
/**
*
* 视频检测质量
*
*
* .Volcengine.Vod.Models.Business.Quality Quality = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.Quality, com.volcengine.service.vod.model.business.Quality.Builder, com.volcengine.service.vod.model.business.QualityOrBuilder>
getQualityFieldBuilder() {
if (qualityBuilder_ == null) {
qualityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.volcengine.service.vod.model.business.Quality, com.volcengine.service.vod.model.business.Quality.Builder, com.volcengine.service.vod.model.business.QualityOrBuilder>(
getQuality(),
getParentForChildren(),
isClean());
quality_ = null;
}
return qualityBuilder_;
}
private java.util.List deLogo_ =
java.util.Collections.emptyList();
private void ensureDeLogoIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deLogo_ = new java.util.ArrayList(deLogo_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.DeLogoInfo, com.volcengine.service.vod.model.business.DeLogoInfo.Builder, com.volcengine.service.vod.model.business.DeLogoInfoOrBuilder> deLogoBuilder_;
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public java.util.List getDeLogoList() {
if (deLogoBuilder_ == null) {
return java.util.Collections.unmodifiableList(deLogo_);
} else {
return deLogoBuilder_.getMessageList();
}
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public int getDeLogoCount() {
if (deLogoBuilder_ == null) {
return deLogo_.size();
} else {
return deLogoBuilder_.getCount();
}
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public com.volcengine.service.vod.model.business.DeLogoInfo getDeLogo(int index) {
if (deLogoBuilder_ == null) {
return deLogo_.get(index);
} else {
return deLogoBuilder_.getMessage(index);
}
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public Builder setDeLogo(
int index, com.volcengine.service.vod.model.business.DeLogoInfo value) {
if (deLogoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeLogoIsMutable();
deLogo_.set(index, value);
onChanged();
} else {
deLogoBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public Builder setDeLogo(
int index, com.volcengine.service.vod.model.business.DeLogoInfo.Builder builderForValue) {
if (deLogoBuilder_ == null) {
ensureDeLogoIsMutable();
deLogo_.set(index, builderForValue.build());
onChanged();
} else {
deLogoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public Builder addDeLogo(com.volcengine.service.vod.model.business.DeLogoInfo value) {
if (deLogoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeLogoIsMutable();
deLogo_.add(value);
onChanged();
} else {
deLogoBuilder_.addMessage(value);
}
return this;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public Builder addDeLogo(
int index, com.volcengine.service.vod.model.business.DeLogoInfo value) {
if (deLogoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeLogoIsMutable();
deLogo_.add(index, value);
onChanged();
} else {
deLogoBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public Builder addDeLogo(
com.volcengine.service.vod.model.business.DeLogoInfo.Builder builderForValue) {
if (deLogoBuilder_ == null) {
ensureDeLogoIsMutable();
deLogo_.add(builderForValue.build());
onChanged();
} else {
deLogoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public Builder addDeLogo(
int index, com.volcengine.service.vod.model.business.DeLogoInfo.Builder builderForValue) {
if (deLogoBuilder_ == null) {
ensureDeLogoIsMutable();
deLogo_.add(index, builderForValue.build());
onChanged();
} else {
deLogoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public Builder addAllDeLogo(
java.lang.Iterable extends com.volcengine.service.vod.model.business.DeLogoInfo> values) {
if (deLogoBuilder_ == null) {
ensureDeLogoIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deLogo_);
onChanged();
} else {
deLogoBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public Builder clearDeLogo() {
if (deLogoBuilder_ == null) {
deLogo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
deLogoBuilder_.clear();
}
return this;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public Builder removeDeLogo(int index) {
if (deLogoBuilder_ == null) {
ensureDeLogoIsMutable();
deLogo_.remove(index);
onChanged();
} else {
deLogoBuilder_.remove(index);
}
return this;
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public com.volcengine.service.vod.model.business.DeLogoInfo.Builder getDeLogoBuilder(
int index) {
return getDeLogoFieldBuilder().getBuilder(index);
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public com.volcengine.service.vod.model.business.DeLogoInfoOrBuilder getDeLogoOrBuilder(
int index) {
if (deLogoBuilder_ == null) {
return deLogo_.get(index); } else {
return deLogoBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public java.util.List extends com.volcengine.service.vod.model.business.DeLogoInfoOrBuilder>
getDeLogoOrBuilderList() {
if (deLogoBuilder_ != null) {
return deLogoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deLogo_);
}
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public com.volcengine.service.vod.model.business.DeLogoInfo.Builder addDeLogoBuilder() {
return getDeLogoFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.DeLogoInfo.getDefaultInstance());
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public com.volcengine.service.vod.model.business.DeLogoInfo.Builder addDeLogoBuilder(
int index) {
return getDeLogoFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.DeLogoInfo.getDefaultInstance());
}
/**
*
* 水印检测结果
*
*
* repeated .Volcengine.Vod.Models.Business.DeLogoInfo DeLogo = 2;
*/
public java.util.List
getDeLogoBuilderList() {
return getDeLogoFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.DeLogoInfo, com.volcengine.service.vod.model.business.DeLogoInfo.Builder, com.volcengine.service.vod.model.business.DeLogoInfoOrBuilder>
getDeLogoFieldBuilder() {
if (deLogoBuilder_ == null) {
deLogoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.DeLogoInfo, com.volcengine.service.vod.model.business.DeLogoInfo.Builder, com.volcengine.service.vod.model.business.DeLogoInfoOrBuilder>(
deLogo_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
deLogo_ = null;
}
return deLogoBuilder_;
}
@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.Inspection)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.Inspection)
private static final com.volcengine.service.vod.model.business.Inspection DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.Inspection();
}
public static com.volcengine.service.vod.model.business.Inspection getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Inspection parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Inspection(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.Inspection getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy