// Generated by the protocol buffer compiler. DO NOT EDIT! // source: site/api_plugin_list.proto package com.akaxin.proto.site; public final class ApiPluginListProto { private ApiPluginListProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } public interface ApiPluginListRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:site.ApiPluginListRequest) com.google.protobuf.MessageOrBuilder { /** *
*分页:第几页 ** *
int32 page_number = 1;
*/
int getPageNumber();
/**
* *分页:每页条数 ** *
int32 page_size = 2;
*/
int getPageSize();
/**
* *查询扩展的状态 ** *
.core.PluginPosition position = 3;
*/
int getPositionValue();
/**
* *查询扩展的状态 ** *
.core.PluginPosition position = 3;
*/
com.akaxin.proto.core.PluginProto.PluginPosition getPosition();
}
/**
* Protobuf type {@code site.ApiPluginListRequest}
*/
public static final class ApiPluginListRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:site.ApiPluginListRequest)
ApiPluginListRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ApiPluginListRequest.newBuilder() to construct.
private ApiPluginListRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ApiPluginListRequest() {
pageNumber_ = 0;
pageSize_ = 0;
position_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ApiPluginListRequest(
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;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
pageNumber_ = input.readInt32();
break;
}
case 16: {
pageSize_ = input.readInt32();
break;
}
case 24: {
int rawValue = input.readEnum();
position_ = rawValue;
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.akaxin.proto.site.ApiPluginListProto.internal_static_site_ApiPluginListRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.site.ApiPluginListProto.internal_static_site_ApiPluginListRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest.class, com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest.Builder.class);
}
public static final int PAGE_NUMBER_FIELD_NUMBER = 1;
private int pageNumber_;
/**
* *分页:第几页 ** *
int32 page_number = 1;
*/
public int getPageNumber() {
return pageNumber_;
}
public static final int PAGE_SIZE_FIELD_NUMBER = 2;
private int pageSize_;
/**
* *分页:每页条数 ** *
int32 page_size = 2;
*/
public int getPageSize() {
return pageSize_;
}
public static final int POSITION_FIELD_NUMBER = 3;
private int position_;
/**
* *查询扩展的状态 ** *
.core.PluginPosition position = 3;
*/
public int getPositionValue() {
return position_;
}
/**
* *查询扩展的状态 ** *
.core.PluginPosition position = 3;
*/
public com.akaxin.proto.core.PluginProto.PluginPosition getPosition() {
com.akaxin.proto.core.PluginProto.PluginPosition result = com.akaxin.proto.core.PluginProto.PluginPosition.valueOf(position_);
return result == null ? com.akaxin.proto.core.PluginProto.PluginPosition.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (pageNumber_ != 0) {
output.writeInt32(1, pageNumber_);
}
if (pageSize_ != 0) {
output.writeInt32(2, pageSize_);
}
if (position_ != com.akaxin.proto.core.PluginProto.PluginPosition.HOME_PAGE.getNumber()) {
output.writeEnum(3, position_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (pageNumber_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, pageNumber_);
}
if (pageSize_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, pageSize_);
}
if (position_ != com.akaxin.proto.core.PluginProto.PluginPosition.HOME_PAGE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, position_);
}
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.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest)) {
return super.equals(obj);
}
com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest other = (com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest) obj;
boolean result = true;
result = result && (getPageNumber()
== other.getPageNumber());
result = result && (getPageSize()
== other.getPageSize());
result = result && position_ == other.position_;
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PAGE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getPageNumber();
hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getPageSize();
hash = (37 * hash) + POSITION_FIELD_NUMBER;
hash = (53 * hash) + position_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest 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.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest 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.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 site.ApiPluginListRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*分页:第几页 ** *
int32 page_number = 1;
*/
public int getPageNumber() {
return pageNumber_;
}
/**
* *分页:第几页 ** *
int32 page_number = 1;
*/
public Builder setPageNumber(int value) {
pageNumber_ = value;
onChanged();
return this;
}
/**
* *分页:第几页 ** *
int32 page_number = 1;
*/
public Builder clearPageNumber() {
pageNumber_ = 0;
onChanged();
return this;
}
private int pageSize_ ;
/**
* *分页:每页条数 ** *
int32 page_size = 2;
*/
public int getPageSize() {
return pageSize_;
}
/**
* *分页:每页条数 ** *
int32 page_size = 2;
*/
public Builder setPageSize(int value) {
pageSize_ = value;
onChanged();
return this;
}
/**
* *分页:每页条数 ** *
int32 page_size = 2;
*/
public Builder clearPageSize() {
pageSize_ = 0;
onChanged();
return this;
}
private int position_ = 0;
/**
* *查询扩展的状态 ** *
.core.PluginPosition position = 3;
*/
public int getPositionValue() {
return position_;
}
/**
* *查询扩展的状态 ** *
.core.PluginPosition position = 3;
*/
public Builder setPositionValue(int value) {
position_ = value;
onChanged();
return this;
}
/**
* *查询扩展的状态 ** *
.core.PluginPosition position = 3;
*/
public com.akaxin.proto.core.PluginProto.PluginPosition getPosition() {
com.akaxin.proto.core.PluginProto.PluginPosition result = com.akaxin.proto.core.PluginProto.PluginPosition.valueOf(position_);
return result == null ? com.akaxin.proto.core.PluginProto.PluginPosition.UNRECOGNIZED : result;
}
/**
* *查询扩展的状态 ** *
.core.PluginPosition position = 3;
*/
public Builder setPosition(com.akaxin.proto.core.PluginProto.PluginPosition value) {
if (value == null) {
throw new NullPointerException();
}
position_ = value.getNumber();
onChanged();
return this;
}
/**
* *查询扩展的状态 ** *
.core.PluginPosition position = 3;
*/
public Builder clearPosition() {
position_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:site.ApiPluginListRequest)
}
// @@protoc_insertion_point(class_scope:site.ApiPluginListRequest)
private static final com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest();
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser*获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
java.util.List*获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
com.akaxin.proto.core.PluginProto.Plugin getPlugin(int index);
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
int getPluginCount();
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
java.util.List extends com.akaxin.proto.core.PluginProto.PluginOrBuilder>
getPluginOrBuilderList();
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
com.akaxin.proto.core.PluginProto.PluginOrBuilder getPluginOrBuilder(
int index);
}
/**
* Protobuf type {@code site.ApiPluginListResponse}
*/
public static final class ApiPluginListResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:site.ApiPluginListResponse)
ApiPluginListResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ApiPluginListResponse.newBuilder() to construct.
private ApiPluginListResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ApiPluginListResponse() {
plugin_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ApiPluginListResponse(
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;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
plugin_ = new java.util.ArrayList*获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public java.util.List*获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public java.util.List extends com.akaxin.proto.core.PluginProto.PluginOrBuilder>
getPluginOrBuilderList() {
return plugin_;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public int getPluginCount() {
return plugin_.size();
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public com.akaxin.proto.core.PluginProto.Plugin getPlugin(int index) {
return plugin_.get(index);
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public com.akaxin.proto.core.PluginProto.PluginOrBuilder getPluginOrBuilder(
int index) {
return plugin_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < plugin_.size(); i++) {
output.writeMessage(1, plugin_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < plugin_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, plugin_.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.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse)) {
return super.equals(obj);
}
com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse other = (com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse) obj;
boolean result = true;
result = result && getPluginList()
.equals(other.getPluginList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getPluginCount() > 0) {
hash = (37 * hash) + PLUGIN_FIELD_NUMBER;
hash = (53 * hash) + getPluginList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse 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.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse 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.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.akaxin.proto.site.ApiPluginListProto.ApiPluginListResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 site.ApiPluginListResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public java.util.List*获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public int getPluginCount() {
if (pluginBuilder_ == null) {
return plugin_.size();
} else {
return pluginBuilder_.getCount();
}
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public com.akaxin.proto.core.PluginProto.Plugin getPlugin(int index) {
if (pluginBuilder_ == null) {
return plugin_.get(index);
} else {
return pluginBuilder_.getMessage(index);
}
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public Builder setPlugin(
int index, com.akaxin.proto.core.PluginProto.Plugin value) {
if (pluginBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePluginIsMutable();
plugin_.set(index, value);
onChanged();
} else {
pluginBuilder_.setMessage(index, value);
}
return this;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public Builder setPlugin(
int index, com.akaxin.proto.core.PluginProto.Plugin.Builder builderForValue) {
if (pluginBuilder_ == null) {
ensurePluginIsMutable();
plugin_.set(index, builderForValue.build());
onChanged();
} else {
pluginBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public Builder addPlugin(com.akaxin.proto.core.PluginProto.Plugin value) {
if (pluginBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePluginIsMutable();
plugin_.add(value);
onChanged();
} else {
pluginBuilder_.addMessage(value);
}
return this;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public Builder addPlugin(
int index, com.akaxin.proto.core.PluginProto.Plugin value) {
if (pluginBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePluginIsMutable();
plugin_.add(index, value);
onChanged();
} else {
pluginBuilder_.addMessage(index, value);
}
return this;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public Builder addPlugin(
com.akaxin.proto.core.PluginProto.Plugin.Builder builderForValue) {
if (pluginBuilder_ == null) {
ensurePluginIsMutable();
plugin_.add(builderForValue.build());
onChanged();
} else {
pluginBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public Builder addPlugin(
int index, com.akaxin.proto.core.PluginProto.Plugin.Builder builderForValue) {
if (pluginBuilder_ == null) {
ensurePluginIsMutable();
plugin_.add(index, builderForValue.build());
onChanged();
} else {
pluginBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public Builder addAllPlugin(
java.lang.Iterable extends com.akaxin.proto.core.PluginProto.Plugin> values) {
if (pluginBuilder_ == null) {
ensurePluginIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, plugin_);
onChanged();
} else {
pluginBuilder_.addAllMessages(values);
}
return this;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public Builder clearPlugin() {
if (pluginBuilder_ == null) {
plugin_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
pluginBuilder_.clear();
}
return this;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public Builder removePlugin(int index) {
if (pluginBuilder_ == null) {
ensurePluginIsMutable();
plugin_.remove(index);
onChanged();
} else {
pluginBuilder_.remove(index);
}
return this;
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public com.akaxin.proto.core.PluginProto.Plugin.Builder getPluginBuilder(
int index) {
return getPluginFieldBuilder().getBuilder(index);
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public com.akaxin.proto.core.PluginProto.PluginOrBuilder getPluginOrBuilder(
int index) {
if (pluginBuilder_ == null) {
return plugin_.get(index); } else {
return pluginBuilder_.getMessageOrBuilder(index);
}
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public java.util.List extends com.akaxin.proto.core.PluginProto.PluginOrBuilder>
getPluginOrBuilderList() {
if (pluginBuilder_ != null) {
return pluginBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(plugin_);
}
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public com.akaxin.proto.core.PluginProto.Plugin.Builder addPluginBuilder() {
return getPluginFieldBuilder().addBuilder(
com.akaxin.proto.core.PluginProto.Plugin.getDefaultInstance());
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public com.akaxin.proto.core.PluginProto.Plugin.Builder addPluginBuilder(
int index) {
return getPluginFieldBuilder().addBuilder(
index, com.akaxin.proto.core.PluginProto.Plugin.getDefaultInstance());
}
/**
* *获取插件列表数据 ** *
repeated .core.Plugin plugin = 1;
*/
public java.util.List