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_space.proto
package com.byteplus.service.vod.model.business;
/**
* Protobuf type {@code Byteplus.Vod.Models.Business.VodDescribeVodSpaceStorageDataResult}
*/
public final class VodDescribeVodSpaceStorageDataResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodDescribeVodSpaceStorageDataResult)
VodDescribeVodSpaceStorageDataResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodDescribeVodSpaceStorageDataResult.newBuilder() to construct.
private VodDescribeVodSpaceStorageDataResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodDescribeVodSpaceStorageDataResult() {
spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
startTime_ = "";
endTime_ = "";
type_ = "";
storageDataList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodDescribeVodSpaceStorageDataResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodDescribeVodSpaceStorageDataResult(
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)) {
spaceList_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
spaceList_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
startTime_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
endTime_ = s;
break;
}
case 32: {
aggregation_ = input.readInt32();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
type_ = s;
break;
}
case 48: {
latestStorageData_ = input.readInt64();
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
storageDataList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
storageDataList_.add(
input.readMessage(com.byteplus.service.vod.model.business.VodStorageData.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)) {
spaceList_ = spaceList_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
storageDataList_ = java.util.Collections.unmodifiableList(storageDataList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodSpace.internal_static_Byteplus_Vod_Models_Business_VodDescribeVodSpaceStorageDataResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodSpace.internal_static_Byteplus_Vod_Models_Business_VodDescribeVodSpaceStorageDataResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.class, com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.Builder.class);
}
public static final int SPACELIST_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList spaceList_;
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @return A list containing the spaceList.
*/
public com.google.protobuf.ProtocolStringList
getSpaceListList() {
return spaceList_;
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @return The count of spaceList.
*/
public int getSpaceListCount() {
return spaceList_.size();
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @param index The index of the element to return.
* @return The spaceList at the given index.
*/
public java.lang.String getSpaceList(int index) {
return spaceList_.get(index);
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @param index The index of the value to return.
* @return The bytes of the spaceList at the given index.
*/
public com.google.protobuf.ByteString
getSpaceListBytes(int index) {
return spaceList_.getByteString(index);
}
public static final int STARTTIME_FIELD_NUMBER = 2;
private volatile java.lang.Object startTime_;
/**
*
*
* repeated .Byteplus.Vod.Models.Business.VodStorageData StorageDataList = 7;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodStorageDataOrBuilder getStorageDataListOrBuilder(
int index) {
return storageDataList_.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 {
for (int i = 0; i < spaceList_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, spaceList_.getRaw(i));
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endTime_);
}
if (aggregation_ != 0) {
output.writeInt32(4, aggregation_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, type_);
}
if (latestStorageData_ != 0L) {
output.writeInt64(6, latestStorageData_);
}
for (int i = 0; i < storageDataList_.size(); i++) {
output.writeMessage(7, storageDataList_.get(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 < spaceList_.size(); i++) {
dataSize += computeStringSizeNoTag(spaceList_.getRaw(i));
}
size += dataSize;
size += 1 * getSpaceListList().size();
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, startTime_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endTime_);
}
if (aggregation_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, aggregation_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, type_);
}
if (latestStorageData_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, latestStorageData_);
}
for (int i = 0; i < storageDataList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, storageDataList_.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.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult other = (com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult) obj;
if (!getSpaceListList()
.equals(other.getSpaceListList())) return false;
if (!getStartTime()
.equals(other.getStartTime())) return false;
if (!getEndTime()
.equals(other.getEndTime())) return false;
if (getAggregation()
!= other.getAggregation()) return false;
if (!getType()
.equals(other.getType())) return false;
if (getLatestStorageData()
!= other.getLatestStorageData()) return false;
if (!getStorageDataListList()
.equals(other.getStorageDataListList())) 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 (getSpaceListCount() > 0) {
hash = (37 * hash) + SPACELIST_FIELD_NUMBER;
hash = (53 * hash) + getSpaceListList().hashCode();
}
hash = (37 * hash) + STARTTIME_FIELD_NUMBER;
hash = (53 * hash) + getStartTime().hashCode();
hash = (37 * hash) + ENDTIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime().hashCode();
hash = (37 * hash) + AGGREGATION_FIELD_NUMBER;
hash = (53 * hash) + getAggregation();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
hash = (37 * hash) + LATESTSTORAGEDATA_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLatestStorageData());
if (getStorageDataListCount() > 0) {
hash = (37 * hash) + STORAGEDATALIST_FIELD_NUMBER;
hash = (53 * hash) + getStorageDataListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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.VodDescribeVodSpaceStorageDataResult 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 Byteplus.Vod.Models.Business.VodDescribeVodSpaceStorageDataResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodDescribeVodSpaceStorageDataResult)
com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodSpace.internal_static_Byteplus_Vod_Models_Business_VodDescribeVodSpaceStorageDataResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodSpace.internal_static_Byteplus_Vod_Models_Business_VodDescribeVodSpaceStorageDataResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.class, com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.Builder.class);
}
// Construct using com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStorageDataListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
startTime_ = "";
endTime_ = "";
aggregation_ = 0;
type_ = "";
latestStorageData_ = 0L;
if (storageDataListBuilder_ == null) {
storageDataList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
storageDataListBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.byteplus.service.vod.model.business.VodSpace.internal_static_Byteplus_Vod_Models_Business_VodDescribeVodSpaceStorageDataResult_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult getDefaultInstanceForType() {
return com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult build() {
com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult buildPartial() {
com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult result = new com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
spaceList_ = spaceList_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.spaceList_ = spaceList_;
result.startTime_ = startTime_;
result.endTime_ = endTime_;
result.aggregation_ = aggregation_;
result.type_ = type_;
result.latestStorageData_ = latestStorageData_;
if (storageDataListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
storageDataList_ = java.util.Collections.unmodifiableList(storageDataList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.storageDataList_ = storageDataList_;
} else {
result.storageDataList_ = storageDataListBuilder_.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.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult) {
return mergeFrom((com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult other) {
if (other == com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult.getDefaultInstance()) return this;
if (!other.spaceList_.isEmpty()) {
if (spaceList_.isEmpty()) {
spaceList_ = other.spaceList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSpaceListIsMutable();
spaceList_.addAll(other.spaceList_);
}
onChanged();
}
if (!other.getStartTime().isEmpty()) {
startTime_ = other.startTime_;
onChanged();
}
if (!other.getEndTime().isEmpty()) {
endTime_ = other.endTime_;
onChanged();
}
if (other.getAggregation() != 0) {
setAggregation(other.getAggregation());
}
if (!other.getType().isEmpty()) {
type_ = other.type_;
onChanged();
}
if (other.getLatestStorageData() != 0L) {
setLatestStorageData(other.getLatestStorageData());
}
if (storageDataListBuilder_ == null) {
if (!other.storageDataList_.isEmpty()) {
if (storageDataList_.isEmpty()) {
storageDataList_ = other.storageDataList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureStorageDataListIsMutable();
storageDataList_.addAll(other.storageDataList_);
}
onChanged();
}
} else {
if (!other.storageDataList_.isEmpty()) {
if (storageDataListBuilder_.isEmpty()) {
storageDataListBuilder_.dispose();
storageDataListBuilder_ = null;
storageDataList_ = other.storageDataList_;
bitField0_ = (bitField0_ & ~0x00000002);
storageDataListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStorageDataListFieldBuilder() : null;
} else {
storageDataListBuilder_.addAllMessages(other.storageDataList_);
}
}
}
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.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.business.VodDescribeVodSpaceStorageDataResult) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList spaceList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSpaceListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
spaceList_ = new com.google.protobuf.LazyStringArrayList(spaceList_);
bitField0_ |= 0x00000001;
}
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @return A list containing the spaceList.
*/
public com.google.protobuf.ProtocolStringList
getSpaceListList() {
return spaceList_.getUnmodifiableView();
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @return The count of spaceList.
*/
public int getSpaceListCount() {
return spaceList_.size();
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @param index The index of the element to return.
* @return The spaceList at the given index.
*/
public java.lang.String getSpaceList(int index) {
return spaceList_.get(index);
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @param index The index of the value to return.
* @return The bytes of the spaceList at the given index.
*/
public com.google.protobuf.ByteString
getSpaceListBytes(int index) {
return spaceList_.getByteString(index);
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @param index The index to set the value at.
* @param value The spaceList to set.
* @return This builder for chaining.
*/
public Builder setSpaceList(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSpaceListIsMutable();
spaceList_.set(index, value);
onChanged();
return this;
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @param value The spaceList to add.
* @return This builder for chaining.
*/
public Builder addSpaceList(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSpaceListIsMutable();
spaceList_.add(value);
onChanged();
return this;
}
/**
*
* Space Name list
*
*
* repeated string SpaceList = 1;
* @param values The spaceList to add.
* @return This builder for chaining.
*/
public Builder addAllSpaceList(
java.lang.Iterable values) {
ensureSpaceListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, spaceList_);
onChanged();
return this;
}
/**
*
*
* string Type = 5;
* @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* hot, lowfreq, punish
*
*
* string Type = 5;
* @return The bytes for type.
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* hot, lowfreq, punish
*
*
* string Type = 5;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
return this;
}
/**
*
* hot, lowfreq, punish
*
*
* string Type = 5;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
*
* hot, lowfreq, punish
*
*
* string Type = 5;
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
type_ = value;
onChanged();
return this;
}
private long latestStorageData_ ;
/**
*
* Byte of latest storage
*
*
* int64 LatestStorageData = 6;
* @return The latestStorageData.
*/
@java.lang.Override
public long getLatestStorageData() {
return latestStorageData_;
}
/**
*
* Byte of latest storage
*
*
* int64 LatestStorageData = 6;
* @param value The latestStorageData to set.
* @return This builder for chaining.
*/
public Builder setLatestStorageData(long value) {
latestStorageData_ = value;
onChanged();
return this;
}
/**
*