Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: byteplus/vod/business/vod_media.proto
package com.byteplus.service.vod.model.business;
/**
*
* 媒资封禁相关
*
*
* Protobuf type {@code Byteplus.Vod.Models.Business.VodSubmitBlockMediaTaskResult}
*/
public final class VodSubmitBlockMediaTaskResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodSubmitBlockMediaTaskResult)
VodSubmitBlockMediaTaskResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodSubmitBlockMediaTaskResult.newBuilder() to construct.
private VodSubmitBlockMediaTaskResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodSubmitBlockMediaTaskResult() {
notExistVids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
blockedVids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
unblockingVids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodSubmitBlockMediaTaskResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodSubmitBlockMediaTaskResult(
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: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
notExistVids_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
notExistVids_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
blockedVids_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
blockedVids_.add(s);
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
unblockingVids_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
unblockingVids_.add(s);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
notExistVids_ = notExistVids_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
blockedVids_ = blockedVids_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
unblockingVids_ = unblockingVids_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodMedia.internal_static_Byteplus_Vod_Models_Business_VodSubmitBlockMediaTaskResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodMedia.internal_static_Byteplus_Vod_Models_Business_VodSubmitBlockMediaTaskResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult.class, com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult.Builder.class);
}
public static final int NOTEXISTVIDS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList notExistVids_;
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @return A list containing the notExistVids.
*/
public com.google.protobuf.ProtocolStringList
getNotExistVidsList() {
return notExistVids_;
}
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @return The count of notExistVids.
*/
public int getNotExistVidsCount() {
return notExistVids_.size();
}
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @param index The index of the element to return.
* @return The notExistVids at the given index.
*/
public java.lang.String getNotExistVids(int index) {
return notExistVids_.get(index);
}
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @param index The index of the value to return.
* @return The bytes of the notExistVids at the given index.
*/
public com.google.protobuf.ByteString
getNotExistVidsBytes(int index) {
return notExistVids_.getByteString(index);
}
public static final int BLOCKEDVIDS_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList blockedVids_;
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @return A list containing the blockedVids.
*/
public com.google.protobuf.ProtocolStringList
getBlockedVidsList() {
return blockedVids_;
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @return The count of blockedVids.
*/
public int getBlockedVidsCount() {
return blockedVids_.size();
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @param index The index of the element to return.
* @return The blockedVids at the given index.
*/
public java.lang.String getBlockedVids(int index) {
return blockedVids_.get(index);
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @param index The index of the value to return.
* @return The bytes of the blockedVids at the given index.
*/
public com.google.protobuf.ByteString
getBlockedVidsBytes(int index) {
return blockedVids_.getByteString(index);
}
public static final int UNBLOCKINGVIDS_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList unblockingVids_;
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @return A list containing the unblockingVids.
*/
public com.google.protobuf.ProtocolStringList
getUnblockingVidsList() {
return unblockingVids_;
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @return The count of unblockingVids.
*/
public int getUnblockingVidsCount() {
return unblockingVids_.size();
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @param index The index of the element to return.
* @return The unblockingVids at the given index.
*/
public java.lang.String getUnblockingVids(int index) {
return unblockingVids_.get(index);
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @param index The index of the value to return.
* @return The bytes of the unblockingVids at the given index.
*/
public com.google.protobuf.ByteString
getUnblockingVidsBytes(int index) {
return unblockingVids_.getByteString(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 {
for (int i = 0; i < notExistVids_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, notExistVids_.getRaw(i));
}
for (int i = 0; i < blockedVids_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, blockedVids_.getRaw(i));
}
for (int i = 0; i < unblockingVids_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unblockingVids_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < notExistVids_.size(); i++) {
dataSize += computeStringSizeNoTag(notExistVids_.getRaw(i));
}
size += dataSize;
size += 1 * getNotExistVidsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < blockedVids_.size(); i++) {
dataSize += computeStringSizeNoTag(blockedVids_.getRaw(i));
}
size += dataSize;
size += 1 * getBlockedVidsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < unblockingVids_.size(); i++) {
dataSize += computeStringSizeNoTag(unblockingVids_.getRaw(i));
}
size += dataSize;
size += 1 * getUnblockingVidsList().size();
}
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.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult other = (com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult) obj;
if (!getNotExistVidsList()
.equals(other.getNotExistVidsList())) return false;
if (!getBlockedVidsList()
.equals(other.getBlockedVidsList())) return false;
if (!getUnblockingVidsList()
.equals(other.getUnblockingVidsList())) 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 (getNotExistVidsCount() > 0) {
hash = (37 * hash) + NOTEXISTVIDS_FIELD_NUMBER;
hash = (53 * hash) + getNotExistVidsList().hashCode();
}
if (getBlockedVidsCount() > 0) {
hash = (37 * hash) + BLOCKEDVIDS_FIELD_NUMBER;
hash = (53 * hash) + getBlockedVidsList().hashCode();
}
if (getUnblockingVidsCount() > 0) {
hash = (37 * hash) + UNBLOCKINGVIDS_FIELD_NUMBER;
hash = (53 * hash) + getUnblockingVidsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult 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.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult 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.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult 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.byteplus.service.vod.model.business.VodSubmitBlockMediaTaskResult 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;
}
/**
*
*
* repeated string NotExistVids = 1;
* @return A list containing the notExistVids.
*/
public com.google.protobuf.ProtocolStringList
getNotExistVidsList() {
return notExistVids_.getUnmodifiableView();
}
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @return The count of notExistVids.
*/
public int getNotExistVidsCount() {
return notExistVids_.size();
}
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @param index The index of the element to return.
* @return The notExistVids at the given index.
*/
public java.lang.String getNotExistVids(int index) {
return notExistVids_.get(index);
}
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @param index The index of the value to return.
* @return The bytes of the notExistVids at the given index.
*/
public com.google.protobuf.ByteString
getNotExistVidsBytes(int index) {
return notExistVids_.getByteString(index);
}
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @param index The index to set the value at.
* @param value The notExistVids to set.
* @return This builder for chaining.
*/
public Builder setNotExistVids(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNotExistVidsIsMutable();
notExistVids_.set(index, value);
onChanged();
return this;
}
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @param value The notExistVids to add.
* @return This builder for chaining.
*/
public Builder addNotExistVids(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureNotExistVidsIsMutable();
notExistVids_.add(value);
onChanged();
return this;
}
/**
*
* 不存在的Vid列表
*
*
* repeated string NotExistVids = 1;
* @param values The notExistVids to add.
* @return This builder for chaining.
*/
public Builder addAllNotExistVids(
java.lang.Iterable values) {
ensureNotExistVidsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, notExistVids_);
onChanged();
return this;
}
/**
*
*
* repeated string NotExistVids = 1;
* @param value The bytes of the notExistVids to add.
* @return This builder for chaining.
*/
public Builder addNotExistVidsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureNotExistVidsIsMutable();
notExistVids_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList blockedVids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBlockedVidsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
blockedVids_ = new com.google.protobuf.LazyStringArrayList(blockedVids_);
bitField0_ |= 0x00000002;
}
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @return A list containing the blockedVids.
*/
public com.google.protobuf.ProtocolStringList
getBlockedVidsList() {
return blockedVids_.getUnmodifiableView();
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @return The count of blockedVids.
*/
public int getBlockedVidsCount() {
return blockedVids_.size();
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @param index The index of the element to return.
* @return The blockedVids at the given index.
*/
public java.lang.String getBlockedVids(int index) {
return blockedVids_.get(index);
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @param index The index of the value to return.
* @return The bytes of the blockedVids at the given index.
*/
public com.google.protobuf.ByteString
getBlockedVidsBytes(int index) {
return blockedVids_.getByteString(index);
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @param index The index to set the value at.
* @param value The blockedVids to set.
* @return This builder for chaining.
*/
public Builder setBlockedVids(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBlockedVidsIsMutable();
blockedVids_.set(index, value);
onChanged();
return this;
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @param value The blockedVids to add.
* @return This builder for chaining.
*/
public Builder addBlockedVids(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBlockedVidsIsMutable();
blockedVids_.add(value);
onChanged();
return this;
}
/**
*
* 已封禁的Vid列表
*
*
* repeated string BlockedVids = 2;
* @param values The blockedVids to add.
* @return This builder for chaining.
*/
public Builder addAllBlockedVids(
java.lang.Iterable values) {
ensureBlockedVidsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, blockedVids_);
onChanged();
return this;
}
/**
*
*
* repeated string BlockedVids = 2;
* @param value The bytes of the blockedVids to add.
* @return This builder for chaining.
*/
public Builder addBlockedVidsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBlockedVidsIsMutable();
blockedVids_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList unblockingVids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureUnblockingVidsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
unblockingVids_ = new com.google.protobuf.LazyStringArrayList(unblockingVids_);
bitField0_ |= 0x00000004;
}
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @return A list containing the unblockingVids.
*/
public com.google.protobuf.ProtocolStringList
getUnblockingVidsList() {
return unblockingVids_.getUnmodifiableView();
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @return The count of unblockingVids.
*/
public int getUnblockingVidsCount() {
return unblockingVids_.size();
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @param index The index of the element to return.
* @return The unblockingVids at the given index.
*/
public java.lang.String getUnblockingVids(int index) {
return unblockingVids_.get(index);
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @param index The index of the value to return.
* @return The bytes of the unblockingVids at the given index.
*/
public com.google.protobuf.ByteString
getUnblockingVidsBytes(int index) {
return unblockingVids_.getByteString(index);
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @param index The index to set the value at.
* @param value The unblockingVids to set.
* @return This builder for chaining.
*/
public Builder setUnblockingVids(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUnblockingVidsIsMutable();
unblockingVids_.set(index, value);
onChanged();
return this;
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @param value The unblockingVids to add.
* @return This builder for chaining.
*/
public Builder addUnblockingVids(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUnblockingVidsIsMutable();
unblockingVids_.add(value);
onChanged();
return this;
}
/**
*
* 解封中的Vid列表
*
*
* repeated string UnblockingVids = 3;
* @param values The unblockingVids to add.
* @return This builder for chaining.
*/
public Builder addAllUnblockingVids(
java.lang.Iterable values) {
ensureUnblockingVidsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, unblockingVids_);
onChanged();
return this;
}
/**
*