com.volcengine.service.vod.model.business.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult}
*/
public final class VodListWatermarkResponseResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Volcengine.Vod.Models.Business.VodListWatermarkResponseResult)
VodListWatermarkResponseResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodListWatermarkResponseResult.newBuilder() to construct.
private VodListWatermarkResponseResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodListWatermarkResponseResult() {
data_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodListWatermarkResponseResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodListWatermarkResponseResult(
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 8: {
limit_ = input.readInt32();
break;
}
case 16: {
offset_ = input.readInt32();
break;
}
case 24: {
total_ = input.readInt64();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
data_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
data_.add(
input.readMessage(com.volcengine.service.vod.model.business.LogoTemplate.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)) {
data_ = java.util.Collections.unmodifiableList(data_);
}
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_VodListWatermarkResponseResult_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_VodListWatermarkResponseResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodListWatermarkResponseResult.class, com.volcengine.service.vod.model.business.VodListWatermarkResponseResult.Builder.class);
}
public static final int LIMIT_FIELD_NUMBER = 1;
private int limit_;
/**
* int32 Limit = 1;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
public static final int OFFSET_FIELD_NUMBER = 2;
private int offset_;
/**
* int32 Offset = 2;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
public static final int TOTAL_FIELD_NUMBER = 3;
private long total_;
/**
* int64 Total = 3;
* @return The total.
*/
@java.lang.Override
public long getTotal() {
return total_;
}
public static final int DATA_FIELD_NUMBER = 4;
private java.util.List data_;
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
@java.lang.Override
public java.util.List getDataList() {
return data_;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
@java.lang.Override
public java.util.List extends com.volcengine.service.vod.model.business.LogoTemplateOrBuilder>
getDataOrBuilderList() {
return data_;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
@java.lang.Override
public int getDataCount() {
return data_.size();
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.LogoTemplate getData(int index) {
return data_.get(index);
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
@java.lang.Override
public com.volcengine.service.vod.model.business.LogoTemplateOrBuilder getDataOrBuilder(
int index) {
return data_.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 (limit_ != 0) {
output.writeInt32(1, limit_);
}
if (offset_ != 0) {
output.writeInt32(2, offset_);
}
if (total_ != 0L) {
output.writeInt64(3, total_);
}
for (int i = 0; i < data_.size(); i++) {
output.writeMessage(4, data_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (limit_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, limit_);
}
if (offset_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, offset_);
}
if (total_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, total_);
}
for (int i = 0; i < data_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, data_.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.VodListWatermarkResponseResult)) {
return super.equals(obj);
}
com.volcengine.service.vod.model.business.VodListWatermarkResponseResult other = (com.volcengine.service.vod.model.business.VodListWatermarkResponseResult) obj;
if (getLimit()
!= other.getLimit()) return false;
if (getOffset()
!= other.getOffset()) return false;
if (getTotal()
!= other.getTotal()) return false;
if (!getDataList()
.equals(other.getDataList())) 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) + LIMIT_FIELD_NUMBER;
hash = (53 * hash) + getLimit();
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + getOffset();
hash = (37 * hash) + TOTAL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotal());
if (getDataCount() > 0) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getDataList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.volcengine.service.vod.model.business.VodListWatermarkResponseResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.volcengine.service.vod.model.business.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult 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.VodListWatermarkResponseResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Volcengine.Vod.Models.Business.VodListWatermarkResponseResult)
com.volcengine.service.vod.model.business.VodListWatermarkResponseResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.volcengine.service.vod.model.business.VodWorkflow.internal_static_Volcengine_Vod_Models_Business_VodListWatermarkResponseResult_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_VodListWatermarkResponseResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.volcengine.service.vod.model.business.VodListWatermarkResponseResult.class, com.volcengine.service.vod.model.business.VodListWatermarkResponseResult.Builder.class);
}
// Construct using com.volcengine.service.vod.model.business.VodListWatermarkResponseResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDataFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
limit_ = 0;
offset_ = 0;
total_ = 0L;
if (dataBuilder_ == null) {
data_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
dataBuilder_.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_VodListWatermarkResponseResult_descriptor;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodListWatermarkResponseResult getDefaultInstanceForType() {
return com.volcengine.service.vod.model.business.VodListWatermarkResponseResult.getDefaultInstance();
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodListWatermarkResponseResult build() {
com.volcengine.service.vod.model.business.VodListWatermarkResponseResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.volcengine.service.vod.model.business.VodListWatermarkResponseResult buildPartial() {
com.volcengine.service.vod.model.business.VodListWatermarkResponseResult result = new com.volcengine.service.vod.model.business.VodListWatermarkResponseResult(this);
int from_bitField0_ = bitField0_;
result.limit_ = limit_;
result.offset_ = offset_;
result.total_ = total_;
if (dataBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
data_ = java.util.Collections.unmodifiableList(data_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.data_ = data_;
} else {
result.data_ = dataBuilder_.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.VodListWatermarkResponseResult) {
return mergeFrom((com.volcengine.service.vod.model.business.VodListWatermarkResponseResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.volcengine.service.vod.model.business.VodListWatermarkResponseResult other) {
if (other == com.volcengine.service.vod.model.business.VodListWatermarkResponseResult.getDefaultInstance()) return this;
if (other.getLimit() != 0) {
setLimit(other.getLimit());
}
if (other.getOffset() != 0) {
setOffset(other.getOffset());
}
if (other.getTotal() != 0L) {
setTotal(other.getTotal());
}
if (dataBuilder_ == null) {
if (!other.data_.isEmpty()) {
if (data_.isEmpty()) {
data_ = other.data_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDataIsMutable();
data_.addAll(other.data_);
}
onChanged();
}
} else {
if (!other.data_.isEmpty()) {
if (dataBuilder_.isEmpty()) {
dataBuilder_.dispose();
dataBuilder_ = null;
data_ = other.data_;
bitField0_ = (bitField0_ & ~0x00000001);
dataBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDataFieldBuilder() : null;
} else {
dataBuilder_.addAllMessages(other.data_);
}
}
}
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.VodListWatermarkResponseResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.volcengine.service.vod.model.business.VodListWatermarkResponseResult) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int limit_ ;
/**
* int32 Limit = 1;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
/**
* int32 Limit = 1;
* @param value The limit to set.
* @return This builder for chaining.
*/
public Builder setLimit(int value) {
limit_ = value;
onChanged();
return this;
}
/**
* int32 Limit = 1;
* @return This builder for chaining.
*/
public Builder clearLimit() {
limit_ = 0;
onChanged();
return this;
}
private int offset_ ;
/**
* int32 Offset = 2;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
/**
* int32 Offset = 2;
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(int value) {
offset_ = value;
onChanged();
return this;
}
/**
* int32 Offset = 2;
* @return This builder for chaining.
*/
public Builder clearOffset() {
offset_ = 0;
onChanged();
return this;
}
private long total_ ;
/**
* int64 Total = 3;
* @return The total.
*/
@java.lang.Override
public long getTotal() {
return total_;
}
/**
* int64 Total = 3;
* @param value The total to set.
* @return This builder for chaining.
*/
public Builder setTotal(long value) {
total_ = value;
onChanged();
return this;
}
/**
* int64 Total = 3;
* @return This builder for chaining.
*/
public Builder clearTotal() {
total_ = 0L;
onChanged();
return this;
}
private java.util.List data_ =
java.util.Collections.emptyList();
private void ensureDataIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
data_ = new java.util.ArrayList(data_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.LogoTemplate, com.volcengine.service.vod.model.business.LogoTemplate.Builder, com.volcengine.service.vod.model.business.LogoTemplateOrBuilder> dataBuilder_;
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public java.util.List getDataList() {
if (dataBuilder_ == null) {
return java.util.Collections.unmodifiableList(data_);
} else {
return dataBuilder_.getMessageList();
}
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public int getDataCount() {
if (dataBuilder_ == null) {
return data_.size();
} else {
return dataBuilder_.getCount();
}
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public com.volcengine.service.vod.model.business.LogoTemplate getData(int index) {
if (dataBuilder_ == null) {
return data_.get(index);
} else {
return dataBuilder_.getMessage(index);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public Builder setData(
int index, com.volcengine.service.vod.model.business.LogoTemplate value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataIsMutable();
data_.set(index, value);
onChanged();
} else {
dataBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public Builder setData(
int index, com.volcengine.service.vod.model.business.LogoTemplate.Builder builderForValue) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.set(index, builderForValue.build());
onChanged();
} else {
dataBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public Builder addData(com.volcengine.service.vod.model.business.LogoTemplate value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataIsMutable();
data_.add(value);
onChanged();
} else {
dataBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public Builder addData(
int index, com.volcengine.service.vod.model.business.LogoTemplate value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataIsMutable();
data_.add(index, value);
onChanged();
} else {
dataBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public Builder addData(
com.volcengine.service.vod.model.business.LogoTemplate.Builder builderForValue) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.add(builderForValue.build());
onChanged();
} else {
dataBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public Builder addData(
int index, com.volcengine.service.vod.model.business.LogoTemplate.Builder builderForValue) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.add(index, builderForValue.build());
onChanged();
} else {
dataBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public Builder addAllData(
java.lang.Iterable extends com.volcengine.service.vod.model.business.LogoTemplate> values) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, data_);
onChanged();
} else {
dataBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public Builder clearData() {
if (dataBuilder_ == null) {
data_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
dataBuilder_.clear();
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public Builder removeData(int index) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.remove(index);
onChanged();
} else {
dataBuilder_.remove(index);
}
return this;
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public com.volcengine.service.vod.model.business.LogoTemplate.Builder getDataBuilder(
int index) {
return getDataFieldBuilder().getBuilder(index);
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public com.volcengine.service.vod.model.business.LogoTemplateOrBuilder getDataOrBuilder(
int index) {
if (dataBuilder_ == null) {
return data_.get(index); } else {
return dataBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public java.util.List extends com.volcengine.service.vod.model.business.LogoTemplateOrBuilder>
getDataOrBuilderList() {
if (dataBuilder_ != null) {
return dataBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(data_);
}
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public com.volcengine.service.vod.model.business.LogoTemplate.Builder addDataBuilder() {
return getDataFieldBuilder().addBuilder(
com.volcengine.service.vod.model.business.LogoTemplate.getDefaultInstance());
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public com.volcengine.service.vod.model.business.LogoTemplate.Builder addDataBuilder(
int index) {
return getDataFieldBuilder().addBuilder(
index, com.volcengine.service.vod.model.business.LogoTemplate.getDefaultInstance());
}
/**
* repeated .Volcengine.Vod.Models.Business.LogoTemplate Data = 4;
*/
public java.util.List
getDataBuilderList() {
return getDataFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.LogoTemplate, com.volcengine.service.vod.model.business.LogoTemplate.Builder, com.volcengine.service.vod.model.business.LogoTemplateOrBuilder>
getDataFieldBuilder() {
if (dataBuilder_ == null) {
dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.volcengine.service.vod.model.business.LogoTemplate, com.volcengine.service.vod.model.business.LogoTemplate.Builder, com.volcengine.service.vod.model.business.LogoTemplateOrBuilder>(
data_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
data_ = null;
}
return dataBuilder_;
}
@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.VodListWatermarkResponseResult)
}
// @@protoc_insertion_point(class_scope:Volcengine.Vod.Models.Business.VodListWatermarkResponseResult)
private static final com.volcengine.service.vod.model.business.VodListWatermarkResponseResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.volcengine.service.vod.model.business.VodListWatermarkResponseResult();
}
public static com.volcengine.service.vod.model.business.VodListWatermarkResponseResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodListWatermarkResponseResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodListWatermarkResponseResult(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.VodListWatermarkResponseResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy