Please wait. This can take some minutes ...
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.
com.byteplus.service.vod.model.business.VodCdnAccessLogInfo Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: byteplus/vod/business/vod_cdn.proto
package com.byteplus.service.vod.model.business;
/**
* Protobuf type {@code Byteplus.Vod.Models.Business.VodCdnAccessLogInfo}
*/
public final class VodCdnAccessLogInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Byteplus.Vod.Models.Business.VodCdnAccessLogInfo)
VodCdnAccessLogInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use VodCdnAccessLogInfo.newBuilder() to construct.
private VodCdnAccessLogInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private VodCdnAccessLogInfo() {
domain_ = "";
logList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VodCdnAccessLogInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private VodCdnAccessLogInfo(
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();
domain_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
logList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
logList_.add(
input.readMessage(com.byteplus.service.vod.model.business.VodCdnAccessLogElement.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)) {
logList_ = java.util.Collections.unmodifiableList(logList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodCdnAccessLogInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodCdnAccessLogInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodCdnAccessLogInfo.class, com.byteplus.service.vod.model.business.VodCdnAccessLogInfo.Builder.class);
}
public static final int DOMAIN_FIELD_NUMBER = 1;
private volatile java.lang.Object domain_;
/**
*
* 域名
*
*
* string Domain = 1;
* @return The domain.
*/
@java.lang.Override
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domain_ = s;
return s;
}
}
/**
*
* 域名
*
*
* string Domain = 1;
* @return The bytes for domain.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOGLIST_FIELD_NUMBER = 2;
private java.util.List logList_;
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
@java.lang.Override
public java.util.List getLogListList() {
return logList_;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
@java.lang.Override
public java.util.List extends com.byteplus.service.vod.model.business.VodCdnAccessLogElementOrBuilder>
getLogListOrBuilderList() {
return logList_;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
@java.lang.Override
public int getLogListCount() {
return logList_.size();
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodCdnAccessLogElement getLogList(int index) {
return logList_.get(index);
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
@java.lang.Override
public com.byteplus.service.vod.model.business.VodCdnAccessLogElementOrBuilder getLogListOrBuilder(
int index) {
return logList_.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_);
}
for (int i = 0; i < logList_.size(); i++) {
output.writeMessage(2, logList_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domain_);
}
for (int i = 0; i < logList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, logList_.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.VodCdnAccessLogInfo)) {
return super.equals(obj);
}
com.byteplus.service.vod.model.business.VodCdnAccessLogInfo other = (com.byteplus.service.vod.model.business.VodCdnAccessLogInfo) obj;
if (!getDomain()
.equals(other.getDomain())) return false;
if (!getLogListList()
.equals(other.getLogListList())) 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) + DOMAIN_FIELD_NUMBER;
hash = (53 * hash) + getDomain().hashCode();
if (getLogListCount() > 0) {
hash = (37 * hash) + LOGLIST_FIELD_NUMBER;
hash = (53 * hash) + getLogListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.byteplus.service.vod.model.business.VodCdnAccessLogInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.byteplus.service.vod.model.business.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo 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.VodCdnAccessLogInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Byteplus.Vod.Models.Business.VodCdnAccessLogInfo)
com.byteplus.service.vod.model.business.VodCdnAccessLogInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodCdnAccessLogInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodCdnAccessLogInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.byteplus.service.vod.model.business.VodCdnAccessLogInfo.class, com.byteplus.service.vod.model.business.VodCdnAccessLogInfo.Builder.class);
}
// Construct using com.byteplus.service.vod.model.business.VodCdnAccessLogInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLogListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
domain_ = "";
if (logListBuilder_ == null) {
logList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
logListBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.byteplus.service.vod.model.business.VodCdn.internal_static_Byteplus_Vod_Models_Business_VodCdnAccessLogInfo_descriptor;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodCdnAccessLogInfo getDefaultInstanceForType() {
return com.byteplus.service.vod.model.business.VodCdnAccessLogInfo.getDefaultInstance();
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodCdnAccessLogInfo build() {
com.byteplus.service.vod.model.business.VodCdnAccessLogInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.byteplus.service.vod.model.business.VodCdnAccessLogInfo buildPartial() {
com.byteplus.service.vod.model.business.VodCdnAccessLogInfo result = new com.byteplus.service.vod.model.business.VodCdnAccessLogInfo(this);
int from_bitField0_ = bitField0_;
result.domain_ = domain_;
if (logListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
logList_ = java.util.Collections.unmodifiableList(logList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.logList_ = logList_;
} else {
result.logList_ = logListBuilder_.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.VodCdnAccessLogInfo) {
return mergeFrom((com.byteplus.service.vod.model.business.VodCdnAccessLogInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.byteplus.service.vod.model.business.VodCdnAccessLogInfo other) {
if (other == com.byteplus.service.vod.model.business.VodCdnAccessLogInfo.getDefaultInstance()) return this;
if (!other.getDomain().isEmpty()) {
domain_ = other.domain_;
onChanged();
}
if (logListBuilder_ == null) {
if (!other.logList_.isEmpty()) {
if (logList_.isEmpty()) {
logList_ = other.logList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLogListIsMutable();
logList_.addAll(other.logList_);
}
onChanged();
}
} else {
if (!other.logList_.isEmpty()) {
if (logListBuilder_.isEmpty()) {
logListBuilder_.dispose();
logListBuilder_ = null;
logList_ = other.logList_;
bitField0_ = (bitField0_ & ~0x00000001);
logListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLogListFieldBuilder() : null;
} else {
logListBuilder_.addAllMessages(other.logList_);
}
}
}
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.VodCdnAccessLogInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.byteplus.service.vod.model.business.VodCdnAccessLogInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object domain_ = "";
/**
*
* 域名
*
*
* string Domain = 1;
* @return The domain.
*/
public java.lang.String getDomain() {
java.lang.Object ref = domain_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
domain_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* 域名
*
*
* string Domain = 1;
* @return The bytes for domain.
*/
public com.google.protobuf.ByteString
getDomainBytes() {
java.lang.Object ref = domain_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
domain_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* 域名
*
*
* string Domain = 1;
* @param value The domain to set.
* @return This builder for chaining.
*/
public Builder setDomain(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
domain_ = value;
onChanged();
return this;
}
/**
*
* 域名
*
*
* string Domain = 1;
* @return This builder for chaining.
*/
public Builder clearDomain() {
domain_ = getDefaultInstance().getDomain();
onChanged();
return this;
}
/**
*
* 域名
*
*
* string Domain = 1;
* @param value The bytes for domain to set.
* @return This builder for chaining.
*/
public Builder setDomainBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
domain_ = value;
onChanged();
return this;
}
private java.util.List logList_ =
java.util.Collections.emptyList();
private void ensureLogListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
logList_ = new java.util.ArrayList(logList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodCdnAccessLogElement, com.byteplus.service.vod.model.business.VodCdnAccessLogElement.Builder, com.byteplus.service.vod.model.business.VodCdnAccessLogElementOrBuilder> logListBuilder_;
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public java.util.List getLogListList() {
if (logListBuilder_ == null) {
return java.util.Collections.unmodifiableList(logList_);
} else {
return logListBuilder_.getMessageList();
}
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public int getLogListCount() {
if (logListBuilder_ == null) {
return logList_.size();
} else {
return logListBuilder_.getCount();
}
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public com.byteplus.service.vod.model.business.VodCdnAccessLogElement getLogList(int index) {
if (logListBuilder_ == null) {
return logList_.get(index);
} else {
return logListBuilder_.getMessage(index);
}
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public Builder setLogList(
int index, com.byteplus.service.vod.model.business.VodCdnAccessLogElement value) {
if (logListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLogListIsMutable();
logList_.set(index, value);
onChanged();
} else {
logListBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public Builder setLogList(
int index, com.byteplus.service.vod.model.business.VodCdnAccessLogElement.Builder builderForValue) {
if (logListBuilder_ == null) {
ensureLogListIsMutable();
logList_.set(index, builderForValue.build());
onChanged();
} else {
logListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public Builder addLogList(com.byteplus.service.vod.model.business.VodCdnAccessLogElement value) {
if (logListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLogListIsMutable();
logList_.add(value);
onChanged();
} else {
logListBuilder_.addMessage(value);
}
return this;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public Builder addLogList(
int index, com.byteplus.service.vod.model.business.VodCdnAccessLogElement value) {
if (logListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLogListIsMutable();
logList_.add(index, value);
onChanged();
} else {
logListBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public Builder addLogList(
com.byteplus.service.vod.model.business.VodCdnAccessLogElement.Builder builderForValue) {
if (logListBuilder_ == null) {
ensureLogListIsMutable();
logList_.add(builderForValue.build());
onChanged();
} else {
logListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public Builder addLogList(
int index, com.byteplus.service.vod.model.business.VodCdnAccessLogElement.Builder builderForValue) {
if (logListBuilder_ == null) {
ensureLogListIsMutable();
logList_.add(index, builderForValue.build());
onChanged();
} else {
logListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public Builder addAllLogList(
java.lang.Iterable extends com.byteplus.service.vod.model.business.VodCdnAccessLogElement> values) {
if (logListBuilder_ == null) {
ensureLogListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, logList_);
onChanged();
} else {
logListBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public Builder clearLogList() {
if (logListBuilder_ == null) {
logList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
logListBuilder_.clear();
}
return this;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public Builder removeLogList(int index) {
if (logListBuilder_ == null) {
ensureLogListIsMutable();
logList_.remove(index);
onChanged();
} else {
logListBuilder_.remove(index);
}
return this;
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public com.byteplus.service.vod.model.business.VodCdnAccessLogElement.Builder getLogListBuilder(
int index) {
return getLogListFieldBuilder().getBuilder(index);
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public com.byteplus.service.vod.model.business.VodCdnAccessLogElementOrBuilder getLogListOrBuilder(
int index) {
if (logListBuilder_ == null) {
return logList_.get(index); } else {
return logListBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public java.util.List extends com.byteplus.service.vod.model.business.VodCdnAccessLogElementOrBuilder>
getLogListOrBuilderList() {
if (logListBuilder_ != null) {
return logListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(logList_);
}
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public com.byteplus.service.vod.model.business.VodCdnAccessLogElement.Builder addLogListBuilder() {
return getLogListFieldBuilder().addBuilder(
com.byteplus.service.vod.model.business.VodCdnAccessLogElement.getDefaultInstance());
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public com.byteplus.service.vod.model.business.VodCdnAccessLogElement.Builder addLogListBuilder(
int index) {
return getLogListFieldBuilder().addBuilder(
index, com.byteplus.service.vod.model.business.VodCdnAccessLogElement.getDefaultInstance());
}
/**
*
* 日志列表
*
*
* repeated .Byteplus.Vod.Models.Business.VodCdnAccessLogElement LogList = 2;
*/
public java.util.List
getLogListBuilderList() {
return getLogListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodCdnAccessLogElement, com.byteplus.service.vod.model.business.VodCdnAccessLogElement.Builder, com.byteplus.service.vod.model.business.VodCdnAccessLogElementOrBuilder>
getLogListFieldBuilder() {
if (logListBuilder_ == null) {
logListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.byteplus.service.vod.model.business.VodCdnAccessLogElement, com.byteplus.service.vod.model.business.VodCdnAccessLogElement.Builder, com.byteplus.service.vod.model.business.VodCdnAccessLogElementOrBuilder>(
logList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
logList_ = null;
}
return logListBuilder_;
}
@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:Byteplus.Vod.Models.Business.VodCdnAccessLogInfo)
}
// @@protoc_insertion_point(class_scope:Byteplus.Vod.Models.Business.VodCdnAccessLogInfo)
private static final com.byteplus.service.vod.model.business.VodCdnAccessLogInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.byteplus.service.vod.model.business.VodCdnAccessLogInfo();
}
public static com.byteplus.service.vod.model.business.VodCdnAccessLogInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public VodCdnAccessLogInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new VodCdnAccessLogInfo(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.byteplus.service.vod.model.business.VodCdnAccessLogInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}