com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config_file.proto
package com.tencent.polaris.specification.api.v1.config.manage;
public final class ConfigFileProto {
private ConfigFileProto() {}
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 ConfigFileGroupOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFileGroup)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
com.google.protobuf.UInt64Value getId();
/**
* .google.protobuf.UInt64Value id = 1;
*/
com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder();
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
com.google.protobuf.StringValue getName();
/**
* .google.protobuf.StringValue name = 2;
*/
com.google.protobuf.StringValueOrBuilder getNameOrBuilder();
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
com.google.protobuf.StringValue getNamespace();
/**
* .google.protobuf.StringValue namespace = 3;
*/
com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder();
/**
* .google.protobuf.StringValue comment = 4;
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* .google.protobuf.StringValue comment = 4;
* @return The comment.
*/
com.google.protobuf.StringValue getComment();
/**
* .google.protobuf.StringValue comment = 4;
*/
com.google.protobuf.StringValueOrBuilder getCommentOrBuilder();
/**
* .google.protobuf.StringValue create_time = 5;
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* .google.protobuf.StringValue create_time = 5;
* @return The createTime.
*/
com.google.protobuf.StringValue getCreateTime();
/**
* .google.protobuf.StringValue create_time = 5;
*/
com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder();
/**
* .google.protobuf.StringValue create_by = 6;
* @return Whether the createBy field is set.
*/
boolean hasCreateBy();
/**
* .google.protobuf.StringValue create_by = 6;
* @return The createBy.
*/
com.google.protobuf.StringValue getCreateBy();
/**
* .google.protobuf.StringValue create_by = 6;
*/
com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder();
/**
* .google.protobuf.StringValue modify_time = 7;
* @return Whether the modifyTime field is set.
*/
boolean hasModifyTime();
/**
* .google.protobuf.StringValue modify_time = 7;
* @return The modifyTime.
*/
com.google.protobuf.StringValue getModifyTime();
/**
* .google.protobuf.StringValue modify_time = 7;
*/
com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder();
/**
* .google.protobuf.StringValue modify_by = 8;
* @return Whether the modifyBy field is set.
*/
boolean hasModifyBy();
/**
* .google.protobuf.StringValue modify_by = 8;
* @return The modifyBy.
*/
com.google.protobuf.StringValue getModifyBy();
/**
* .google.protobuf.StringValue modify_by = 8;
*/
com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder();
/**
* .google.protobuf.UInt64Value fileCount = 9;
* @return Whether the fileCount field is set.
*/
boolean hasFileCount();
/**
* .google.protobuf.UInt64Value fileCount = 9;
* @return The fileCount.
*/
com.google.protobuf.UInt64Value getFileCount();
/**
* .google.protobuf.UInt64Value fileCount = 9;
*/
com.google.protobuf.UInt64ValueOrBuilder getFileCountOrBuilder();
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
java.util.List
getUserIdsList();
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
com.google.protobuf.StringValue getUserIds(int index);
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
int getUserIdsCount();
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
java.util.List extends com.google.protobuf.StringValueOrBuilder>
getUserIdsOrBuilderList();
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
com.google.protobuf.StringValueOrBuilder getUserIdsOrBuilder(
int index);
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
java.util.List
getGroupIdsList();
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
com.google.protobuf.StringValue getGroupIds(int index);
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
int getGroupIdsCount();
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
java.util.List extends com.google.protobuf.StringValueOrBuilder>
getGroupIdsOrBuilderList();
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
com.google.protobuf.StringValueOrBuilder getGroupIdsOrBuilder(
int index);
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
java.util.List
getRemoveUserIdsList();
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
com.google.protobuf.StringValue getRemoveUserIds(int index);
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
int getRemoveUserIdsCount();
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
java.util.List extends com.google.protobuf.StringValueOrBuilder>
getRemoveUserIdsOrBuilderList();
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
com.google.protobuf.StringValueOrBuilder getRemoveUserIdsOrBuilder(
int index);
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
java.util.List
getRemoveGroupIdsList();
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
com.google.protobuf.StringValue getRemoveGroupIds(int index);
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
int getRemoveGroupIdsCount();
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
java.util.List extends com.google.protobuf.StringValueOrBuilder>
getRemoveGroupIdsOrBuilderList();
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
com.google.protobuf.StringValueOrBuilder getRemoveGroupIdsOrBuilder(
int index);
/**
* .google.protobuf.BoolValue editable = 15;
* @return Whether the editable field is set.
*/
boolean hasEditable();
/**
* .google.protobuf.BoolValue editable = 15;
* @return The editable.
*/
com.google.protobuf.BoolValue getEditable();
/**
* .google.protobuf.BoolValue editable = 15;
*/
com.google.protobuf.BoolValueOrBuilder getEditableOrBuilder();
/**
* .google.protobuf.StringValue owner = 16;
* @return Whether the owner field is set.
*/
boolean hasOwner();
/**
* .google.protobuf.StringValue owner = 16;
* @return The owner.
*/
com.google.protobuf.StringValue getOwner();
/**
* .google.protobuf.StringValue owner = 16;
*/
com.google.protobuf.StringValueOrBuilder getOwnerOrBuilder();
/**
* .google.protobuf.StringValue business = 17;
* @return Whether the business field is set.
*/
boolean hasBusiness();
/**
* .google.protobuf.StringValue business = 17;
* @return The business.
*/
com.google.protobuf.StringValue getBusiness();
/**
* .google.protobuf.StringValue business = 17;
*/
com.google.protobuf.StringValueOrBuilder getBusinessOrBuilder();
/**
* .google.protobuf.StringValue department = 18;
* @return Whether the department field is set.
*/
boolean hasDepartment();
/**
* .google.protobuf.StringValue department = 18;
* @return The department.
*/
com.google.protobuf.StringValue getDepartment();
/**
* .google.protobuf.StringValue department = 18;
*/
com.google.protobuf.StringValueOrBuilder getDepartmentOrBuilder();
/**
* map<string, string> metadata = 19;
*/
int getMetadataCount();
/**
* map<string, string> metadata = 19;
*/
boolean containsMetadata(
java.lang.String key);
/**
* Use {@link #getMetadataMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getMetadata();
/**
* map<string, string> metadata = 19;
*/
java.util.Map
getMetadataMap();
/**
* map<string, string> metadata = 19;
*/
/* nullable */
java.lang.String getMetadataOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
* map<string, string> metadata = 19;
*/
java.lang.String getMetadataOrThrow(
java.lang.String key);
}
/**
* Protobuf type {@code v1.ConfigFileGroup}
*/
public static final class ConfigFileGroup extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFileGroup)
ConfigFileGroupOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFileGroup.newBuilder() to construct.
private ConfigFileGroup(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigFileGroup() {
userIds_ = java.util.Collections.emptyList();
groupIds_ = java.util.Collections.emptyList();
removeUserIds_ = java.util.Collections.emptyList();
removeGroupIds_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFileGroup();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroup_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 19:
return internalGetMetadata();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroup_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private com.google.protobuf.UInt64Value id_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.UInt64Value getId() {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
@java.lang.Override
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
return getId();
}
public static final int NAME_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue name_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.StringValue getName() {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
/**
* .google.protobuf.StringValue name = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
return getName();
}
public static final int NAMESPACE_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue namespace_;
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
@java.lang.Override
public com.google.protobuf.StringValue getNamespace() {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
return getNamespace();
}
public static final int COMMENT_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue comment_;
/**
* .google.protobuf.StringValue comment = 4;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 4;
* @return The comment.
*/
@java.lang.Override
public com.google.protobuf.StringValue getComment() {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
/**
* .google.protobuf.StringValue comment = 4;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
return getComment();
}
public static final int CREATE_TIME_FIELD_NUMBER = 5;
private com.google.protobuf.StringValue createTime_;
/**
* .google.protobuf.StringValue create_time = 5;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 5;
* @return The createTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateTime() {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
/**
* .google.protobuf.StringValue create_time = 5;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
public static final int CREATE_BY_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue createBy_;
/**
* .google.protobuf.StringValue create_by = 6;
* @return Whether the createBy field is set.
*/
@java.lang.Override
public boolean hasCreateBy() {
return createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 6;
* @return The createBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateBy() {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
/**
* .google.protobuf.StringValue create_by = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
return getCreateBy();
}
public static final int MODIFY_TIME_FIELD_NUMBER = 7;
private com.google.protobuf.StringValue modifyTime_;
/**
* .google.protobuf.StringValue modify_time = 7;
* @return Whether the modifyTime field is set.
*/
@java.lang.Override
public boolean hasModifyTime() {
return modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 7;
* @return The modifyTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyTime() {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
/**
* .google.protobuf.StringValue modify_time = 7;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
return getModifyTime();
}
public static final int MODIFY_BY_FIELD_NUMBER = 8;
private com.google.protobuf.StringValue modifyBy_;
/**
* .google.protobuf.StringValue modify_by = 8;
* @return Whether the modifyBy field is set.
*/
@java.lang.Override
public boolean hasModifyBy() {
return modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 8;
* @return The modifyBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyBy() {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
/**
* .google.protobuf.StringValue modify_by = 8;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
return getModifyBy();
}
public static final int FILECOUNT_FIELD_NUMBER = 9;
private com.google.protobuf.UInt64Value fileCount_;
/**
* .google.protobuf.UInt64Value fileCount = 9;
* @return Whether the fileCount field is set.
*/
@java.lang.Override
public boolean hasFileCount() {
return fileCount_ != null;
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
* @return The fileCount.
*/
@java.lang.Override
public com.google.protobuf.UInt64Value getFileCount() {
return fileCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : fileCount_;
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
*/
@java.lang.Override
public com.google.protobuf.UInt64ValueOrBuilder getFileCountOrBuilder() {
return getFileCount();
}
public static final int USER_IDS_FIELD_NUMBER = 10;
private java.util.List userIds_;
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
@java.lang.Override
public java.util.List getUserIdsList() {
return userIds_;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
@java.lang.Override
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getUserIdsOrBuilderList() {
return userIds_;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
@java.lang.Override
public int getUserIdsCount() {
return userIds_.size();
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
@java.lang.Override
public com.google.protobuf.StringValue getUserIds(int index) {
return userIds_.get(index);
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getUserIdsOrBuilder(
int index) {
return userIds_.get(index);
}
public static final int GROUP_IDS_FIELD_NUMBER = 11;
private java.util.List groupIds_;
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
@java.lang.Override
public java.util.List getGroupIdsList() {
return groupIds_;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
@java.lang.Override
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getGroupIdsOrBuilderList() {
return groupIds_;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
@java.lang.Override
public int getGroupIdsCount() {
return groupIds_.size();
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
@java.lang.Override
public com.google.protobuf.StringValue getGroupIds(int index) {
return groupIds_.get(index);
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getGroupIdsOrBuilder(
int index) {
return groupIds_.get(index);
}
public static final int REMOVE_USER_IDS_FIELD_NUMBER = 13;
private java.util.List removeUserIds_;
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
@java.lang.Override
public java.util.List getRemoveUserIdsList() {
return removeUserIds_;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
@java.lang.Override
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getRemoveUserIdsOrBuilderList() {
return removeUserIds_;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
@java.lang.Override
public int getRemoveUserIdsCount() {
return removeUserIds_.size();
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
@java.lang.Override
public com.google.protobuf.StringValue getRemoveUserIds(int index) {
return removeUserIds_.get(index);
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getRemoveUserIdsOrBuilder(
int index) {
return removeUserIds_.get(index);
}
public static final int REMOVE_GROUP_IDS_FIELD_NUMBER = 14;
private java.util.List removeGroupIds_;
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
@java.lang.Override
public java.util.List getRemoveGroupIdsList() {
return removeGroupIds_;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
@java.lang.Override
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getRemoveGroupIdsOrBuilderList() {
return removeGroupIds_;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
@java.lang.Override
public int getRemoveGroupIdsCount() {
return removeGroupIds_.size();
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
@java.lang.Override
public com.google.protobuf.StringValue getRemoveGroupIds(int index) {
return removeGroupIds_.get(index);
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getRemoveGroupIdsOrBuilder(
int index) {
return removeGroupIds_.get(index);
}
public static final int EDITABLE_FIELD_NUMBER = 15;
private com.google.protobuf.BoolValue editable_;
/**
* .google.protobuf.BoolValue editable = 15;
* @return Whether the editable field is set.
*/
@java.lang.Override
public boolean hasEditable() {
return editable_ != null;
}
/**
* .google.protobuf.BoolValue editable = 15;
* @return The editable.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getEditable() {
return editable_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : editable_;
}
/**
* .google.protobuf.BoolValue editable = 15;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getEditableOrBuilder() {
return getEditable();
}
public static final int OWNER_FIELD_NUMBER = 16;
private com.google.protobuf.StringValue owner_;
/**
* .google.protobuf.StringValue owner = 16;
* @return Whether the owner field is set.
*/
@java.lang.Override
public boolean hasOwner() {
return owner_ != null;
}
/**
* .google.protobuf.StringValue owner = 16;
* @return The owner.
*/
@java.lang.Override
public com.google.protobuf.StringValue getOwner() {
return owner_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : owner_;
}
/**
* .google.protobuf.StringValue owner = 16;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getOwnerOrBuilder() {
return getOwner();
}
public static final int BUSINESS_FIELD_NUMBER = 17;
private com.google.protobuf.StringValue business_;
/**
* .google.protobuf.StringValue business = 17;
* @return Whether the business field is set.
*/
@java.lang.Override
public boolean hasBusiness() {
return business_ != null;
}
/**
* .google.protobuf.StringValue business = 17;
* @return The business.
*/
@java.lang.Override
public com.google.protobuf.StringValue getBusiness() {
return business_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : business_;
}
/**
* .google.protobuf.StringValue business = 17;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getBusinessOrBuilder() {
return getBusiness();
}
public static final int DEPARTMENT_FIELD_NUMBER = 18;
private com.google.protobuf.StringValue department_;
/**
* .google.protobuf.StringValue department = 18;
* @return Whether the department field is set.
*/
@java.lang.Override
public boolean hasDepartment() {
return department_ != null;
}
/**
* .google.protobuf.StringValue department = 18;
* @return The department.
*/
@java.lang.Override
public com.google.protobuf.StringValue getDepartment() {
return department_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : department_;
}
/**
* .google.protobuf.StringValue department = 18;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getDepartmentOrBuilder() {
return getDepartment();
}
public static final int METADATA_FIELD_NUMBER = 19;
private static final class MetadataDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroup_MetadataEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> metadata_;
private com.google.protobuf.MapField
internalGetMetadata() {
if (metadata_ == null) {
return com.google.protobuf.MapField.emptyMapField(
MetadataDefaultEntryHolder.defaultEntry);
}
return metadata_;
}
public int getMetadataCount() {
return internalGetMetadata().getMap().size();
}
/**
* map<string, string> metadata = 19;
*/
@java.lang.Override
public boolean containsMetadata(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetMetadata().getMap().containsKey(key);
}
/**
* Use {@link #getMetadataMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getMetadata() {
return getMetadataMap();
}
/**
* map<string, string> metadata = 19;
*/
@java.lang.Override
public java.util.Map getMetadataMap() {
return internalGetMetadata().getMap();
}
/**
* map<string, string> metadata = 19;
*/
@java.lang.Override
public java.lang.String getMetadataOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetMetadata().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> metadata = 19;
*/
@java.lang.Override
public java.lang.String getMetadataOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetMetadata().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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 (id_ != null) {
output.writeMessage(1, getId());
}
if (name_ != null) {
output.writeMessage(2, getName());
}
if (namespace_ != null) {
output.writeMessage(3, getNamespace());
}
if (comment_ != null) {
output.writeMessage(4, getComment());
}
if (createTime_ != null) {
output.writeMessage(5, getCreateTime());
}
if (createBy_ != null) {
output.writeMessage(6, getCreateBy());
}
if (modifyTime_ != null) {
output.writeMessage(7, getModifyTime());
}
if (modifyBy_ != null) {
output.writeMessage(8, getModifyBy());
}
if (fileCount_ != null) {
output.writeMessage(9, getFileCount());
}
for (int i = 0; i < userIds_.size(); i++) {
output.writeMessage(10, userIds_.get(i));
}
for (int i = 0; i < groupIds_.size(); i++) {
output.writeMessage(11, groupIds_.get(i));
}
for (int i = 0; i < removeUserIds_.size(); i++) {
output.writeMessage(13, removeUserIds_.get(i));
}
for (int i = 0; i < removeGroupIds_.size(); i++) {
output.writeMessage(14, removeGroupIds_.get(i));
}
if (editable_ != null) {
output.writeMessage(15, getEditable());
}
if (owner_ != null) {
output.writeMessage(16, getOwner());
}
if (business_ != null) {
output.writeMessage(17, getBusiness());
}
if (department_ != null) {
output.writeMessage(18, getDepartment());
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetMetadata(),
MetadataDefaultEntryHolder.defaultEntry,
19);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (id_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getId());
}
if (name_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getName());
}
if (namespace_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getNamespace());
}
if (comment_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getComment());
}
if (createTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getCreateTime());
}
if (createBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getCreateBy());
}
if (modifyTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getModifyTime());
}
if (modifyBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getModifyBy());
}
if (fileCount_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getFileCount());
}
for (int i = 0; i < userIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, userIds_.get(i));
}
for (int i = 0; i < groupIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, groupIds_.get(i));
}
for (int i = 0; i < removeUserIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, removeUserIds_.get(i));
}
for (int i = 0; i < removeGroupIds_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, removeGroupIds_.get(i));
}
if (editable_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getEditable());
}
if (owner_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getOwner());
}
if (business_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getBusiness());
}
if (department_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getDepartment());
}
for (java.util.Map.Entry entry
: internalGetMetadata().getMap().entrySet()) {
com.google.protobuf.MapEntry
metadata__ = MetadataDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, metadata__);
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (!getCreateTime()
.equals(other.getCreateTime())) return false;
}
if (hasCreateBy() != other.hasCreateBy()) return false;
if (hasCreateBy()) {
if (!getCreateBy()
.equals(other.getCreateBy())) return false;
}
if (hasModifyTime() != other.hasModifyTime()) return false;
if (hasModifyTime()) {
if (!getModifyTime()
.equals(other.getModifyTime())) return false;
}
if (hasModifyBy() != other.hasModifyBy()) return false;
if (hasModifyBy()) {
if (!getModifyBy()
.equals(other.getModifyBy())) return false;
}
if (hasFileCount() != other.hasFileCount()) return false;
if (hasFileCount()) {
if (!getFileCount()
.equals(other.getFileCount())) return false;
}
if (!getUserIdsList()
.equals(other.getUserIdsList())) return false;
if (!getGroupIdsList()
.equals(other.getGroupIdsList())) return false;
if (!getRemoveUserIdsList()
.equals(other.getRemoveUserIdsList())) return false;
if (!getRemoveGroupIdsList()
.equals(other.getRemoveGroupIdsList())) return false;
if (hasEditable() != other.hasEditable()) return false;
if (hasEditable()) {
if (!getEditable()
.equals(other.getEditable())) return false;
}
if (hasOwner() != other.hasOwner()) return false;
if (hasOwner()) {
if (!getOwner()
.equals(other.getOwner())) return false;
}
if (hasBusiness() != other.hasBusiness()) return false;
if (hasBusiness()) {
if (!getBusiness()
.equals(other.getBusiness())) return false;
}
if (hasDepartment() != other.hasDepartment()) return false;
if (hasDepartment()) {
if (!getDepartment()
.equals(other.getDepartment())) return false;
}
if (!internalGetMetadata().equals(
other.internalGetMetadata())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasCreateTime()) {
hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime().hashCode();
}
if (hasCreateBy()) {
hash = (37 * hash) + CREATE_BY_FIELD_NUMBER;
hash = (53 * hash) + getCreateBy().hashCode();
}
if (hasModifyTime()) {
hash = (37 * hash) + MODIFY_TIME_FIELD_NUMBER;
hash = (53 * hash) + getModifyTime().hashCode();
}
if (hasModifyBy()) {
hash = (37 * hash) + MODIFY_BY_FIELD_NUMBER;
hash = (53 * hash) + getModifyBy().hashCode();
}
if (hasFileCount()) {
hash = (37 * hash) + FILECOUNT_FIELD_NUMBER;
hash = (53 * hash) + getFileCount().hashCode();
}
if (getUserIdsCount() > 0) {
hash = (37 * hash) + USER_IDS_FIELD_NUMBER;
hash = (53 * hash) + getUserIdsList().hashCode();
}
if (getGroupIdsCount() > 0) {
hash = (37 * hash) + GROUP_IDS_FIELD_NUMBER;
hash = (53 * hash) + getGroupIdsList().hashCode();
}
if (getRemoveUserIdsCount() > 0) {
hash = (37 * hash) + REMOVE_USER_IDS_FIELD_NUMBER;
hash = (53 * hash) + getRemoveUserIdsList().hashCode();
}
if (getRemoveGroupIdsCount() > 0) {
hash = (37 * hash) + REMOVE_GROUP_IDS_FIELD_NUMBER;
hash = (53 * hash) + getRemoveGroupIdsList().hashCode();
}
if (hasEditable()) {
hash = (37 * hash) + EDITABLE_FIELD_NUMBER;
hash = (53 * hash) + getEditable().hashCode();
}
if (hasOwner()) {
hash = (37 * hash) + OWNER_FIELD_NUMBER;
hash = (53 * hash) + getOwner().hashCode();
}
if (hasBusiness()) {
hash = (37 * hash) + BUSINESS_FIELD_NUMBER;
hash = (53 * hash) + getBusiness().hashCode();
}
if (hasDepartment()) {
hash = (37 * hash) + DEPARTMENT_FIELD_NUMBER;
hash = (53 * hash) + getDepartment().hashCode();
}
if (!internalGetMetadata().getMap().isEmpty()) {
hash = (37 * hash) + METADATA_FIELD_NUMBER;
hash = (53 * hash) + internalGetMetadata().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup 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 v1.ConfigFileGroup}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFileGroup)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroup_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 19:
return internalGetMetadata();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 19:
return internalGetMutableMetadata();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroup_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (idBuilder_ == null) {
id_ = null;
} else {
id_ = null;
idBuilder_ = null;
}
if (nameBuilder_ == null) {
name_ = null;
} else {
name_ = null;
nameBuilder_ = null;
}
if (namespaceBuilder_ == null) {
namespace_ = null;
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
if (commentBuilder_ == null) {
comment_ = null;
} else {
comment_ = null;
commentBuilder_ = null;
}
if (createTimeBuilder_ == null) {
createTime_ = null;
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
if (createByBuilder_ == null) {
createBy_ = null;
} else {
createBy_ = null;
createByBuilder_ = null;
}
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
if (modifyByBuilder_ == null) {
modifyBy_ = null;
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
if (fileCountBuilder_ == null) {
fileCount_ = null;
} else {
fileCount_ = null;
fileCountBuilder_ = null;
}
if (userIdsBuilder_ == null) {
userIds_ = java.util.Collections.emptyList();
} else {
userIds_ = null;
userIdsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (groupIdsBuilder_ == null) {
groupIds_ = java.util.Collections.emptyList();
} else {
groupIds_ = null;
groupIdsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (removeUserIdsBuilder_ == null) {
removeUserIds_ = java.util.Collections.emptyList();
} else {
removeUserIds_ = null;
removeUserIdsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (removeGroupIdsBuilder_ == null) {
removeGroupIds_ = java.util.Collections.emptyList();
} else {
removeGroupIds_ = null;
removeGroupIdsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (editableBuilder_ == null) {
editable_ = null;
} else {
editable_ = null;
editableBuilder_ = null;
}
if (ownerBuilder_ == null) {
owner_ = null;
} else {
owner_ = null;
ownerBuilder_ = null;
}
if (businessBuilder_ == null) {
business_ = null;
} else {
business_ = null;
businessBuilder_ = null;
}
if (departmentBuilder_ == null) {
department_ = null;
} else {
department_ = null;
departmentBuilder_ = null;
}
internalGetMutableMetadata().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroup_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup(this);
int from_bitField0_ = bitField0_;
if (idBuilder_ == null) {
result.id_ = id_;
} else {
result.id_ = idBuilder_.build();
}
if (nameBuilder_ == null) {
result.name_ = name_;
} else {
result.name_ = nameBuilder_.build();
}
if (namespaceBuilder_ == null) {
result.namespace_ = namespace_;
} else {
result.namespace_ = namespaceBuilder_.build();
}
if (commentBuilder_ == null) {
result.comment_ = comment_;
} else {
result.comment_ = commentBuilder_.build();
}
if (createTimeBuilder_ == null) {
result.createTime_ = createTime_;
} else {
result.createTime_ = createTimeBuilder_.build();
}
if (createByBuilder_ == null) {
result.createBy_ = createBy_;
} else {
result.createBy_ = createByBuilder_.build();
}
if (modifyTimeBuilder_ == null) {
result.modifyTime_ = modifyTime_;
} else {
result.modifyTime_ = modifyTimeBuilder_.build();
}
if (modifyByBuilder_ == null) {
result.modifyBy_ = modifyBy_;
} else {
result.modifyBy_ = modifyByBuilder_.build();
}
if (fileCountBuilder_ == null) {
result.fileCount_ = fileCount_;
} else {
result.fileCount_ = fileCountBuilder_.build();
}
if (userIdsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
userIds_ = java.util.Collections.unmodifiableList(userIds_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.userIds_ = userIds_;
} else {
result.userIds_ = userIdsBuilder_.build();
}
if (groupIdsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
groupIds_ = java.util.Collections.unmodifiableList(groupIds_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.groupIds_ = groupIds_;
} else {
result.groupIds_ = groupIdsBuilder_.build();
}
if (removeUserIdsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
removeUserIds_ = java.util.Collections.unmodifiableList(removeUserIds_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.removeUserIds_ = removeUserIds_;
} else {
result.removeUserIds_ = removeUserIdsBuilder_.build();
}
if (removeGroupIdsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
removeGroupIds_ = java.util.Collections.unmodifiableList(removeGroupIds_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.removeGroupIds_ = removeGroupIds_;
} else {
result.removeGroupIds_ = removeGroupIdsBuilder_.build();
}
if (editableBuilder_ == null) {
result.editable_ = editable_;
} else {
result.editable_ = editableBuilder_.build();
}
if (ownerBuilder_ == null) {
result.owner_ = owner_;
} else {
result.owner_ = ownerBuilder_.build();
}
if (businessBuilder_ == null) {
result.business_ = business_;
} else {
result.business_ = businessBuilder_.build();
}
if (departmentBuilder_ == null) {
result.department_ = department_;
} else {
result.department_ = departmentBuilder_.build();
}
result.metadata_ = internalGetMetadata();
result.metadata_.makeImmutable();
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance()) return this;
if (other.hasId()) {
mergeId(other.getId());
}
if (other.hasName()) {
mergeName(other.getName());
}
if (other.hasNamespace()) {
mergeNamespace(other.getNamespace());
}
if (other.hasComment()) {
mergeComment(other.getComment());
}
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
if (other.hasCreateBy()) {
mergeCreateBy(other.getCreateBy());
}
if (other.hasModifyTime()) {
mergeModifyTime(other.getModifyTime());
}
if (other.hasModifyBy()) {
mergeModifyBy(other.getModifyBy());
}
if (other.hasFileCount()) {
mergeFileCount(other.getFileCount());
}
if (userIdsBuilder_ == null) {
if (!other.userIds_.isEmpty()) {
if (userIds_.isEmpty()) {
userIds_ = other.userIds_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureUserIdsIsMutable();
userIds_.addAll(other.userIds_);
}
onChanged();
}
} else {
if (!other.userIds_.isEmpty()) {
if (userIdsBuilder_.isEmpty()) {
userIdsBuilder_.dispose();
userIdsBuilder_ = null;
userIds_ = other.userIds_;
bitField0_ = (bitField0_ & ~0x00000001);
userIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getUserIdsFieldBuilder() : null;
} else {
userIdsBuilder_.addAllMessages(other.userIds_);
}
}
}
if (groupIdsBuilder_ == null) {
if (!other.groupIds_.isEmpty()) {
if (groupIds_.isEmpty()) {
groupIds_ = other.groupIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureGroupIdsIsMutable();
groupIds_.addAll(other.groupIds_);
}
onChanged();
}
} else {
if (!other.groupIds_.isEmpty()) {
if (groupIdsBuilder_.isEmpty()) {
groupIdsBuilder_.dispose();
groupIdsBuilder_ = null;
groupIds_ = other.groupIds_;
bitField0_ = (bitField0_ & ~0x00000002);
groupIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupIdsFieldBuilder() : null;
} else {
groupIdsBuilder_.addAllMessages(other.groupIds_);
}
}
}
if (removeUserIdsBuilder_ == null) {
if (!other.removeUserIds_.isEmpty()) {
if (removeUserIds_.isEmpty()) {
removeUserIds_ = other.removeUserIds_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureRemoveUserIdsIsMutable();
removeUserIds_.addAll(other.removeUserIds_);
}
onChanged();
}
} else {
if (!other.removeUserIds_.isEmpty()) {
if (removeUserIdsBuilder_.isEmpty()) {
removeUserIdsBuilder_.dispose();
removeUserIdsBuilder_ = null;
removeUserIds_ = other.removeUserIds_;
bitField0_ = (bitField0_ & ~0x00000004);
removeUserIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRemoveUserIdsFieldBuilder() : null;
} else {
removeUserIdsBuilder_.addAllMessages(other.removeUserIds_);
}
}
}
if (removeGroupIdsBuilder_ == null) {
if (!other.removeGroupIds_.isEmpty()) {
if (removeGroupIds_.isEmpty()) {
removeGroupIds_ = other.removeGroupIds_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureRemoveGroupIdsIsMutable();
removeGroupIds_.addAll(other.removeGroupIds_);
}
onChanged();
}
} else {
if (!other.removeGroupIds_.isEmpty()) {
if (removeGroupIdsBuilder_.isEmpty()) {
removeGroupIdsBuilder_.dispose();
removeGroupIdsBuilder_ = null;
removeGroupIds_ = other.removeGroupIds_;
bitField0_ = (bitField0_ & ~0x00000008);
removeGroupIdsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRemoveGroupIdsFieldBuilder() : null;
} else {
removeGroupIdsBuilder_.addAllMessages(other.removeGroupIds_);
}
}
}
if (other.hasEditable()) {
mergeEditable(other.getEditable());
}
if (other.hasOwner()) {
mergeOwner(other.getOwner());
}
if (other.hasBusiness()) {
mergeBusiness(other.getBusiness());
}
if (other.hasDepartment()) {
mergeDepartment(other.getDepartment());
}
internalGetMutableMetadata().mergeFrom(
other.internalGetMetadata());
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getIdFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getNamespaceFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getCommentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getCreateTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
input.readMessage(
getCreateByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 50
case 58: {
input.readMessage(
getModifyTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 58
case 66: {
input.readMessage(
getModifyByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 66
case 74: {
input.readMessage(
getFileCountFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 74
case 82: {
com.google.protobuf.StringValue m =
input.readMessage(
com.google.protobuf.StringValue.parser(),
extensionRegistry);
if (userIdsBuilder_ == null) {
ensureUserIdsIsMutable();
userIds_.add(m);
} else {
userIdsBuilder_.addMessage(m);
}
break;
} // case 82
case 90: {
com.google.protobuf.StringValue m =
input.readMessage(
com.google.protobuf.StringValue.parser(),
extensionRegistry);
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
groupIds_.add(m);
} else {
groupIdsBuilder_.addMessage(m);
}
break;
} // case 90
case 106: {
com.google.protobuf.StringValue m =
input.readMessage(
com.google.protobuf.StringValue.parser(),
extensionRegistry);
if (removeUserIdsBuilder_ == null) {
ensureRemoveUserIdsIsMutable();
removeUserIds_.add(m);
} else {
removeUserIdsBuilder_.addMessage(m);
}
break;
} // case 106
case 114: {
com.google.protobuf.StringValue m =
input.readMessage(
com.google.protobuf.StringValue.parser(),
extensionRegistry);
if (removeGroupIdsBuilder_ == null) {
ensureRemoveGroupIdsIsMutable();
removeGroupIds_.add(m);
} else {
removeGroupIdsBuilder_.addMessage(m);
}
break;
} // case 114
case 122: {
input.readMessage(
getEditableFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 122
case 130: {
input.readMessage(
getOwnerFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 130
case 138: {
input.readMessage(
getBusinessFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 138
case 146: {
input.readMessage(
getDepartmentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 146
case 154: {
com.google.protobuf.MapEntry
metadata__ = input.readMessage(
MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableMetadata().getMutableMap().put(
metadata__.getKey(), metadata__.getValue());
break;
} // case 154
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.UInt64Value id_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> idBuilder_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
public com.google.protobuf.UInt64Value getId() {
if (idBuilder_ == null) {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(
com.google.protobuf.UInt64Value.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder mergeId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
com.google.protobuf.UInt64Value.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64Value.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>(
getId(),
getParentForChildren(),
isClean());
id_ = null;
}
return idBuilder_;
}
private com.google.protobuf.StringValue name_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> nameBuilder_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
public boolean hasName() {
return nameBuilder_ != null || name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
public com.google.protobuf.StringValue getName() {
if (nameBuilder_ == null) {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
} else {
return nameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
} else {
nameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (nameBuilder_ == null) {
name_ = builderForValue.build();
onChanged();
} else {
nameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder mergeName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (name_ != null) {
name_ =
com.google.protobuf.StringValue.newBuilder(name_).mergeFrom(value).buildPartial();
} else {
name_ = value;
}
onChanged();
} else {
nameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder clearName() {
if (nameBuilder_ == null) {
name_ = null;
onChanged();
} else {
name_ = null;
nameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValue.Builder getNameBuilder() {
onChanged();
return getNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
if (nameBuilder_ != null) {
return nameBuilder_.getMessageOrBuilder();
} else {
return name_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNameFieldBuilder() {
if (nameBuilder_ == null) {
nameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getName(),
getParentForChildren(),
isClean());
name_ = null;
}
return nameBuilder_;
}
private com.google.protobuf.StringValue namespace_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> namespaceBuilder_;
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return namespaceBuilder_ != null || namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
public com.google.protobuf.StringValue getNamespace() {
if (namespaceBuilder_ == null) {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
} else {
return namespaceBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder setNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
namespace_ = value;
onChanged();
} else {
namespaceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder setNamespace(
com.google.protobuf.StringValue.Builder builderForValue) {
if (namespaceBuilder_ == null) {
namespace_ = builderForValue.build();
onChanged();
} else {
namespaceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder mergeNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (namespace_ != null) {
namespace_ =
com.google.protobuf.StringValue.newBuilder(namespace_).mergeFrom(value).buildPartial();
} else {
namespace_ = value;
}
onChanged();
} else {
namespaceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder clearNamespace() {
if (namespaceBuilder_ == null) {
namespace_ = null;
onChanged();
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public com.google.protobuf.StringValue.Builder getNamespaceBuilder() {
onChanged();
return getNamespaceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
if (namespaceBuilder_ != null) {
return namespaceBuilder_.getMessageOrBuilder();
} else {
return namespace_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNamespaceFieldBuilder() {
if (namespaceBuilder_ == null) {
namespaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getNamespace(),
getParentForChildren(),
isClean());
namespace_ = null;
}
return namespaceBuilder_;
}
private com.google.protobuf.StringValue comment_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> commentBuilder_;
/**
* .google.protobuf.StringValue comment = 4;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return commentBuilder_ != null || comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 4;
* @return The comment.
*/
public com.google.protobuf.StringValue getComment() {
if (commentBuilder_ == null) {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
} else {
return commentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue comment = 4;
*/
public Builder setComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
comment_ = value;
onChanged();
} else {
commentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 4;
*/
public Builder setComment(
com.google.protobuf.StringValue.Builder builderForValue) {
if (commentBuilder_ == null) {
comment_ = builderForValue.build();
onChanged();
} else {
commentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue comment = 4;
*/
public Builder mergeComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (comment_ != null) {
comment_ =
com.google.protobuf.StringValue.newBuilder(comment_).mergeFrom(value).buildPartial();
} else {
comment_ = value;
}
onChanged();
} else {
commentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 4;
*/
public Builder clearComment() {
if (commentBuilder_ == null) {
comment_ = null;
onChanged();
} else {
comment_ = null;
commentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue comment = 4;
*/
public com.google.protobuf.StringValue.Builder getCommentBuilder() {
onChanged();
return getCommentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue comment = 4;
*/
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
if (commentBuilder_ != null) {
return commentBuilder_.getMessageOrBuilder();
} else {
return comment_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
}
/**
* .google.protobuf.StringValue comment = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCommentFieldBuilder() {
if (commentBuilder_ == null) {
commentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getComment(),
getParentForChildren(),
isClean());
comment_ = null;
}
return commentBuilder_;
}
private com.google.protobuf.StringValue createTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createTimeBuilder_;
/**
* .google.protobuf.StringValue create_time = 5;
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 5;
* @return The createTime.
*/
public com.google.protobuf.StringValue getCreateTime() {
if (createTimeBuilder_ == null) {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
} else {
return createTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_time = 5;
*/
public Builder setCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createTime_ = value;
onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 5;
*/
public Builder setCreateTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 5;
*/
public Builder mergeCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (createTime_ != null) {
createTime_ =
com.google.protobuf.StringValue.newBuilder(createTime_).mergeFrom(value).buildPartial();
} else {
createTime_ = value;
}
onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 5;
*/
public Builder clearCreateTime() {
if (createTimeBuilder_ == null) {
createTime_ = null;
onChanged();
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 5;
*/
public com.google.protobuf.StringValue.Builder getCreateTimeBuilder() {
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_time = 5;
*/
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
return createTimeBuilder_.getMessageOrBuilder();
} else {
return createTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
}
/**
* .google.protobuf.StringValue create_time = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateTimeFieldBuilder() {
if (createTimeBuilder_ == null) {
createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateTime(),
getParentForChildren(),
isClean());
createTime_ = null;
}
return createTimeBuilder_;
}
private com.google.protobuf.StringValue createBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createByBuilder_;
/**
* .google.protobuf.StringValue create_by = 6;
* @return Whether the createBy field is set.
*/
public boolean hasCreateBy() {
return createByBuilder_ != null || createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 6;
* @return The createBy.
*/
public com.google.protobuf.StringValue getCreateBy() {
if (createByBuilder_ == null) {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
} else {
return createByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_by = 6;
*/
public Builder setCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createBy_ = value;
onChanged();
} else {
createByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 6;
*/
public Builder setCreateBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createByBuilder_ == null) {
createBy_ = builderForValue.build();
onChanged();
} else {
createByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 6;
*/
public Builder mergeCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (createBy_ != null) {
createBy_ =
com.google.protobuf.StringValue.newBuilder(createBy_).mergeFrom(value).buildPartial();
} else {
createBy_ = value;
}
onChanged();
} else {
createByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 6;
*/
public Builder clearCreateBy() {
if (createByBuilder_ == null) {
createBy_ = null;
onChanged();
} else {
createBy_ = null;
createByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 6;
*/
public com.google.protobuf.StringValue.Builder getCreateByBuilder() {
onChanged();
return getCreateByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_by = 6;
*/
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
if (createByBuilder_ != null) {
return createByBuilder_.getMessageOrBuilder();
} else {
return createBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
}
/**
* .google.protobuf.StringValue create_by = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateByFieldBuilder() {
if (createByBuilder_ == null) {
createByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateBy(),
getParentForChildren(),
isClean());
createBy_ = null;
}
return createByBuilder_;
}
private com.google.protobuf.StringValue modifyTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyTimeBuilder_;
/**
* .google.protobuf.StringValue modify_time = 7;
* @return Whether the modifyTime field is set.
*/
public boolean hasModifyTime() {
return modifyTimeBuilder_ != null || modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 7;
* @return The modifyTime.
*/
public com.google.protobuf.StringValue getModifyTime() {
if (modifyTimeBuilder_ == null) {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
} else {
return modifyTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_time = 7;
*/
public Builder setModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyTime_ = value;
onChanged();
} else {
modifyTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 7;
*/
public Builder setModifyTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyTimeBuilder_ == null) {
modifyTime_ = builderForValue.build();
onChanged();
} else {
modifyTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 7;
*/
public Builder mergeModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (modifyTime_ != null) {
modifyTime_ =
com.google.protobuf.StringValue.newBuilder(modifyTime_).mergeFrom(value).buildPartial();
} else {
modifyTime_ = value;
}
onChanged();
} else {
modifyTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 7;
*/
public Builder clearModifyTime() {
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
onChanged();
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 7;
*/
public com.google.protobuf.StringValue.Builder getModifyTimeBuilder() {
onChanged();
return getModifyTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_time = 7;
*/
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
if (modifyTimeBuilder_ != null) {
return modifyTimeBuilder_.getMessageOrBuilder();
} else {
return modifyTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
}
/**
* .google.protobuf.StringValue modify_time = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyTimeFieldBuilder() {
if (modifyTimeBuilder_ == null) {
modifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyTime(),
getParentForChildren(),
isClean());
modifyTime_ = null;
}
return modifyTimeBuilder_;
}
private com.google.protobuf.StringValue modifyBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyByBuilder_;
/**
* .google.protobuf.StringValue modify_by = 8;
* @return Whether the modifyBy field is set.
*/
public boolean hasModifyBy() {
return modifyByBuilder_ != null || modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 8;
* @return The modifyBy.
*/
public com.google.protobuf.StringValue getModifyBy() {
if (modifyByBuilder_ == null) {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
} else {
return modifyByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_by = 8;
*/
public Builder setModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyBy_ = value;
onChanged();
} else {
modifyByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 8;
*/
public Builder setModifyBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyByBuilder_ == null) {
modifyBy_ = builderForValue.build();
onChanged();
} else {
modifyByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 8;
*/
public Builder mergeModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (modifyBy_ != null) {
modifyBy_ =
com.google.protobuf.StringValue.newBuilder(modifyBy_).mergeFrom(value).buildPartial();
} else {
modifyBy_ = value;
}
onChanged();
} else {
modifyByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 8;
*/
public Builder clearModifyBy() {
if (modifyByBuilder_ == null) {
modifyBy_ = null;
onChanged();
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 8;
*/
public com.google.protobuf.StringValue.Builder getModifyByBuilder() {
onChanged();
return getModifyByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_by = 8;
*/
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
if (modifyByBuilder_ != null) {
return modifyByBuilder_.getMessageOrBuilder();
} else {
return modifyBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
}
/**
* .google.protobuf.StringValue modify_by = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyByFieldBuilder() {
if (modifyByBuilder_ == null) {
modifyByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyBy(),
getParentForChildren(),
isClean());
modifyBy_ = null;
}
return modifyByBuilder_;
}
private com.google.protobuf.UInt64Value fileCount_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> fileCountBuilder_;
/**
* .google.protobuf.UInt64Value fileCount = 9;
* @return Whether the fileCount field is set.
*/
public boolean hasFileCount() {
return fileCountBuilder_ != null || fileCount_ != null;
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
* @return The fileCount.
*/
public com.google.protobuf.UInt64Value getFileCount() {
if (fileCountBuilder_ == null) {
return fileCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : fileCount_;
} else {
return fileCountBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
*/
public Builder setFileCount(com.google.protobuf.UInt64Value value) {
if (fileCountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileCount_ = value;
onChanged();
} else {
fileCountBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
*/
public Builder setFileCount(
com.google.protobuf.UInt64Value.Builder builderForValue) {
if (fileCountBuilder_ == null) {
fileCount_ = builderForValue.build();
onChanged();
} else {
fileCountBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
*/
public Builder mergeFileCount(com.google.protobuf.UInt64Value value) {
if (fileCountBuilder_ == null) {
if (fileCount_ != null) {
fileCount_ =
com.google.protobuf.UInt64Value.newBuilder(fileCount_).mergeFrom(value).buildPartial();
} else {
fileCount_ = value;
}
onChanged();
} else {
fileCountBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
*/
public Builder clearFileCount() {
if (fileCountBuilder_ == null) {
fileCount_ = null;
onChanged();
} else {
fileCount_ = null;
fileCountBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
*/
public com.google.protobuf.UInt64Value.Builder getFileCountBuilder() {
onChanged();
return getFileCountFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
*/
public com.google.protobuf.UInt64ValueOrBuilder getFileCountOrBuilder() {
if (fileCountBuilder_ != null) {
return fileCountBuilder_.getMessageOrBuilder();
} else {
return fileCount_ == null ?
com.google.protobuf.UInt64Value.getDefaultInstance() : fileCount_;
}
}
/**
* .google.protobuf.UInt64Value fileCount = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>
getFileCountFieldBuilder() {
if (fileCountBuilder_ == null) {
fileCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>(
getFileCount(),
getParentForChildren(),
isClean());
fileCount_ = null;
}
return fileCountBuilder_;
}
private java.util.List userIds_ =
java.util.Collections.emptyList();
private void ensureUserIdsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
userIds_ = new java.util.ArrayList(userIds_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> userIdsBuilder_;
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public java.util.List getUserIdsList() {
if (userIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(userIds_);
} else {
return userIdsBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public int getUserIdsCount() {
if (userIdsBuilder_ == null) {
return userIds_.size();
} else {
return userIdsBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public com.google.protobuf.StringValue getUserIds(int index) {
if (userIdsBuilder_ == null) {
return userIds_.get(index);
} else {
return userIdsBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public Builder setUserIds(
int index, com.google.protobuf.StringValue value) {
if (userIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUserIdsIsMutable();
userIds_.set(index, value);
onChanged();
} else {
userIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public Builder setUserIds(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (userIdsBuilder_ == null) {
ensureUserIdsIsMutable();
userIds_.set(index, builderForValue.build());
onChanged();
} else {
userIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public Builder addUserIds(com.google.protobuf.StringValue value) {
if (userIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUserIdsIsMutable();
userIds_.add(value);
onChanged();
} else {
userIdsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public Builder addUserIds(
int index, com.google.protobuf.StringValue value) {
if (userIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUserIdsIsMutable();
userIds_.add(index, value);
onChanged();
} else {
userIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public Builder addUserIds(
com.google.protobuf.StringValue.Builder builderForValue) {
if (userIdsBuilder_ == null) {
ensureUserIdsIsMutable();
userIds_.add(builderForValue.build());
onChanged();
} else {
userIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public Builder addUserIds(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (userIdsBuilder_ == null) {
ensureUserIdsIsMutable();
userIds_.add(index, builderForValue.build());
onChanged();
} else {
userIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public Builder addAllUserIds(
java.lang.Iterable extends com.google.protobuf.StringValue> values) {
if (userIdsBuilder_ == null) {
ensureUserIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, userIds_);
onChanged();
} else {
userIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public Builder clearUserIds() {
if (userIdsBuilder_ == null) {
userIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
userIdsBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public Builder removeUserIds(int index) {
if (userIdsBuilder_ == null) {
ensureUserIdsIsMutable();
userIds_.remove(index);
onChanged();
} else {
userIdsBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public com.google.protobuf.StringValue.Builder getUserIdsBuilder(
int index) {
return getUserIdsFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public com.google.protobuf.StringValueOrBuilder getUserIdsOrBuilder(
int index) {
if (userIdsBuilder_ == null) {
return userIds_.get(index); } else {
return userIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getUserIdsOrBuilderList() {
if (userIdsBuilder_ != null) {
return userIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(userIds_);
}
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public com.google.protobuf.StringValue.Builder addUserIdsBuilder() {
return getUserIdsFieldBuilder().addBuilder(
com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public com.google.protobuf.StringValue.Builder addUserIdsBuilder(
int index) {
return getUserIdsFieldBuilder().addBuilder(
index, com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue user_ids = 10 [json_name = "user_ids"];
*/
public java.util.List
getUserIdsBuilderList() {
return getUserIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getUserIdsFieldBuilder() {
if (userIdsBuilder_ == null) {
userIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
userIds_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
userIds_ = null;
}
return userIdsBuilder_;
}
private java.util.List groupIds_ =
java.util.Collections.emptyList();
private void ensureGroupIdsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
groupIds_ = new java.util.ArrayList(groupIds_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> groupIdsBuilder_;
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public java.util.List getGroupIdsList() {
if (groupIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(groupIds_);
} else {
return groupIdsBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public int getGroupIdsCount() {
if (groupIdsBuilder_ == null) {
return groupIds_.size();
} else {
return groupIdsBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public com.google.protobuf.StringValue getGroupIds(int index) {
if (groupIdsBuilder_ == null) {
return groupIds_.get(index);
} else {
return groupIdsBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public Builder setGroupIds(
int index, com.google.protobuf.StringValue value) {
if (groupIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupIdsIsMutable();
groupIds_.set(index, value);
onChanged();
} else {
groupIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public Builder setGroupIds(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
groupIds_.set(index, builderForValue.build());
onChanged();
} else {
groupIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public Builder addGroupIds(com.google.protobuf.StringValue value) {
if (groupIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupIdsIsMutable();
groupIds_.add(value);
onChanged();
} else {
groupIdsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public Builder addGroupIds(
int index, com.google.protobuf.StringValue value) {
if (groupIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupIdsIsMutable();
groupIds_.add(index, value);
onChanged();
} else {
groupIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public Builder addGroupIds(
com.google.protobuf.StringValue.Builder builderForValue) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
groupIds_.add(builderForValue.build());
onChanged();
} else {
groupIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public Builder addGroupIds(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
groupIds_.add(index, builderForValue.build());
onChanged();
} else {
groupIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public Builder addAllGroupIds(
java.lang.Iterable extends com.google.protobuf.StringValue> values) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groupIds_);
onChanged();
} else {
groupIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public Builder clearGroupIds() {
if (groupIdsBuilder_ == null) {
groupIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
groupIdsBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public Builder removeGroupIds(int index) {
if (groupIdsBuilder_ == null) {
ensureGroupIdsIsMutable();
groupIds_.remove(index);
onChanged();
} else {
groupIdsBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public com.google.protobuf.StringValue.Builder getGroupIdsBuilder(
int index) {
return getGroupIdsFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public com.google.protobuf.StringValueOrBuilder getGroupIdsOrBuilder(
int index) {
if (groupIdsBuilder_ == null) {
return groupIds_.get(index); } else {
return groupIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getGroupIdsOrBuilderList() {
if (groupIdsBuilder_ != null) {
return groupIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groupIds_);
}
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public com.google.protobuf.StringValue.Builder addGroupIdsBuilder() {
return getGroupIdsFieldBuilder().addBuilder(
com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public com.google.protobuf.StringValue.Builder addGroupIdsBuilder(
int index) {
return getGroupIdsFieldBuilder().addBuilder(
index, com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue group_ids = 11 [json_name = "group_ids"];
*/
public java.util.List
getGroupIdsBuilderList() {
return getGroupIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getGroupIdsFieldBuilder() {
if (groupIdsBuilder_ == null) {
groupIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
groupIds_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
groupIds_ = null;
}
return groupIdsBuilder_;
}
private java.util.List removeUserIds_ =
java.util.Collections.emptyList();
private void ensureRemoveUserIdsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
removeUserIds_ = new java.util.ArrayList(removeUserIds_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> removeUserIdsBuilder_;
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public java.util.List getRemoveUserIdsList() {
if (removeUserIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(removeUserIds_);
} else {
return removeUserIdsBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public int getRemoveUserIdsCount() {
if (removeUserIdsBuilder_ == null) {
return removeUserIds_.size();
} else {
return removeUserIdsBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public com.google.protobuf.StringValue getRemoveUserIds(int index) {
if (removeUserIdsBuilder_ == null) {
return removeUserIds_.get(index);
} else {
return removeUserIdsBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public Builder setRemoveUserIds(
int index, com.google.protobuf.StringValue value) {
if (removeUserIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRemoveUserIdsIsMutable();
removeUserIds_.set(index, value);
onChanged();
} else {
removeUserIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public Builder setRemoveUserIds(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (removeUserIdsBuilder_ == null) {
ensureRemoveUserIdsIsMutable();
removeUserIds_.set(index, builderForValue.build());
onChanged();
} else {
removeUserIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public Builder addRemoveUserIds(com.google.protobuf.StringValue value) {
if (removeUserIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRemoveUserIdsIsMutable();
removeUserIds_.add(value);
onChanged();
} else {
removeUserIdsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public Builder addRemoveUserIds(
int index, com.google.protobuf.StringValue value) {
if (removeUserIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRemoveUserIdsIsMutable();
removeUserIds_.add(index, value);
onChanged();
} else {
removeUserIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public Builder addRemoveUserIds(
com.google.protobuf.StringValue.Builder builderForValue) {
if (removeUserIdsBuilder_ == null) {
ensureRemoveUserIdsIsMutable();
removeUserIds_.add(builderForValue.build());
onChanged();
} else {
removeUserIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public Builder addRemoveUserIds(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (removeUserIdsBuilder_ == null) {
ensureRemoveUserIdsIsMutable();
removeUserIds_.add(index, builderForValue.build());
onChanged();
} else {
removeUserIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public Builder addAllRemoveUserIds(
java.lang.Iterable extends com.google.protobuf.StringValue> values) {
if (removeUserIdsBuilder_ == null) {
ensureRemoveUserIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, removeUserIds_);
onChanged();
} else {
removeUserIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public Builder clearRemoveUserIds() {
if (removeUserIdsBuilder_ == null) {
removeUserIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
removeUserIdsBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public Builder removeRemoveUserIds(int index) {
if (removeUserIdsBuilder_ == null) {
ensureRemoveUserIdsIsMutable();
removeUserIds_.remove(index);
onChanged();
} else {
removeUserIdsBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public com.google.protobuf.StringValue.Builder getRemoveUserIdsBuilder(
int index) {
return getRemoveUserIdsFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public com.google.protobuf.StringValueOrBuilder getRemoveUserIdsOrBuilder(
int index) {
if (removeUserIdsBuilder_ == null) {
return removeUserIds_.get(index); } else {
return removeUserIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getRemoveUserIdsOrBuilderList() {
if (removeUserIdsBuilder_ != null) {
return removeUserIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(removeUserIds_);
}
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public com.google.protobuf.StringValue.Builder addRemoveUserIdsBuilder() {
return getRemoveUserIdsFieldBuilder().addBuilder(
com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public com.google.protobuf.StringValue.Builder addRemoveUserIdsBuilder(
int index) {
return getRemoveUserIdsFieldBuilder().addBuilder(
index, com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue remove_user_ids = 13 [json_name = "remove_user_ids"];
*/
public java.util.List
getRemoveUserIdsBuilderList() {
return getRemoveUserIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getRemoveUserIdsFieldBuilder() {
if (removeUserIdsBuilder_ == null) {
removeUserIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
removeUserIds_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
removeUserIds_ = null;
}
return removeUserIdsBuilder_;
}
private java.util.List removeGroupIds_ =
java.util.Collections.emptyList();
private void ensureRemoveGroupIdsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
removeGroupIds_ = new java.util.ArrayList(removeGroupIds_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> removeGroupIdsBuilder_;
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public java.util.List getRemoveGroupIdsList() {
if (removeGroupIdsBuilder_ == null) {
return java.util.Collections.unmodifiableList(removeGroupIds_);
} else {
return removeGroupIdsBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public int getRemoveGroupIdsCount() {
if (removeGroupIdsBuilder_ == null) {
return removeGroupIds_.size();
} else {
return removeGroupIdsBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public com.google.protobuf.StringValue getRemoveGroupIds(int index) {
if (removeGroupIdsBuilder_ == null) {
return removeGroupIds_.get(index);
} else {
return removeGroupIdsBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public Builder setRemoveGroupIds(
int index, com.google.protobuf.StringValue value) {
if (removeGroupIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRemoveGroupIdsIsMutable();
removeGroupIds_.set(index, value);
onChanged();
} else {
removeGroupIdsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public Builder setRemoveGroupIds(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (removeGroupIdsBuilder_ == null) {
ensureRemoveGroupIdsIsMutable();
removeGroupIds_.set(index, builderForValue.build());
onChanged();
} else {
removeGroupIdsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public Builder addRemoveGroupIds(com.google.protobuf.StringValue value) {
if (removeGroupIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRemoveGroupIdsIsMutable();
removeGroupIds_.add(value);
onChanged();
} else {
removeGroupIdsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public Builder addRemoveGroupIds(
int index, com.google.protobuf.StringValue value) {
if (removeGroupIdsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRemoveGroupIdsIsMutable();
removeGroupIds_.add(index, value);
onChanged();
} else {
removeGroupIdsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public Builder addRemoveGroupIds(
com.google.protobuf.StringValue.Builder builderForValue) {
if (removeGroupIdsBuilder_ == null) {
ensureRemoveGroupIdsIsMutable();
removeGroupIds_.add(builderForValue.build());
onChanged();
} else {
removeGroupIdsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public Builder addRemoveGroupIds(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (removeGroupIdsBuilder_ == null) {
ensureRemoveGroupIdsIsMutable();
removeGroupIds_.add(index, builderForValue.build());
onChanged();
} else {
removeGroupIdsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public Builder addAllRemoveGroupIds(
java.lang.Iterable extends com.google.protobuf.StringValue> values) {
if (removeGroupIdsBuilder_ == null) {
ensureRemoveGroupIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, removeGroupIds_);
onChanged();
} else {
removeGroupIdsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public Builder clearRemoveGroupIds() {
if (removeGroupIdsBuilder_ == null) {
removeGroupIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
removeGroupIdsBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public Builder removeRemoveGroupIds(int index) {
if (removeGroupIdsBuilder_ == null) {
ensureRemoveGroupIdsIsMutable();
removeGroupIds_.remove(index);
onChanged();
} else {
removeGroupIdsBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public com.google.protobuf.StringValue.Builder getRemoveGroupIdsBuilder(
int index) {
return getRemoveGroupIdsFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public com.google.protobuf.StringValueOrBuilder getRemoveGroupIdsOrBuilder(
int index) {
if (removeGroupIdsBuilder_ == null) {
return removeGroupIds_.get(index); } else {
return removeGroupIdsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getRemoveGroupIdsOrBuilderList() {
if (removeGroupIdsBuilder_ != null) {
return removeGroupIdsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(removeGroupIds_);
}
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public com.google.protobuf.StringValue.Builder addRemoveGroupIdsBuilder() {
return getRemoveGroupIdsFieldBuilder().addBuilder(
com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public com.google.protobuf.StringValue.Builder addRemoveGroupIdsBuilder(
int index) {
return getRemoveGroupIdsFieldBuilder().addBuilder(
index, com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue remove_group_ids = 14 [json_name = "remove_group_ids"];
*/
public java.util.List
getRemoveGroupIdsBuilderList() {
return getRemoveGroupIdsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getRemoveGroupIdsFieldBuilder() {
if (removeGroupIdsBuilder_ == null) {
removeGroupIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
removeGroupIds_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
removeGroupIds_ = null;
}
return removeGroupIdsBuilder_;
}
private com.google.protobuf.BoolValue editable_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> editableBuilder_;
/**
* .google.protobuf.BoolValue editable = 15;
* @return Whether the editable field is set.
*/
public boolean hasEditable() {
return editableBuilder_ != null || editable_ != null;
}
/**
* .google.protobuf.BoolValue editable = 15;
* @return The editable.
*/
public com.google.protobuf.BoolValue getEditable() {
if (editableBuilder_ == null) {
return editable_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : editable_;
} else {
return editableBuilder_.getMessage();
}
}
/**
* .google.protobuf.BoolValue editable = 15;
*/
public Builder setEditable(com.google.protobuf.BoolValue value) {
if (editableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
editable_ = value;
onChanged();
} else {
editableBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.BoolValue editable = 15;
*/
public Builder setEditable(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (editableBuilder_ == null) {
editable_ = builderForValue.build();
onChanged();
} else {
editableBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.BoolValue editable = 15;
*/
public Builder mergeEditable(com.google.protobuf.BoolValue value) {
if (editableBuilder_ == null) {
if (editable_ != null) {
editable_ =
com.google.protobuf.BoolValue.newBuilder(editable_).mergeFrom(value).buildPartial();
} else {
editable_ = value;
}
onChanged();
} else {
editableBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.BoolValue editable = 15;
*/
public Builder clearEditable() {
if (editableBuilder_ == null) {
editable_ = null;
onChanged();
} else {
editable_ = null;
editableBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.BoolValue editable = 15;
*/
public com.google.protobuf.BoolValue.Builder getEditableBuilder() {
onChanged();
return getEditableFieldBuilder().getBuilder();
}
/**
* .google.protobuf.BoolValue editable = 15;
*/
public com.google.protobuf.BoolValueOrBuilder getEditableOrBuilder() {
if (editableBuilder_ != null) {
return editableBuilder_.getMessageOrBuilder();
} else {
return editable_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : editable_;
}
}
/**
* .google.protobuf.BoolValue editable = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getEditableFieldBuilder() {
if (editableBuilder_ == null) {
editableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getEditable(),
getParentForChildren(),
isClean());
editable_ = null;
}
return editableBuilder_;
}
private com.google.protobuf.StringValue owner_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> ownerBuilder_;
/**
* .google.protobuf.StringValue owner = 16;
* @return Whether the owner field is set.
*/
public boolean hasOwner() {
return ownerBuilder_ != null || owner_ != null;
}
/**
* .google.protobuf.StringValue owner = 16;
* @return The owner.
*/
public com.google.protobuf.StringValue getOwner() {
if (ownerBuilder_ == null) {
return owner_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : owner_;
} else {
return ownerBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue owner = 16;
*/
public Builder setOwner(com.google.protobuf.StringValue value) {
if (ownerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
owner_ = value;
onChanged();
} else {
ownerBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue owner = 16;
*/
public Builder setOwner(
com.google.protobuf.StringValue.Builder builderForValue) {
if (ownerBuilder_ == null) {
owner_ = builderForValue.build();
onChanged();
} else {
ownerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue owner = 16;
*/
public Builder mergeOwner(com.google.protobuf.StringValue value) {
if (ownerBuilder_ == null) {
if (owner_ != null) {
owner_ =
com.google.protobuf.StringValue.newBuilder(owner_).mergeFrom(value).buildPartial();
} else {
owner_ = value;
}
onChanged();
} else {
ownerBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue owner = 16;
*/
public Builder clearOwner() {
if (ownerBuilder_ == null) {
owner_ = null;
onChanged();
} else {
owner_ = null;
ownerBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue owner = 16;
*/
public com.google.protobuf.StringValue.Builder getOwnerBuilder() {
onChanged();
return getOwnerFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue owner = 16;
*/
public com.google.protobuf.StringValueOrBuilder getOwnerOrBuilder() {
if (ownerBuilder_ != null) {
return ownerBuilder_.getMessageOrBuilder();
} else {
return owner_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : owner_;
}
}
/**
* .google.protobuf.StringValue owner = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getOwnerFieldBuilder() {
if (ownerBuilder_ == null) {
ownerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getOwner(),
getParentForChildren(),
isClean());
owner_ = null;
}
return ownerBuilder_;
}
private com.google.protobuf.StringValue business_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> businessBuilder_;
/**
* .google.protobuf.StringValue business = 17;
* @return Whether the business field is set.
*/
public boolean hasBusiness() {
return businessBuilder_ != null || business_ != null;
}
/**
* .google.protobuf.StringValue business = 17;
* @return The business.
*/
public com.google.protobuf.StringValue getBusiness() {
if (businessBuilder_ == null) {
return business_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : business_;
} else {
return businessBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue business = 17;
*/
public Builder setBusiness(com.google.protobuf.StringValue value) {
if (businessBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
business_ = value;
onChanged();
} else {
businessBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue business = 17;
*/
public Builder setBusiness(
com.google.protobuf.StringValue.Builder builderForValue) {
if (businessBuilder_ == null) {
business_ = builderForValue.build();
onChanged();
} else {
businessBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue business = 17;
*/
public Builder mergeBusiness(com.google.protobuf.StringValue value) {
if (businessBuilder_ == null) {
if (business_ != null) {
business_ =
com.google.protobuf.StringValue.newBuilder(business_).mergeFrom(value).buildPartial();
} else {
business_ = value;
}
onChanged();
} else {
businessBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue business = 17;
*/
public Builder clearBusiness() {
if (businessBuilder_ == null) {
business_ = null;
onChanged();
} else {
business_ = null;
businessBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue business = 17;
*/
public com.google.protobuf.StringValue.Builder getBusinessBuilder() {
onChanged();
return getBusinessFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue business = 17;
*/
public com.google.protobuf.StringValueOrBuilder getBusinessOrBuilder() {
if (businessBuilder_ != null) {
return businessBuilder_.getMessageOrBuilder();
} else {
return business_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : business_;
}
}
/**
* .google.protobuf.StringValue business = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getBusinessFieldBuilder() {
if (businessBuilder_ == null) {
businessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getBusiness(),
getParentForChildren(),
isClean());
business_ = null;
}
return businessBuilder_;
}
private com.google.protobuf.StringValue department_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> departmentBuilder_;
/**
* .google.protobuf.StringValue department = 18;
* @return Whether the department field is set.
*/
public boolean hasDepartment() {
return departmentBuilder_ != null || department_ != null;
}
/**
* .google.protobuf.StringValue department = 18;
* @return The department.
*/
public com.google.protobuf.StringValue getDepartment() {
if (departmentBuilder_ == null) {
return department_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : department_;
} else {
return departmentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue department = 18;
*/
public Builder setDepartment(com.google.protobuf.StringValue value) {
if (departmentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
department_ = value;
onChanged();
} else {
departmentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue department = 18;
*/
public Builder setDepartment(
com.google.protobuf.StringValue.Builder builderForValue) {
if (departmentBuilder_ == null) {
department_ = builderForValue.build();
onChanged();
} else {
departmentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue department = 18;
*/
public Builder mergeDepartment(com.google.protobuf.StringValue value) {
if (departmentBuilder_ == null) {
if (department_ != null) {
department_ =
com.google.protobuf.StringValue.newBuilder(department_).mergeFrom(value).buildPartial();
} else {
department_ = value;
}
onChanged();
} else {
departmentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue department = 18;
*/
public Builder clearDepartment() {
if (departmentBuilder_ == null) {
department_ = null;
onChanged();
} else {
department_ = null;
departmentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue department = 18;
*/
public com.google.protobuf.StringValue.Builder getDepartmentBuilder() {
onChanged();
return getDepartmentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue department = 18;
*/
public com.google.protobuf.StringValueOrBuilder getDepartmentOrBuilder() {
if (departmentBuilder_ != null) {
return departmentBuilder_.getMessageOrBuilder();
} else {
return department_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : department_;
}
}
/**
* .google.protobuf.StringValue department = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getDepartmentFieldBuilder() {
if (departmentBuilder_ == null) {
departmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getDepartment(),
getParentForChildren(),
isClean());
department_ = null;
}
return departmentBuilder_;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> metadata_;
private com.google.protobuf.MapField
internalGetMetadata() {
if (metadata_ == null) {
return com.google.protobuf.MapField.emptyMapField(
MetadataDefaultEntryHolder.defaultEntry);
}
return metadata_;
}
private com.google.protobuf.MapField
internalGetMutableMetadata() {
onChanged();;
if (metadata_ == null) {
metadata_ = com.google.protobuf.MapField.newMapField(
MetadataDefaultEntryHolder.defaultEntry);
}
if (!metadata_.isMutable()) {
metadata_ = metadata_.copy();
}
return metadata_;
}
public int getMetadataCount() {
return internalGetMetadata().getMap().size();
}
/**
* map<string, string> metadata = 19;
*/
@java.lang.Override
public boolean containsMetadata(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetMetadata().getMap().containsKey(key);
}
/**
* Use {@link #getMetadataMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getMetadata() {
return getMetadataMap();
}
/**
* map<string, string> metadata = 19;
*/
@java.lang.Override
public java.util.Map getMetadataMap() {
return internalGetMetadata().getMap();
}
/**
* map<string, string> metadata = 19;
*/
@java.lang.Override
public java.lang.String getMetadataOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetMetadata().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> metadata = 19;
*/
@java.lang.Override
public java.lang.String getMetadataOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetMetadata().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearMetadata() {
internalGetMutableMetadata().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> metadata = 19;
*/
public Builder removeMetadata(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableMetadata().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableMetadata() {
return internalGetMutableMetadata().getMutableMap();
}
/**
* map<string, string> metadata = 19;
*/
public Builder putMetadata(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableMetadata().getMutableMap()
.put(key, value);
return this;
}
/**
* map<string, string> metadata = 19;
*/
public Builder putAllMetadata(
java.util.Map values) {
internalGetMutableMetadata().getMutableMap()
.putAll(values);
return this;
}
@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:v1.ConfigFileGroup)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFileGroup)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFileGroup parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigFileOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFile)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
com.google.protobuf.UInt64Value getId();
/**
* .google.protobuf.UInt64Value id = 1;
*/
com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder();
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
com.google.protobuf.StringValue getName();
/**
* .google.protobuf.StringValue name = 2;
*/
com.google.protobuf.StringValueOrBuilder getNameOrBuilder();
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
com.google.protobuf.StringValue getNamespace();
/**
* .google.protobuf.StringValue namespace = 3;
*/
com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder();
/**
* .google.protobuf.StringValue group = 4;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* .google.protobuf.StringValue group = 4;
* @return The group.
*/
com.google.protobuf.StringValue getGroup();
/**
* .google.protobuf.StringValue group = 4;
*/
com.google.protobuf.StringValueOrBuilder getGroupOrBuilder();
/**
* .google.protobuf.StringValue content = 5;
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* .google.protobuf.StringValue content = 5;
* @return The content.
*/
com.google.protobuf.StringValue getContent();
/**
* .google.protobuf.StringValue content = 5;
*/
com.google.protobuf.StringValueOrBuilder getContentOrBuilder();
/**
* .google.protobuf.StringValue format = 6;
* @return Whether the format field is set.
*/
boolean hasFormat();
/**
* .google.protobuf.StringValue format = 6;
* @return The format.
*/
com.google.protobuf.StringValue getFormat();
/**
* .google.protobuf.StringValue format = 6;
*/
com.google.protobuf.StringValueOrBuilder getFormatOrBuilder();
/**
* .google.protobuf.StringValue comment = 7;
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* .google.protobuf.StringValue comment = 7;
* @return The comment.
*/
com.google.protobuf.StringValue getComment();
/**
* .google.protobuf.StringValue comment = 7;
*/
com.google.protobuf.StringValueOrBuilder getCommentOrBuilder();
/**
* .google.protobuf.StringValue status = 8;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* .google.protobuf.StringValue status = 8;
* @return The status.
*/
com.google.protobuf.StringValue getStatus();
/**
* .google.protobuf.StringValue status = 8;
*/
com.google.protobuf.StringValueOrBuilder getStatusOrBuilder();
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
java.util.List
getTagsList();
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index);
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
int getTagsCount();
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList();
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index);
/**
* .google.protobuf.StringValue create_time = 10;
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* .google.protobuf.StringValue create_time = 10;
* @return The createTime.
*/
com.google.protobuf.StringValue getCreateTime();
/**
* .google.protobuf.StringValue create_time = 10;
*/
com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder();
/**
* .google.protobuf.StringValue create_by = 11;
* @return Whether the createBy field is set.
*/
boolean hasCreateBy();
/**
* .google.protobuf.StringValue create_by = 11;
* @return The createBy.
*/
com.google.protobuf.StringValue getCreateBy();
/**
* .google.protobuf.StringValue create_by = 11;
*/
com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder();
/**
* .google.protobuf.StringValue modify_time = 12;
* @return Whether the modifyTime field is set.
*/
boolean hasModifyTime();
/**
* .google.protobuf.StringValue modify_time = 12;
* @return The modifyTime.
*/
com.google.protobuf.StringValue getModifyTime();
/**
* .google.protobuf.StringValue modify_time = 12;
*/
com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder();
/**
* .google.protobuf.StringValue modify_by = 13;
* @return Whether the modifyBy field is set.
*/
boolean hasModifyBy();
/**
* .google.protobuf.StringValue modify_by = 13;
* @return The modifyBy.
*/
com.google.protobuf.StringValue getModifyBy();
/**
* .google.protobuf.StringValue modify_by = 13;
*/
com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder();
/**
* .google.protobuf.StringValue release_time = 14;
* @return Whether the releaseTime field is set.
*/
boolean hasReleaseTime();
/**
* .google.protobuf.StringValue release_time = 14;
* @return The releaseTime.
*/
com.google.protobuf.StringValue getReleaseTime();
/**
* .google.protobuf.StringValue release_time = 14;
*/
com.google.protobuf.StringValueOrBuilder getReleaseTimeOrBuilder();
/**
* .google.protobuf.StringValue release_by = 15;
* @return Whether the releaseBy field is set.
*/
boolean hasReleaseBy();
/**
* .google.protobuf.StringValue release_by = 15;
* @return The releaseBy.
*/
com.google.protobuf.StringValue getReleaseBy();
/**
* .google.protobuf.StringValue release_by = 15;
*/
com.google.protobuf.StringValueOrBuilder getReleaseByOrBuilder();
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return Whether the encrypted field is set.
*/
boolean hasEncrypted();
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return The encrypted.
*/
com.google.protobuf.BoolValue getEncrypted();
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
com.google.protobuf.BoolValueOrBuilder getEncryptedOrBuilder();
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return Whether the encryptAlgo field is set.
*/
boolean hasEncryptAlgo();
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return The encryptAlgo.
*/
com.google.protobuf.StringValue getEncryptAlgo();
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
com.google.protobuf.StringValueOrBuilder getEncryptAlgoOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigFile}
*/
public static final class ConfigFile extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFile)
ConfigFileOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFile.newBuilder() to construct.
private ConfigFile(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigFile() {
tags_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFile();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFile_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private com.google.protobuf.UInt64Value id_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.UInt64Value getId() {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
@java.lang.Override
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
return getId();
}
public static final int NAME_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue name_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.StringValue getName() {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
/**
* .google.protobuf.StringValue name = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
return getName();
}
public static final int NAMESPACE_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue namespace_;
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
@java.lang.Override
public com.google.protobuf.StringValue getNamespace() {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
return getNamespace();
}
public static final int GROUP_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue group_;
/**
* .google.protobuf.StringValue group = 4;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return group_ != null;
}
/**
* .google.protobuf.StringValue group = 4;
* @return The group.
*/
@java.lang.Override
public com.google.protobuf.StringValue getGroup() {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
/**
* .google.protobuf.StringValue group = 4;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
return getGroup();
}
public static final int CONTENT_FIELD_NUMBER = 5;
private com.google.protobuf.StringValue content_;
/**
* .google.protobuf.StringValue content = 5;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return content_ != null;
}
/**
* .google.protobuf.StringValue content = 5;
* @return The content.
*/
@java.lang.Override
public com.google.protobuf.StringValue getContent() {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
/**
* .google.protobuf.StringValue content = 5;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
return getContent();
}
public static final int FORMAT_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue format_;
/**
* .google.protobuf.StringValue format = 6;
* @return Whether the format field is set.
*/
@java.lang.Override
public boolean hasFormat() {
return format_ != null;
}
/**
* .google.protobuf.StringValue format = 6;
* @return The format.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFormat() {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
/**
* .google.protobuf.StringValue format = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
return getFormat();
}
public static final int COMMENT_FIELD_NUMBER = 7;
private com.google.protobuf.StringValue comment_;
/**
* .google.protobuf.StringValue comment = 7;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 7;
* @return The comment.
*/
@java.lang.Override
public com.google.protobuf.StringValue getComment() {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
return getComment();
}
public static final int STATUS_FIELD_NUMBER = 8;
private com.google.protobuf.StringValue status_;
/**
* .google.protobuf.StringValue status = 8;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return status_ != null;
}
/**
* .google.protobuf.StringValue status = 8;
* @return The status.
*/
@java.lang.Override
public com.google.protobuf.StringValue getStatus() {
return status_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : status_;
}
/**
* .google.protobuf.StringValue status = 8;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int TAGS_FIELD_NUMBER = 9;
private java.util.List tags_;
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
@java.lang.Override
public java.util.List getTagsList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
@java.lang.Override
public int getTagsCount() {
return tags_.size();
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
return tags_.get(index);
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
return tags_.get(index);
}
public static final int CREATE_TIME_FIELD_NUMBER = 10;
private com.google.protobuf.StringValue createTime_;
/**
* .google.protobuf.StringValue create_time = 10;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 10;
* @return The createTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateTime() {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
public static final int CREATE_BY_FIELD_NUMBER = 11;
private com.google.protobuf.StringValue createBy_;
/**
* .google.protobuf.StringValue create_by = 11;
* @return Whether the createBy field is set.
*/
@java.lang.Override
public boolean hasCreateBy() {
return createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 11;
* @return The createBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateBy() {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
return getCreateBy();
}
public static final int MODIFY_TIME_FIELD_NUMBER = 12;
private com.google.protobuf.StringValue modifyTime_;
/**
* .google.protobuf.StringValue modify_time = 12;
* @return Whether the modifyTime field is set.
*/
@java.lang.Override
public boolean hasModifyTime() {
return modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 12;
* @return The modifyTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyTime() {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
return getModifyTime();
}
public static final int MODIFY_BY_FIELD_NUMBER = 13;
private com.google.protobuf.StringValue modifyBy_;
/**
* .google.protobuf.StringValue modify_by = 13;
* @return Whether the modifyBy field is set.
*/
@java.lang.Override
public boolean hasModifyBy() {
return modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 13;
* @return The modifyBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyBy() {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
return getModifyBy();
}
public static final int RELEASE_TIME_FIELD_NUMBER = 14;
private com.google.protobuf.StringValue releaseTime_;
/**
* .google.protobuf.StringValue release_time = 14;
* @return Whether the releaseTime field is set.
*/
@java.lang.Override
public boolean hasReleaseTime() {
return releaseTime_ != null;
}
/**
* .google.protobuf.StringValue release_time = 14;
* @return The releaseTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getReleaseTime() {
return releaseTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseTime_;
}
/**
* .google.protobuf.StringValue release_time = 14;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getReleaseTimeOrBuilder() {
return getReleaseTime();
}
public static final int RELEASE_BY_FIELD_NUMBER = 15;
private com.google.protobuf.StringValue releaseBy_;
/**
* .google.protobuf.StringValue release_by = 15;
* @return Whether the releaseBy field is set.
*/
@java.lang.Override
public boolean hasReleaseBy() {
return releaseBy_ != null;
}
/**
* .google.protobuf.StringValue release_by = 15;
* @return The releaseBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getReleaseBy() {
return releaseBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseBy_;
}
/**
* .google.protobuf.StringValue release_by = 15;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getReleaseByOrBuilder() {
return getReleaseBy();
}
public static final int ENCRYPTED_FIELD_NUMBER = 16;
private com.google.protobuf.BoolValue encrypted_;
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return Whether the encrypted field is set.
*/
@java.lang.Override
public boolean hasEncrypted() {
return encrypted_ != null;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return The encrypted.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getEncrypted() {
return encrypted_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : encrypted_;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getEncryptedOrBuilder() {
return getEncrypted();
}
public static final int ENCRYPT_ALGO_FIELD_NUMBER = 17;
private com.google.protobuf.StringValue encryptAlgo_;
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return Whether the encryptAlgo field is set.
*/
@java.lang.Override
public boolean hasEncryptAlgo() {
return encryptAlgo_ != null;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return The encryptAlgo.
*/
@java.lang.Override
public com.google.protobuf.StringValue getEncryptAlgo() {
return encryptAlgo_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : encryptAlgo_;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getEncryptAlgoOrBuilder() {
return getEncryptAlgo();
}
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 (id_ != null) {
output.writeMessage(1, getId());
}
if (name_ != null) {
output.writeMessage(2, getName());
}
if (namespace_ != null) {
output.writeMessage(3, getNamespace());
}
if (group_ != null) {
output.writeMessage(4, getGroup());
}
if (content_ != null) {
output.writeMessage(5, getContent());
}
if (format_ != null) {
output.writeMessage(6, getFormat());
}
if (comment_ != null) {
output.writeMessage(7, getComment());
}
if (status_ != null) {
output.writeMessage(8, getStatus());
}
for (int i = 0; i < tags_.size(); i++) {
output.writeMessage(9, tags_.get(i));
}
if (createTime_ != null) {
output.writeMessage(10, getCreateTime());
}
if (createBy_ != null) {
output.writeMessage(11, getCreateBy());
}
if (modifyTime_ != null) {
output.writeMessage(12, getModifyTime());
}
if (modifyBy_ != null) {
output.writeMessage(13, getModifyBy());
}
if (releaseTime_ != null) {
output.writeMessage(14, getReleaseTime());
}
if (releaseBy_ != null) {
output.writeMessage(15, getReleaseBy());
}
if (encrypted_ != null) {
output.writeMessage(16, getEncrypted());
}
if (encryptAlgo_ != null) {
output.writeMessage(17, getEncryptAlgo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (id_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getId());
}
if (name_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getName());
}
if (namespace_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getNamespace());
}
if (group_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getGroup());
}
if (content_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getContent());
}
if (format_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getFormat());
}
if (comment_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getComment());
}
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getStatus());
}
for (int i = 0; i < tags_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, tags_.get(i));
}
if (createTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getCreateTime());
}
if (createBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getCreateBy());
}
if (modifyTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getModifyTime());
}
if (modifyBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getModifyBy());
}
if (releaseTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getReleaseTime());
}
if (releaseBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getReleaseBy());
}
if (encrypted_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getEncrypted());
}
if (encryptAlgo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getEncryptAlgo());
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (hasFormat() != other.hasFormat()) return false;
if (hasFormat()) {
if (!getFormat()
.equals(other.getFormat())) return false;
}
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (!getCreateTime()
.equals(other.getCreateTime())) return false;
}
if (hasCreateBy() != other.hasCreateBy()) return false;
if (hasCreateBy()) {
if (!getCreateBy()
.equals(other.getCreateBy())) return false;
}
if (hasModifyTime() != other.hasModifyTime()) return false;
if (hasModifyTime()) {
if (!getModifyTime()
.equals(other.getModifyTime())) return false;
}
if (hasModifyBy() != other.hasModifyBy()) return false;
if (hasModifyBy()) {
if (!getModifyBy()
.equals(other.getModifyBy())) return false;
}
if (hasReleaseTime() != other.hasReleaseTime()) return false;
if (hasReleaseTime()) {
if (!getReleaseTime()
.equals(other.getReleaseTime())) return false;
}
if (hasReleaseBy() != other.hasReleaseBy()) return false;
if (hasReleaseBy()) {
if (!getReleaseBy()
.equals(other.getReleaseBy())) return false;
}
if (hasEncrypted() != other.hasEncrypted()) return false;
if (hasEncrypted()) {
if (!getEncrypted()
.equals(other.getEncrypted())) return false;
}
if (hasEncryptAlgo() != other.hasEncryptAlgo()) return false;
if (hasEncryptAlgo()) {
if (!getEncryptAlgo()
.equals(other.getEncryptAlgo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
if (hasFormat()) {
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasCreateTime()) {
hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime().hashCode();
}
if (hasCreateBy()) {
hash = (37 * hash) + CREATE_BY_FIELD_NUMBER;
hash = (53 * hash) + getCreateBy().hashCode();
}
if (hasModifyTime()) {
hash = (37 * hash) + MODIFY_TIME_FIELD_NUMBER;
hash = (53 * hash) + getModifyTime().hashCode();
}
if (hasModifyBy()) {
hash = (37 * hash) + MODIFY_BY_FIELD_NUMBER;
hash = (53 * hash) + getModifyBy().hashCode();
}
if (hasReleaseTime()) {
hash = (37 * hash) + RELEASE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getReleaseTime().hashCode();
}
if (hasReleaseBy()) {
hash = (37 * hash) + RELEASE_BY_FIELD_NUMBER;
hash = (53 * hash) + getReleaseBy().hashCode();
}
if (hasEncrypted()) {
hash = (37 * hash) + ENCRYPTED_FIELD_NUMBER;
hash = (53 * hash) + getEncrypted().hashCode();
}
if (hasEncryptAlgo()) {
hash = (37 * hash) + ENCRYPT_ALGO_FIELD_NUMBER;
hash = (53 * hash) + getEncryptAlgo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile 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 v1.ConfigFile}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFile)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFile_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (idBuilder_ == null) {
id_ = null;
} else {
id_ = null;
idBuilder_ = null;
}
if (nameBuilder_ == null) {
name_ = null;
} else {
name_ = null;
nameBuilder_ = null;
}
if (namespaceBuilder_ == null) {
namespace_ = null;
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
if (groupBuilder_ == null) {
group_ = null;
} else {
group_ = null;
groupBuilder_ = null;
}
if (contentBuilder_ == null) {
content_ = null;
} else {
content_ = null;
contentBuilder_ = null;
}
if (formatBuilder_ == null) {
format_ = null;
} else {
format_ = null;
formatBuilder_ = null;
}
if (commentBuilder_ == null) {
comment_ = null;
} else {
comment_ = null;
commentBuilder_ = null;
}
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
} else {
tags_ = null;
tagsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (createTimeBuilder_ == null) {
createTime_ = null;
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
if (createByBuilder_ == null) {
createBy_ = null;
} else {
createBy_ = null;
createByBuilder_ = null;
}
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
if (modifyByBuilder_ == null) {
modifyBy_ = null;
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
if (releaseTimeBuilder_ == null) {
releaseTime_ = null;
} else {
releaseTime_ = null;
releaseTimeBuilder_ = null;
}
if (releaseByBuilder_ == null) {
releaseBy_ = null;
} else {
releaseBy_ = null;
releaseByBuilder_ = null;
}
if (encryptedBuilder_ == null) {
encrypted_ = null;
} else {
encrypted_ = null;
encryptedBuilder_ = null;
}
if (encryptAlgoBuilder_ == null) {
encryptAlgo_ = null;
} else {
encryptAlgo_ = null;
encryptAlgoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFile_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile(this);
int from_bitField0_ = bitField0_;
if (idBuilder_ == null) {
result.id_ = id_;
} else {
result.id_ = idBuilder_.build();
}
if (nameBuilder_ == null) {
result.name_ = name_;
} else {
result.name_ = nameBuilder_.build();
}
if (namespaceBuilder_ == null) {
result.namespace_ = namespace_;
} else {
result.namespace_ = namespaceBuilder_.build();
}
if (groupBuilder_ == null) {
result.group_ = group_;
} else {
result.group_ = groupBuilder_.build();
}
if (contentBuilder_ == null) {
result.content_ = content_;
} else {
result.content_ = contentBuilder_.build();
}
if (formatBuilder_ == null) {
result.format_ = format_;
} else {
result.format_ = formatBuilder_.build();
}
if (commentBuilder_ == null) {
result.comment_ = comment_;
} else {
result.comment_ = commentBuilder_.build();
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (tagsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tags_ = java.util.Collections.unmodifiableList(tags_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.tags_ = tags_;
} else {
result.tags_ = tagsBuilder_.build();
}
if (createTimeBuilder_ == null) {
result.createTime_ = createTime_;
} else {
result.createTime_ = createTimeBuilder_.build();
}
if (createByBuilder_ == null) {
result.createBy_ = createBy_;
} else {
result.createBy_ = createByBuilder_.build();
}
if (modifyTimeBuilder_ == null) {
result.modifyTime_ = modifyTime_;
} else {
result.modifyTime_ = modifyTimeBuilder_.build();
}
if (modifyByBuilder_ == null) {
result.modifyBy_ = modifyBy_;
} else {
result.modifyBy_ = modifyByBuilder_.build();
}
if (releaseTimeBuilder_ == null) {
result.releaseTime_ = releaseTime_;
} else {
result.releaseTime_ = releaseTimeBuilder_.build();
}
if (releaseByBuilder_ == null) {
result.releaseBy_ = releaseBy_;
} else {
result.releaseBy_ = releaseByBuilder_.build();
}
if (encryptedBuilder_ == null) {
result.encrypted_ = encrypted_;
} else {
result.encrypted_ = encryptedBuilder_.build();
}
if (encryptAlgoBuilder_ == null) {
result.encryptAlgo_ = encryptAlgo_;
} else {
result.encryptAlgo_ = encryptAlgoBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile.getDefaultInstance()) return this;
if (other.hasId()) {
mergeId(other.getId());
}
if (other.hasName()) {
mergeName(other.getName());
}
if (other.hasNamespace()) {
mergeNamespace(other.getNamespace());
}
if (other.hasGroup()) {
mergeGroup(other.getGroup());
}
if (other.hasContent()) {
mergeContent(other.getContent());
}
if (other.hasFormat()) {
mergeFormat(other.getFormat());
}
if (other.hasComment()) {
mergeComment(other.getComment());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (tagsBuilder_ == null) {
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
} else {
if (!other.tags_.isEmpty()) {
if (tagsBuilder_.isEmpty()) {
tagsBuilder_.dispose();
tagsBuilder_ = null;
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
tagsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTagsFieldBuilder() : null;
} else {
tagsBuilder_.addAllMessages(other.tags_);
}
}
}
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
if (other.hasCreateBy()) {
mergeCreateBy(other.getCreateBy());
}
if (other.hasModifyTime()) {
mergeModifyTime(other.getModifyTime());
}
if (other.hasModifyBy()) {
mergeModifyBy(other.getModifyBy());
}
if (other.hasReleaseTime()) {
mergeReleaseTime(other.getReleaseTime());
}
if (other.hasReleaseBy()) {
mergeReleaseBy(other.getReleaseBy());
}
if (other.hasEncrypted()) {
mergeEncrypted(other.getEncrypted());
}
if (other.hasEncryptAlgo()) {
mergeEncryptAlgo(other.getEncryptAlgo());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getIdFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getNamespaceFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getGroupFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getContentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
input.readMessage(
getFormatFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 50
case 58: {
input.readMessage(
getCommentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 58
case 66: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 66
case 74: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.parser(),
extensionRegistry);
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(m);
} else {
tagsBuilder_.addMessage(m);
}
break;
} // case 74
case 82: {
input.readMessage(
getCreateTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 82
case 90: {
input.readMessage(
getCreateByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 90
case 98: {
input.readMessage(
getModifyTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 98
case 106: {
input.readMessage(
getModifyByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 106
case 114: {
input.readMessage(
getReleaseTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 114
case 122: {
input.readMessage(
getReleaseByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 122
case 130: {
input.readMessage(
getEncryptedFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 130
case 138: {
input.readMessage(
getEncryptAlgoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 138
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.UInt64Value id_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> idBuilder_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
public com.google.protobuf.UInt64Value getId() {
if (idBuilder_ == null) {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(
com.google.protobuf.UInt64Value.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder mergeId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
com.google.protobuf.UInt64Value.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64Value.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>(
getId(),
getParentForChildren(),
isClean());
id_ = null;
}
return idBuilder_;
}
private com.google.protobuf.StringValue name_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> nameBuilder_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
public boolean hasName() {
return nameBuilder_ != null || name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
public com.google.protobuf.StringValue getName() {
if (nameBuilder_ == null) {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
} else {
return nameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
} else {
nameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (nameBuilder_ == null) {
name_ = builderForValue.build();
onChanged();
} else {
nameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder mergeName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (name_ != null) {
name_ =
com.google.protobuf.StringValue.newBuilder(name_).mergeFrom(value).buildPartial();
} else {
name_ = value;
}
onChanged();
} else {
nameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder clearName() {
if (nameBuilder_ == null) {
name_ = null;
onChanged();
} else {
name_ = null;
nameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValue.Builder getNameBuilder() {
onChanged();
return getNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
if (nameBuilder_ != null) {
return nameBuilder_.getMessageOrBuilder();
} else {
return name_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNameFieldBuilder() {
if (nameBuilder_ == null) {
nameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getName(),
getParentForChildren(),
isClean());
name_ = null;
}
return nameBuilder_;
}
private com.google.protobuf.StringValue namespace_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> namespaceBuilder_;
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return namespaceBuilder_ != null || namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
public com.google.protobuf.StringValue getNamespace() {
if (namespaceBuilder_ == null) {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
} else {
return namespaceBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder setNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
namespace_ = value;
onChanged();
} else {
namespaceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder setNamespace(
com.google.protobuf.StringValue.Builder builderForValue) {
if (namespaceBuilder_ == null) {
namespace_ = builderForValue.build();
onChanged();
} else {
namespaceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder mergeNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (namespace_ != null) {
namespace_ =
com.google.protobuf.StringValue.newBuilder(namespace_).mergeFrom(value).buildPartial();
} else {
namespace_ = value;
}
onChanged();
} else {
namespaceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder clearNamespace() {
if (namespaceBuilder_ == null) {
namespace_ = null;
onChanged();
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public com.google.protobuf.StringValue.Builder getNamespaceBuilder() {
onChanged();
return getNamespaceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
if (namespaceBuilder_ != null) {
return namespaceBuilder_.getMessageOrBuilder();
} else {
return namespace_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNamespaceFieldBuilder() {
if (namespaceBuilder_ == null) {
namespaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getNamespace(),
getParentForChildren(),
isClean());
namespace_ = null;
}
return namespaceBuilder_;
}
private com.google.protobuf.StringValue group_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> groupBuilder_;
/**
* .google.protobuf.StringValue group = 4;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
}
/**
* .google.protobuf.StringValue group = 4;
* @return The group.
*/
public com.google.protobuf.StringValue getGroup() {
if (groupBuilder_ == null) {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
} else {
return groupBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder setGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
group_ = value;
onChanged();
} else {
groupBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder setGroup(
com.google.protobuf.StringValue.Builder builderForValue) {
if (groupBuilder_ == null) {
group_ = builderForValue.build();
onChanged();
} else {
groupBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder mergeGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (group_ != null) {
group_ =
com.google.protobuf.StringValue.newBuilder(group_).mergeFrom(value).buildPartial();
} else {
group_ = value;
}
onChanged();
} else {
groupBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder clearGroup() {
if (groupBuilder_ == null) {
group_ = null;
onChanged();
} else {
group_ = null;
groupBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public com.google.protobuf.StringValue.Builder getGroupBuilder() {
onChanged();
return getGroupFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue group = 4;
*/
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
if (groupBuilder_ != null) {
return groupBuilder_.getMessageOrBuilder();
} else {
return group_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
}
/**
* .google.protobuf.StringValue group = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getGroupFieldBuilder() {
if (groupBuilder_ == null) {
groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getGroup(),
getParentForChildren(),
isClean());
group_ = null;
}
return groupBuilder_;
}
private com.google.protobuf.StringValue content_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> contentBuilder_;
/**
* .google.protobuf.StringValue content = 5;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return contentBuilder_ != null || content_ != null;
}
/**
* .google.protobuf.StringValue content = 5;
* @return The content.
*/
public com.google.protobuf.StringValue getContent() {
if (contentBuilder_ == null) {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
} else {
return contentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue content = 5;
*/
public Builder setContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
} else {
contentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 5;
*/
public Builder setContent(
com.google.protobuf.StringValue.Builder builderForValue) {
if (contentBuilder_ == null) {
content_ = builderForValue.build();
onChanged();
} else {
contentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue content = 5;
*/
public Builder mergeContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (content_ != null) {
content_ =
com.google.protobuf.StringValue.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
onChanged();
} else {
contentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 5;
*/
public Builder clearContent() {
if (contentBuilder_ == null) {
content_ = null;
onChanged();
} else {
content_ = null;
contentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue content = 5;
*/
public com.google.protobuf.StringValue.Builder getContentBuilder() {
onChanged();
return getContentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue content = 5;
*/
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
if (contentBuilder_ != null) {
return contentBuilder_.getMessageOrBuilder();
} else {
return content_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
}
/**
* .google.protobuf.StringValue content = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getContentFieldBuilder() {
if (contentBuilder_ == null) {
contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getContent(),
getParentForChildren(),
isClean());
content_ = null;
}
return contentBuilder_;
}
private com.google.protobuf.StringValue format_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> formatBuilder_;
/**
* .google.protobuf.StringValue format = 6;
* @return Whether the format field is set.
*/
public boolean hasFormat() {
return formatBuilder_ != null || format_ != null;
}
/**
* .google.protobuf.StringValue format = 6;
* @return The format.
*/
public com.google.protobuf.StringValue getFormat() {
if (formatBuilder_ == null) {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
} else {
return formatBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue format = 6;
*/
public Builder setFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
} else {
formatBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 6;
*/
public Builder setFormat(
com.google.protobuf.StringValue.Builder builderForValue) {
if (formatBuilder_ == null) {
format_ = builderForValue.build();
onChanged();
} else {
formatBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue format = 6;
*/
public Builder mergeFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (format_ != null) {
format_ =
com.google.protobuf.StringValue.newBuilder(format_).mergeFrom(value).buildPartial();
} else {
format_ = value;
}
onChanged();
} else {
formatBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 6;
*/
public Builder clearFormat() {
if (formatBuilder_ == null) {
format_ = null;
onChanged();
} else {
format_ = null;
formatBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue format = 6;
*/
public com.google.protobuf.StringValue.Builder getFormatBuilder() {
onChanged();
return getFormatFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue format = 6;
*/
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
if (formatBuilder_ != null) {
return formatBuilder_.getMessageOrBuilder();
} else {
return format_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
}
/**
* .google.protobuf.StringValue format = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFormatFieldBuilder() {
if (formatBuilder_ == null) {
formatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFormat(),
getParentForChildren(),
isClean());
format_ = null;
}
return formatBuilder_;
}
private com.google.protobuf.StringValue comment_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> commentBuilder_;
/**
* .google.protobuf.StringValue comment = 7;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return commentBuilder_ != null || comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 7;
* @return The comment.
*/
public com.google.protobuf.StringValue getComment() {
if (commentBuilder_ == null) {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
} else {
return commentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public Builder setComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
comment_ = value;
onChanged();
} else {
commentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public Builder setComment(
com.google.protobuf.StringValue.Builder builderForValue) {
if (commentBuilder_ == null) {
comment_ = builderForValue.build();
onChanged();
} else {
commentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public Builder mergeComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (comment_ != null) {
comment_ =
com.google.protobuf.StringValue.newBuilder(comment_).mergeFrom(value).buildPartial();
} else {
comment_ = value;
}
onChanged();
} else {
commentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public Builder clearComment() {
if (commentBuilder_ == null) {
comment_ = null;
onChanged();
} else {
comment_ = null;
commentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public com.google.protobuf.StringValue.Builder getCommentBuilder() {
onChanged();
return getCommentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
if (commentBuilder_ != null) {
return commentBuilder_.getMessageOrBuilder();
} else {
return comment_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
}
/**
* .google.protobuf.StringValue comment = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCommentFieldBuilder() {
if (commentBuilder_ == null) {
commentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getComment(),
getParentForChildren(),
isClean());
comment_ = null;
}
return commentBuilder_;
}
private com.google.protobuf.StringValue status_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> statusBuilder_;
/**
* .google.protobuf.StringValue status = 8;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
* .google.protobuf.StringValue status = 8;
* @return The status.
*/
public com.google.protobuf.StringValue getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue status = 8;
*/
public Builder setStatus(com.google.protobuf.StringValue value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue status = 8;
*/
public Builder setStatus(
com.google.protobuf.StringValue.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue status = 8;
*/
public Builder mergeStatus(com.google.protobuf.StringValue value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
com.google.protobuf.StringValue.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue status = 8;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue status = 8;
*/
public com.google.protobuf.StringValue.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue status = 8;
*/
public com.google.protobuf.StringValueOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : status_;
}
}
/**
* .google.protobuf.StringValue status = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List tags_ =
java.util.Collections.emptyList();
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
tags_ = new java.util.ArrayList(tags_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder> tagsBuilder_;
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public java.util.List getTagsList() {
if (tagsBuilder_ == null) {
return java.util.Collections.unmodifiableList(tags_);
} else {
return tagsBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public int getTagsCount() {
if (tagsBuilder_ == null) {
return tags_.size();
} else {
return tagsBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
if (tagsBuilder_ == null) {
return tags_.get(index);
} else {
return tagsBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
} else {
tagsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.set(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public Builder addTags(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
} else {
tagsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(index, value);
onChanged();
} else {
tagsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public Builder addTags(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public Builder addAllTags(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag> values) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
} else {
tagsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public Builder clearTags() {
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
tagsBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public Builder removeTags(int index) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.remove(index);
onChanged();
} else {
tagsBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder getTagsBuilder(
int index) {
return getTagsFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
if (tagsBuilder_ == null) {
return tags_.get(index); } else {
return tagsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
if (tagsBuilder_ != null) {
return tagsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tags_);
}
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder() {
return getTagsFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder(
int index) {
return getTagsFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 9;
*/
public java.util.List
getTagsBuilderList() {
return getTagsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsFieldBuilder() {
if (tagsBuilder_ == null) {
tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>(
tags_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
tags_ = null;
}
return tagsBuilder_;
}
private com.google.protobuf.StringValue createTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createTimeBuilder_;
/**
* .google.protobuf.StringValue create_time = 10;
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 10;
* @return The createTime.
*/
public com.google.protobuf.StringValue getCreateTime() {
if (createTimeBuilder_ == null) {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
} else {
return createTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public Builder setCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createTime_ = value;
onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public Builder setCreateTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public Builder mergeCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (createTime_ != null) {
createTime_ =
com.google.protobuf.StringValue.newBuilder(createTime_).mergeFrom(value).buildPartial();
} else {
createTime_ = value;
}
onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public Builder clearCreateTime() {
if (createTimeBuilder_ == null) {
createTime_ = null;
onChanged();
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public com.google.protobuf.StringValue.Builder getCreateTimeBuilder() {
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
return createTimeBuilder_.getMessageOrBuilder();
} else {
return createTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateTimeFieldBuilder() {
if (createTimeBuilder_ == null) {
createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateTime(),
getParentForChildren(),
isClean());
createTime_ = null;
}
return createTimeBuilder_;
}
private com.google.protobuf.StringValue createBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createByBuilder_;
/**
* .google.protobuf.StringValue create_by = 11;
* @return Whether the createBy field is set.
*/
public boolean hasCreateBy() {
return createByBuilder_ != null || createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 11;
* @return The createBy.
*/
public com.google.protobuf.StringValue getCreateBy() {
if (createByBuilder_ == null) {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
} else {
return createByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public Builder setCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createBy_ = value;
onChanged();
} else {
createByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public Builder setCreateBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createByBuilder_ == null) {
createBy_ = builderForValue.build();
onChanged();
} else {
createByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public Builder mergeCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (createBy_ != null) {
createBy_ =
com.google.protobuf.StringValue.newBuilder(createBy_).mergeFrom(value).buildPartial();
} else {
createBy_ = value;
}
onChanged();
} else {
createByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public Builder clearCreateBy() {
if (createByBuilder_ == null) {
createBy_ = null;
onChanged();
} else {
createBy_ = null;
createByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public com.google.protobuf.StringValue.Builder getCreateByBuilder() {
onChanged();
return getCreateByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
if (createByBuilder_ != null) {
return createByBuilder_.getMessageOrBuilder();
} else {
return createBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateByFieldBuilder() {
if (createByBuilder_ == null) {
createByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateBy(),
getParentForChildren(),
isClean());
createBy_ = null;
}
return createByBuilder_;
}
private com.google.protobuf.StringValue modifyTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyTimeBuilder_;
/**
* .google.protobuf.StringValue modify_time = 12;
* @return Whether the modifyTime field is set.
*/
public boolean hasModifyTime() {
return modifyTimeBuilder_ != null || modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 12;
* @return The modifyTime.
*/
public com.google.protobuf.StringValue getModifyTime() {
if (modifyTimeBuilder_ == null) {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
} else {
return modifyTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public Builder setModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyTime_ = value;
onChanged();
} else {
modifyTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public Builder setModifyTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyTimeBuilder_ == null) {
modifyTime_ = builderForValue.build();
onChanged();
} else {
modifyTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public Builder mergeModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (modifyTime_ != null) {
modifyTime_ =
com.google.protobuf.StringValue.newBuilder(modifyTime_).mergeFrom(value).buildPartial();
} else {
modifyTime_ = value;
}
onChanged();
} else {
modifyTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public Builder clearModifyTime() {
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
onChanged();
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public com.google.protobuf.StringValue.Builder getModifyTimeBuilder() {
onChanged();
return getModifyTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
if (modifyTimeBuilder_ != null) {
return modifyTimeBuilder_.getMessageOrBuilder();
} else {
return modifyTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyTimeFieldBuilder() {
if (modifyTimeBuilder_ == null) {
modifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyTime(),
getParentForChildren(),
isClean());
modifyTime_ = null;
}
return modifyTimeBuilder_;
}
private com.google.protobuf.StringValue modifyBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyByBuilder_;
/**
* .google.protobuf.StringValue modify_by = 13;
* @return Whether the modifyBy field is set.
*/
public boolean hasModifyBy() {
return modifyByBuilder_ != null || modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 13;
* @return The modifyBy.
*/
public com.google.protobuf.StringValue getModifyBy() {
if (modifyByBuilder_ == null) {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
} else {
return modifyByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public Builder setModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyBy_ = value;
onChanged();
} else {
modifyByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public Builder setModifyBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyByBuilder_ == null) {
modifyBy_ = builderForValue.build();
onChanged();
} else {
modifyByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public Builder mergeModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (modifyBy_ != null) {
modifyBy_ =
com.google.protobuf.StringValue.newBuilder(modifyBy_).mergeFrom(value).buildPartial();
} else {
modifyBy_ = value;
}
onChanged();
} else {
modifyByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public Builder clearModifyBy() {
if (modifyByBuilder_ == null) {
modifyBy_ = null;
onChanged();
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public com.google.protobuf.StringValue.Builder getModifyByBuilder() {
onChanged();
return getModifyByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
if (modifyByBuilder_ != null) {
return modifyByBuilder_.getMessageOrBuilder();
} else {
return modifyBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyByFieldBuilder() {
if (modifyByBuilder_ == null) {
modifyByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyBy(),
getParentForChildren(),
isClean());
modifyBy_ = null;
}
return modifyByBuilder_;
}
private com.google.protobuf.StringValue releaseTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> releaseTimeBuilder_;
/**
* .google.protobuf.StringValue release_time = 14;
* @return Whether the releaseTime field is set.
*/
public boolean hasReleaseTime() {
return releaseTimeBuilder_ != null || releaseTime_ != null;
}
/**
* .google.protobuf.StringValue release_time = 14;
* @return The releaseTime.
*/
public com.google.protobuf.StringValue getReleaseTime() {
if (releaseTimeBuilder_ == null) {
return releaseTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseTime_;
} else {
return releaseTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue release_time = 14;
*/
public Builder setReleaseTime(com.google.protobuf.StringValue value) {
if (releaseTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
releaseTime_ = value;
onChanged();
} else {
releaseTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_time = 14;
*/
public Builder setReleaseTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (releaseTimeBuilder_ == null) {
releaseTime_ = builderForValue.build();
onChanged();
} else {
releaseTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue release_time = 14;
*/
public Builder mergeReleaseTime(com.google.protobuf.StringValue value) {
if (releaseTimeBuilder_ == null) {
if (releaseTime_ != null) {
releaseTime_ =
com.google.protobuf.StringValue.newBuilder(releaseTime_).mergeFrom(value).buildPartial();
} else {
releaseTime_ = value;
}
onChanged();
} else {
releaseTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_time = 14;
*/
public Builder clearReleaseTime() {
if (releaseTimeBuilder_ == null) {
releaseTime_ = null;
onChanged();
} else {
releaseTime_ = null;
releaseTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue release_time = 14;
*/
public com.google.protobuf.StringValue.Builder getReleaseTimeBuilder() {
onChanged();
return getReleaseTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue release_time = 14;
*/
public com.google.protobuf.StringValueOrBuilder getReleaseTimeOrBuilder() {
if (releaseTimeBuilder_ != null) {
return releaseTimeBuilder_.getMessageOrBuilder();
} else {
return releaseTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : releaseTime_;
}
}
/**
* .google.protobuf.StringValue release_time = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getReleaseTimeFieldBuilder() {
if (releaseTimeBuilder_ == null) {
releaseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getReleaseTime(),
getParentForChildren(),
isClean());
releaseTime_ = null;
}
return releaseTimeBuilder_;
}
private com.google.protobuf.StringValue releaseBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> releaseByBuilder_;
/**
* .google.protobuf.StringValue release_by = 15;
* @return Whether the releaseBy field is set.
*/
public boolean hasReleaseBy() {
return releaseByBuilder_ != null || releaseBy_ != null;
}
/**
* .google.protobuf.StringValue release_by = 15;
* @return The releaseBy.
*/
public com.google.protobuf.StringValue getReleaseBy() {
if (releaseByBuilder_ == null) {
return releaseBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseBy_;
} else {
return releaseByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue release_by = 15;
*/
public Builder setReleaseBy(com.google.protobuf.StringValue value) {
if (releaseByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
releaseBy_ = value;
onChanged();
} else {
releaseByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_by = 15;
*/
public Builder setReleaseBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (releaseByBuilder_ == null) {
releaseBy_ = builderForValue.build();
onChanged();
} else {
releaseByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue release_by = 15;
*/
public Builder mergeReleaseBy(com.google.protobuf.StringValue value) {
if (releaseByBuilder_ == null) {
if (releaseBy_ != null) {
releaseBy_ =
com.google.protobuf.StringValue.newBuilder(releaseBy_).mergeFrom(value).buildPartial();
} else {
releaseBy_ = value;
}
onChanged();
} else {
releaseByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_by = 15;
*/
public Builder clearReleaseBy() {
if (releaseByBuilder_ == null) {
releaseBy_ = null;
onChanged();
} else {
releaseBy_ = null;
releaseByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue release_by = 15;
*/
public com.google.protobuf.StringValue.Builder getReleaseByBuilder() {
onChanged();
return getReleaseByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue release_by = 15;
*/
public com.google.protobuf.StringValueOrBuilder getReleaseByOrBuilder() {
if (releaseByBuilder_ != null) {
return releaseByBuilder_.getMessageOrBuilder();
} else {
return releaseBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : releaseBy_;
}
}
/**
* .google.protobuf.StringValue release_by = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getReleaseByFieldBuilder() {
if (releaseByBuilder_ == null) {
releaseByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getReleaseBy(),
getParentForChildren(),
isClean());
releaseBy_ = null;
}
return releaseByBuilder_;
}
private com.google.protobuf.BoolValue encrypted_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> encryptedBuilder_;
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return Whether the encrypted field is set.
*/
public boolean hasEncrypted() {
return encryptedBuilder_ != null || encrypted_ != null;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return The encrypted.
*/
public com.google.protobuf.BoolValue getEncrypted() {
if (encryptedBuilder_ == null) {
return encrypted_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : encrypted_;
} else {
return encryptedBuilder_.getMessage();
}
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public Builder setEncrypted(com.google.protobuf.BoolValue value) {
if (encryptedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
encrypted_ = value;
onChanged();
} else {
encryptedBuilder_.setMessage(value);
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public Builder setEncrypted(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (encryptedBuilder_ == null) {
encrypted_ = builderForValue.build();
onChanged();
} else {
encryptedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public Builder mergeEncrypted(com.google.protobuf.BoolValue value) {
if (encryptedBuilder_ == null) {
if (encrypted_ != null) {
encrypted_ =
com.google.protobuf.BoolValue.newBuilder(encrypted_).mergeFrom(value).buildPartial();
} else {
encrypted_ = value;
}
onChanged();
} else {
encryptedBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public Builder clearEncrypted() {
if (encryptedBuilder_ == null) {
encrypted_ = null;
onChanged();
} else {
encrypted_ = null;
encryptedBuilder_ = null;
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public com.google.protobuf.BoolValue.Builder getEncryptedBuilder() {
onChanged();
return getEncryptedFieldBuilder().getBuilder();
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public com.google.protobuf.BoolValueOrBuilder getEncryptedOrBuilder() {
if (encryptedBuilder_ != null) {
return encryptedBuilder_.getMessageOrBuilder();
} else {
return encrypted_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : encrypted_;
}
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getEncryptedFieldBuilder() {
if (encryptedBuilder_ == null) {
encryptedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getEncrypted(),
getParentForChildren(),
isClean());
encrypted_ = null;
}
return encryptedBuilder_;
}
private com.google.protobuf.StringValue encryptAlgo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> encryptAlgoBuilder_;
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return Whether the encryptAlgo field is set.
*/
public boolean hasEncryptAlgo() {
return encryptAlgoBuilder_ != null || encryptAlgo_ != null;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return The encryptAlgo.
*/
public com.google.protobuf.StringValue getEncryptAlgo() {
if (encryptAlgoBuilder_ == null) {
return encryptAlgo_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : encryptAlgo_;
} else {
return encryptAlgoBuilder_.getMessage();
}
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public Builder setEncryptAlgo(com.google.protobuf.StringValue value) {
if (encryptAlgoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
encryptAlgo_ = value;
onChanged();
} else {
encryptAlgoBuilder_.setMessage(value);
}
return this;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public Builder setEncryptAlgo(
com.google.protobuf.StringValue.Builder builderForValue) {
if (encryptAlgoBuilder_ == null) {
encryptAlgo_ = builderForValue.build();
onChanged();
} else {
encryptAlgoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public Builder mergeEncryptAlgo(com.google.protobuf.StringValue value) {
if (encryptAlgoBuilder_ == null) {
if (encryptAlgo_ != null) {
encryptAlgo_ =
com.google.protobuf.StringValue.newBuilder(encryptAlgo_).mergeFrom(value).buildPartial();
} else {
encryptAlgo_ = value;
}
onChanged();
} else {
encryptAlgoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public Builder clearEncryptAlgo() {
if (encryptAlgoBuilder_ == null) {
encryptAlgo_ = null;
onChanged();
} else {
encryptAlgo_ = null;
encryptAlgoBuilder_ = null;
}
return this;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public com.google.protobuf.StringValue.Builder getEncryptAlgoBuilder() {
onChanged();
return getEncryptAlgoFieldBuilder().getBuilder();
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public com.google.protobuf.StringValueOrBuilder getEncryptAlgoOrBuilder() {
if (encryptAlgoBuilder_ != null) {
return encryptAlgoBuilder_.getMessageOrBuilder();
} else {
return encryptAlgo_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : encryptAlgo_;
}
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getEncryptAlgoFieldBuilder() {
if (encryptAlgoBuilder_ == null) {
encryptAlgoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getEncryptAlgo(),
getParentForChildren(),
isClean());
encryptAlgo_ = null;
}
return encryptAlgoBuilder_;
}
@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:v1.ConfigFile)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFile)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFile parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFile getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigFileTagOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFileTag)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue key = 1;
* @return Whether the key field is set.
*/
boolean hasKey();
/**
* .google.protobuf.StringValue key = 1;
* @return The key.
*/
com.google.protobuf.StringValue getKey();
/**
* .google.protobuf.StringValue key = 1;
*/
com.google.protobuf.StringValueOrBuilder getKeyOrBuilder();
/**
* .google.protobuf.StringValue value = 2;
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* .google.protobuf.StringValue value = 2;
* @return The value.
*/
com.google.protobuf.StringValue getValue();
/**
* .google.protobuf.StringValue value = 2;
*/
com.google.protobuf.StringValueOrBuilder getValueOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigFileTag}
*/
public static final class ConfigFileTag extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFileTag)
ConfigFileTagOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFileTag.newBuilder() to construct.
private ConfigFileTag(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigFileTag() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFileTag();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTag_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTag_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder.class);
}
public static final int KEY_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue key_;
/**
* .google.protobuf.StringValue key = 1;
* @return Whether the key field is set.
*/
@java.lang.Override
public boolean hasKey() {
return key_ != null;
}
/**
* .google.protobuf.StringValue key = 1;
* @return The key.
*/
@java.lang.Override
public com.google.protobuf.StringValue getKey() {
return key_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : key_;
}
/**
* .google.protobuf.StringValue key = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getKeyOrBuilder() {
return getKey();
}
public static final int VALUE_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue value_;
/**
* .google.protobuf.StringValue value = 2;
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return value_ != null;
}
/**
* .google.protobuf.StringValue value = 2;
* @return The value.
*/
@java.lang.Override
public com.google.protobuf.StringValue getValue() {
return value_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : value_;
}
/**
* .google.protobuf.StringValue value = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getValueOrBuilder() {
return getValue();
}
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 (key_ != null) {
output.writeMessage(1, getKey());
}
if (value_ != null) {
output.writeMessage(2, getValue());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (key_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getKey());
}
if (value_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getValue());
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag) obj;
if (hasKey() != other.hasKey()) return false;
if (hasKey()) {
if (!getKey()
.equals(other.getKey())) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag 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 v1.ConfigFileTag}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFileTag)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTag_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTag_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (keyBuilder_ == null) {
key_ = null;
} else {
key_ = null;
keyBuilder_ = null;
}
if (valueBuilder_ == null) {
value_ = null;
} else {
value_ = null;
valueBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTag_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag(this);
if (keyBuilder_ == null) {
result.key_ = key_;
} else {
result.key_ = keyBuilder_.build();
}
if (valueBuilder_ == null) {
result.value_ = value_;
} else {
result.value_ = valueBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance()) return this;
if (other.hasKey()) {
mergeKey(other.getKey());
}
if (other.hasValue()) {
mergeValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getKeyFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getValueFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private com.google.protobuf.StringValue key_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> keyBuilder_;
/**
* .google.protobuf.StringValue key = 1;
* @return Whether the key field is set.
*/
public boolean hasKey() {
return keyBuilder_ != null || key_ != null;
}
/**
* .google.protobuf.StringValue key = 1;
* @return The key.
*/
public com.google.protobuf.StringValue getKey() {
if (keyBuilder_ == null) {
return key_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : key_;
} else {
return keyBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue key = 1;
*/
public Builder setKey(com.google.protobuf.StringValue value) {
if (keyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
} else {
keyBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue key = 1;
*/
public Builder setKey(
com.google.protobuf.StringValue.Builder builderForValue) {
if (keyBuilder_ == null) {
key_ = builderForValue.build();
onChanged();
} else {
keyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue key = 1;
*/
public Builder mergeKey(com.google.protobuf.StringValue value) {
if (keyBuilder_ == null) {
if (key_ != null) {
key_ =
com.google.protobuf.StringValue.newBuilder(key_).mergeFrom(value).buildPartial();
} else {
key_ = value;
}
onChanged();
} else {
keyBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue key = 1;
*/
public Builder clearKey() {
if (keyBuilder_ == null) {
key_ = null;
onChanged();
} else {
key_ = null;
keyBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue key = 1;
*/
public com.google.protobuf.StringValue.Builder getKeyBuilder() {
onChanged();
return getKeyFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue key = 1;
*/
public com.google.protobuf.StringValueOrBuilder getKeyOrBuilder() {
if (keyBuilder_ != null) {
return keyBuilder_.getMessageOrBuilder();
} else {
return key_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : key_;
}
}
/**
* .google.protobuf.StringValue key = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getKeyFieldBuilder() {
if (keyBuilder_ == null) {
keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getKey(),
getParentForChildren(),
isClean());
key_ = null;
}
return keyBuilder_;
}
private com.google.protobuf.StringValue value_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> valueBuilder_;
/**
* .google.protobuf.StringValue value = 2;
* @return Whether the value field is set.
*/
public boolean hasValue() {
return valueBuilder_ != null || value_ != null;
}
/**
* .google.protobuf.StringValue value = 2;
* @return The value.
*/
public com.google.protobuf.StringValue getValue() {
if (valueBuilder_ == null) {
return value_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : value_;
} else {
return valueBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue value = 2;
*/
public Builder setValue(com.google.protobuf.StringValue value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
valueBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue value = 2;
*/
public Builder setValue(
com.google.protobuf.StringValue.Builder builderForValue) {
if (valueBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
valueBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue value = 2;
*/
public Builder mergeValue(com.google.protobuf.StringValue value) {
if (valueBuilder_ == null) {
if (value_ != null) {
value_ =
com.google.protobuf.StringValue.newBuilder(value_).mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
valueBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue value = 2;
*/
public Builder clearValue() {
if (valueBuilder_ == null) {
value_ = null;
onChanged();
} else {
value_ = null;
valueBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue value = 2;
*/
public com.google.protobuf.StringValue.Builder getValueBuilder() {
onChanged();
return getValueFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue value = 2;
*/
public com.google.protobuf.StringValueOrBuilder getValueOrBuilder() {
if (valueBuilder_ != null) {
return valueBuilder_.getMessageOrBuilder();
} else {
return value_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : value_;
}
}
/**
* .google.protobuf.StringValue value = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getValueFieldBuilder() {
if (valueBuilder_ == null) {
valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getValue(),
getParentForChildren(),
isClean());
value_ = null;
}
return valueBuilder_;
}
@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:v1.ConfigFileTag)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFileTag)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFileTag parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigFileReleaseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFileRelease)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
com.google.protobuf.UInt64Value getId();
/**
* .google.protobuf.UInt64Value id = 1;
*/
com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder();
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
com.google.protobuf.StringValue getName();
/**
* .google.protobuf.StringValue name = 2;
*/
com.google.protobuf.StringValueOrBuilder getNameOrBuilder();
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
com.google.protobuf.StringValue getNamespace();
/**
* .google.protobuf.StringValue namespace = 3;
*/
com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder();
/**
* .google.protobuf.StringValue group = 4;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* .google.protobuf.StringValue group = 4;
* @return The group.
*/
com.google.protobuf.StringValue getGroup();
/**
* .google.protobuf.StringValue group = 4;
*/
com.google.protobuf.StringValueOrBuilder getGroupOrBuilder();
/**
* .google.protobuf.StringValue file_name = 5;
* @return Whether the fileName field is set.
*/
boolean hasFileName();
/**
* .google.protobuf.StringValue file_name = 5;
* @return The fileName.
*/
com.google.protobuf.StringValue getFileName();
/**
* .google.protobuf.StringValue file_name = 5;
*/
com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder();
/**
* .google.protobuf.StringValue content = 6;
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* .google.protobuf.StringValue content = 6;
* @return The content.
*/
com.google.protobuf.StringValue getContent();
/**
* .google.protobuf.StringValue content = 6;
*/
com.google.protobuf.StringValueOrBuilder getContentOrBuilder();
/**
* .google.protobuf.StringValue comment = 7;
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* .google.protobuf.StringValue comment = 7;
* @return The comment.
*/
com.google.protobuf.StringValue getComment();
/**
* .google.protobuf.StringValue comment = 7;
*/
com.google.protobuf.StringValueOrBuilder getCommentOrBuilder();
/**
* .google.protobuf.StringValue md5 = 8;
* @return Whether the md5 field is set.
*/
boolean hasMd5();
/**
* .google.protobuf.StringValue md5 = 8;
* @return The md5.
*/
com.google.protobuf.StringValue getMd5();
/**
* .google.protobuf.StringValue md5 = 8;
*/
com.google.protobuf.StringValueOrBuilder getMd5OrBuilder();
/**
* .google.protobuf.UInt64Value version = 9;
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
* .google.protobuf.UInt64Value version = 9;
* @return The version.
*/
com.google.protobuf.UInt64Value getVersion();
/**
* .google.protobuf.UInt64Value version = 9;
*/
com.google.protobuf.UInt64ValueOrBuilder getVersionOrBuilder();
/**
* .google.protobuf.StringValue create_time = 10;
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* .google.protobuf.StringValue create_time = 10;
* @return The createTime.
*/
com.google.protobuf.StringValue getCreateTime();
/**
* .google.protobuf.StringValue create_time = 10;
*/
com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder();
/**
* .google.protobuf.StringValue create_by = 11;
* @return Whether the createBy field is set.
*/
boolean hasCreateBy();
/**
* .google.protobuf.StringValue create_by = 11;
* @return The createBy.
*/
com.google.protobuf.StringValue getCreateBy();
/**
* .google.protobuf.StringValue create_by = 11;
*/
com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder();
/**
* .google.protobuf.StringValue modify_time = 12;
* @return Whether the modifyTime field is set.
*/
boolean hasModifyTime();
/**
* .google.protobuf.StringValue modify_time = 12;
* @return The modifyTime.
*/
com.google.protobuf.StringValue getModifyTime();
/**
* .google.protobuf.StringValue modify_time = 12;
*/
com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder();
/**
* .google.protobuf.StringValue modify_by = 13;
* @return Whether the modifyBy field is set.
*/
boolean hasModifyBy();
/**
* .google.protobuf.StringValue modify_by = 13;
* @return The modifyBy.
*/
com.google.protobuf.StringValue getModifyBy();
/**
* .google.protobuf.StringValue modify_by = 13;
*/
com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder();
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
java.util.List
getTagsList();
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index);
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
int getTagsCount();
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList();
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index);
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
* @return Whether the active field is set.
*/
boolean hasActive();
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
* @return The active.
*/
com.google.protobuf.BoolValue getActive();
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
*/
com.google.protobuf.BoolValueOrBuilder getActiveOrBuilder();
/**
* .google.protobuf.StringValue format = 16;
* @return Whether the format field is set.
*/
boolean hasFormat();
/**
* .google.protobuf.StringValue format = 16;
* @return The format.
*/
com.google.protobuf.StringValue getFormat();
/**
* .google.protobuf.StringValue format = 16;
*/
com.google.protobuf.StringValueOrBuilder getFormatOrBuilder();
/**
* .google.protobuf.StringValue release_description = 17;
* @return Whether the releaseDescription field is set.
*/
boolean hasReleaseDescription();
/**
* .google.protobuf.StringValue release_description = 17;
* @return The releaseDescription.
*/
com.google.protobuf.StringValue getReleaseDescription();
/**
* .google.protobuf.StringValue release_description = 17;
*/
com.google.protobuf.StringValueOrBuilder getReleaseDescriptionOrBuilder();
/**
* .google.protobuf.StringValue release_type = 18;
* @return Whether the releaseType field is set.
*/
boolean hasReleaseType();
/**
* .google.protobuf.StringValue release_type = 18;
* @return The releaseType.
*/
com.google.protobuf.StringValue getReleaseType();
/**
* .google.protobuf.StringValue release_type = 18;
*/
com.google.protobuf.StringValueOrBuilder getReleaseTypeOrBuilder();
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
java.util.List
getBetaLabelsList();
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel getBetaLabels(int index);
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
int getBetaLabelsCount();
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabelOrBuilder>
getBetaLabelsOrBuilderList();
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabelOrBuilder getBetaLabelsOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.ConfigFileRelease}
*/
public static final class ConfigFileRelease extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFileRelease)
ConfigFileReleaseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFileRelease.newBuilder() to construct.
private ConfigFileRelease(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigFileRelease() {
tags_ = java.util.Collections.emptyList();
betaLabels_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFileRelease();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileRelease_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileRelease_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private com.google.protobuf.UInt64Value id_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.UInt64Value getId() {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
@java.lang.Override
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
return getId();
}
public static final int NAME_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue name_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.StringValue getName() {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
/**
* .google.protobuf.StringValue name = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
return getName();
}
public static final int NAMESPACE_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue namespace_;
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
@java.lang.Override
public com.google.protobuf.StringValue getNamespace() {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
return getNamespace();
}
public static final int GROUP_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue group_;
/**
* .google.protobuf.StringValue group = 4;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return group_ != null;
}
/**
* .google.protobuf.StringValue group = 4;
* @return The group.
*/
@java.lang.Override
public com.google.protobuf.StringValue getGroup() {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
/**
* .google.protobuf.StringValue group = 4;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
return getGroup();
}
public static final int FILE_NAME_FIELD_NUMBER = 5;
private com.google.protobuf.StringValue fileName_;
/**
* .google.protobuf.StringValue file_name = 5;
* @return Whether the fileName field is set.
*/
@java.lang.Override
public boolean hasFileName() {
return fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 5;
* @return The fileName.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFileName() {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
return getFileName();
}
public static final int CONTENT_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue content_;
/**
* .google.protobuf.StringValue content = 6;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return content_ != null;
}
/**
* .google.protobuf.StringValue content = 6;
* @return The content.
*/
@java.lang.Override
public com.google.protobuf.StringValue getContent() {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
/**
* .google.protobuf.StringValue content = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
return getContent();
}
public static final int COMMENT_FIELD_NUMBER = 7;
private com.google.protobuf.StringValue comment_;
/**
* .google.protobuf.StringValue comment = 7;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 7;
* @return The comment.
*/
@java.lang.Override
public com.google.protobuf.StringValue getComment() {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
return getComment();
}
public static final int MD5_FIELD_NUMBER = 8;
private com.google.protobuf.StringValue md5_;
/**
* .google.protobuf.StringValue md5 = 8;
* @return Whether the md5 field is set.
*/
@java.lang.Override
public boolean hasMd5() {
return md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 8;
* @return The md5.
*/
@java.lang.Override
public com.google.protobuf.StringValue getMd5() {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
/**
* .google.protobuf.StringValue md5 = 8;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
return getMd5();
}
public static final int VERSION_FIELD_NUMBER = 9;
private com.google.protobuf.UInt64Value version_;
/**
* .google.protobuf.UInt64Value version = 9;
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return version_ != null;
}
/**
* .google.protobuf.UInt64Value version = 9;
* @return The version.
*/
@java.lang.Override
public com.google.protobuf.UInt64Value getVersion() {
return version_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : version_;
}
/**
* .google.protobuf.UInt64Value version = 9;
*/
@java.lang.Override
public com.google.protobuf.UInt64ValueOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int CREATE_TIME_FIELD_NUMBER = 10;
private com.google.protobuf.StringValue createTime_;
/**
* .google.protobuf.StringValue create_time = 10;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 10;
* @return The createTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateTime() {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
public static final int CREATE_BY_FIELD_NUMBER = 11;
private com.google.protobuf.StringValue createBy_;
/**
* .google.protobuf.StringValue create_by = 11;
* @return Whether the createBy field is set.
*/
@java.lang.Override
public boolean hasCreateBy() {
return createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 11;
* @return The createBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateBy() {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
return getCreateBy();
}
public static final int MODIFY_TIME_FIELD_NUMBER = 12;
private com.google.protobuf.StringValue modifyTime_;
/**
* .google.protobuf.StringValue modify_time = 12;
* @return Whether the modifyTime field is set.
*/
@java.lang.Override
public boolean hasModifyTime() {
return modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 12;
* @return The modifyTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyTime() {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
return getModifyTime();
}
public static final int MODIFY_BY_FIELD_NUMBER = 13;
private com.google.protobuf.StringValue modifyBy_;
/**
* .google.protobuf.StringValue modify_by = 13;
* @return Whether the modifyBy field is set.
*/
@java.lang.Override
public boolean hasModifyBy() {
return modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 13;
* @return The modifyBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyBy() {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
return getModifyBy();
}
public static final int TAGS_FIELD_NUMBER = 14;
private java.util.List tags_;
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public java.util.List getTagsList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public int getTagsCount() {
return tags_.size();
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
return tags_.get(index);
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
return tags_.get(index);
}
public static final int ACTIVE_FIELD_NUMBER = 15;
private com.google.protobuf.BoolValue active_;
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
* @return Whether the active field is set.
*/
@java.lang.Override
public boolean hasActive() {
return active_ != null;
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
* @return The active.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getActive() {
return active_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : active_;
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getActiveOrBuilder() {
return getActive();
}
public static final int FORMAT_FIELD_NUMBER = 16;
private com.google.protobuf.StringValue format_;
/**
* .google.protobuf.StringValue format = 16;
* @return Whether the format field is set.
*/
@java.lang.Override
public boolean hasFormat() {
return format_ != null;
}
/**
* .google.protobuf.StringValue format = 16;
* @return The format.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFormat() {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
/**
* .google.protobuf.StringValue format = 16;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
return getFormat();
}
public static final int RELEASE_DESCRIPTION_FIELD_NUMBER = 17;
private com.google.protobuf.StringValue releaseDescription_;
/**
* .google.protobuf.StringValue release_description = 17;
* @return Whether the releaseDescription field is set.
*/
@java.lang.Override
public boolean hasReleaseDescription() {
return releaseDescription_ != null;
}
/**
* .google.protobuf.StringValue release_description = 17;
* @return The releaseDescription.
*/
@java.lang.Override
public com.google.protobuf.StringValue getReleaseDescription() {
return releaseDescription_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseDescription_;
}
/**
* .google.protobuf.StringValue release_description = 17;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getReleaseDescriptionOrBuilder() {
return getReleaseDescription();
}
public static final int RELEASE_TYPE_FIELD_NUMBER = 18;
private com.google.protobuf.StringValue releaseType_;
/**
* .google.protobuf.StringValue release_type = 18;
* @return Whether the releaseType field is set.
*/
@java.lang.Override
public boolean hasReleaseType() {
return releaseType_ != null;
}
/**
* .google.protobuf.StringValue release_type = 18;
* @return The releaseType.
*/
@java.lang.Override
public com.google.protobuf.StringValue getReleaseType() {
return releaseType_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseType_;
}
/**
* .google.protobuf.StringValue release_type = 18;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getReleaseTypeOrBuilder() {
return getReleaseType();
}
public static final int BETA_LABELS_FIELD_NUMBER = 19;
private java.util.List betaLabels_;
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
@java.lang.Override
public java.util.List getBetaLabelsList() {
return betaLabels_;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabelOrBuilder>
getBetaLabelsOrBuilderList() {
return betaLabels_;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
@java.lang.Override
public int getBetaLabelsCount() {
return betaLabels_.size();
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel getBetaLabels(int index) {
return betaLabels_.get(index);
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabelOrBuilder getBetaLabelsOrBuilder(
int index) {
return betaLabels_.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 (id_ != null) {
output.writeMessage(1, getId());
}
if (name_ != null) {
output.writeMessage(2, getName());
}
if (namespace_ != null) {
output.writeMessage(3, getNamespace());
}
if (group_ != null) {
output.writeMessage(4, getGroup());
}
if (fileName_ != null) {
output.writeMessage(5, getFileName());
}
if (content_ != null) {
output.writeMessage(6, getContent());
}
if (comment_ != null) {
output.writeMessage(7, getComment());
}
if (md5_ != null) {
output.writeMessage(8, getMd5());
}
if (version_ != null) {
output.writeMessage(9, getVersion());
}
if (createTime_ != null) {
output.writeMessage(10, getCreateTime());
}
if (createBy_ != null) {
output.writeMessage(11, getCreateBy());
}
if (modifyTime_ != null) {
output.writeMessage(12, getModifyTime());
}
if (modifyBy_ != null) {
output.writeMessage(13, getModifyBy());
}
for (int i = 0; i < tags_.size(); i++) {
output.writeMessage(14, tags_.get(i));
}
if (active_ != null) {
output.writeMessage(15, getActive());
}
if (format_ != null) {
output.writeMessage(16, getFormat());
}
if (releaseDescription_ != null) {
output.writeMessage(17, getReleaseDescription());
}
if (releaseType_ != null) {
output.writeMessage(18, getReleaseType());
}
for (int i = 0; i < betaLabels_.size(); i++) {
output.writeMessage(19, betaLabels_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (id_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getId());
}
if (name_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getName());
}
if (namespace_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getNamespace());
}
if (group_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getGroup());
}
if (fileName_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getFileName());
}
if (content_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getContent());
}
if (comment_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getComment());
}
if (md5_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getMd5());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getVersion());
}
if (createTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getCreateTime());
}
if (createBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getCreateBy());
}
if (modifyTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getModifyTime());
}
if (modifyBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getModifyBy());
}
for (int i = 0; i < tags_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, tags_.get(i));
}
if (active_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getActive());
}
if (format_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getFormat());
}
if (releaseDescription_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getReleaseDescription());
}
if (releaseType_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getReleaseType());
}
for (int i = 0; i < betaLabels_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, betaLabels_.get(i));
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasFileName() != other.hasFileName()) return false;
if (hasFileName()) {
if (!getFileName()
.equals(other.getFileName())) return false;
}
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasMd5() != other.hasMd5()) return false;
if (hasMd5()) {
if (!getMd5()
.equals(other.getMd5())) return false;
}
if (hasVersion() != other.hasVersion()) return false;
if (hasVersion()) {
if (!getVersion()
.equals(other.getVersion())) return false;
}
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (!getCreateTime()
.equals(other.getCreateTime())) return false;
}
if (hasCreateBy() != other.hasCreateBy()) return false;
if (hasCreateBy()) {
if (!getCreateBy()
.equals(other.getCreateBy())) return false;
}
if (hasModifyTime() != other.hasModifyTime()) return false;
if (hasModifyTime()) {
if (!getModifyTime()
.equals(other.getModifyTime())) return false;
}
if (hasModifyBy() != other.hasModifyBy()) return false;
if (hasModifyBy()) {
if (!getModifyBy()
.equals(other.getModifyBy())) return false;
}
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasActive() != other.hasActive()) return false;
if (hasActive()) {
if (!getActive()
.equals(other.getActive())) return false;
}
if (hasFormat() != other.hasFormat()) return false;
if (hasFormat()) {
if (!getFormat()
.equals(other.getFormat())) return false;
}
if (hasReleaseDescription() != other.hasReleaseDescription()) return false;
if (hasReleaseDescription()) {
if (!getReleaseDescription()
.equals(other.getReleaseDescription())) return false;
}
if (hasReleaseType() != other.hasReleaseType()) return false;
if (hasReleaseType()) {
if (!getReleaseType()
.equals(other.getReleaseType())) return false;
}
if (!getBetaLabelsList()
.equals(other.getBetaLabelsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasFileName()) {
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
}
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasMd5()) {
hash = (37 * hash) + MD5_FIELD_NUMBER;
hash = (53 * hash) + getMd5().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
if (hasCreateTime()) {
hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime().hashCode();
}
if (hasCreateBy()) {
hash = (37 * hash) + CREATE_BY_FIELD_NUMBER;
hash = (53 * hash) + getCreateBy().hashCode();
}
if (hasModifyTime()) {
hash = (37 * hash) + MODIFY_TIME_FIELD_NUMBER;
hash = (53 * hash) + getModifyTime().hashCode();
}
if (hasModifyBy()) {
hash = (37 * hash) + MODIFY_BY_FIELD_NUMBER;
hash = (53 * hash) + getModifyBy().hashCode();
}
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasActive()) {
hash = (37 * hash) + ACTIVE_FIELD_NUMBER;
hash = (53 * hash) + getActive().hashCode();
}
if (hasFormat()) {
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
}
if (hasReleaseDescription()) {
hash = (37 * hash) + RELEASE_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getReleaseDescription().hashCode();
}
if (hasReleaseType()) {
hash = (37 * hash) + RELEASE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getReleaseType().hashCode();
}
if (getBetaLabelsCount() > 0) {
hash = (37 * hash) + BETA_LABELS_FIELD_NUMBER;
hash = (53 * hash) + getBetaLabelsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease 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 v1.ConfigFileRelease}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFileRelease)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileRelease_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileRelease_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (idBuilder_ == null) {
id_ = null;
} else {
id_ = null;
idBuilder_ = null;
}
if (nameBuilder_ == null) {
name_ = null;
} else {
name_ = null;
nameBuilder_ = null;
}
if (namespaceBuilder_ == null) {
namespace_ = null;
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
if (groupBuilder_ == null) {
group_ = null;
} else {
group_ = null;
groupBuilder_ = null;
}
if (fileNameBuilder_ == null) {
fileName_ = null;
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
if (contentBuilder_ == null) {
content_ = null;
} else {
content_ = null;
contentBuilder_ = null;
}
if (commentBuilder_ == null) {
comment_ = null;
} else {
comment_ = null;
commentBuilder_ = null;
}
if (md5Builder_ == null) {
md5_ = null;
} else {
md5_ = null;
md5Builder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
if (createTimeBuilder_ == null) {
createTime_ = null;
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
if (createByBuilder_ == null) {
createBy_ = null;
} else {
createBy_ = null;
createByBuilder_ = null;
}
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
if (modifyByBuilder_ == null) {
modifyBy_ = null;
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
} else {
tags_ = null;
tagsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (activeBuilder_ == null) {
active_ = null;
} else {
active_ = null;
activeBuilder_ = null;
}
if (formatBuilder_ == null) {
format_ = null;
} else {
format_ = null;
formatBuilder_ = null;
}
if (releaseDescriptionBuilder_ == null) {
releaseDescription_ = null;
} else {
releaseDescription_ = null;
releaseDescriptionBuilder_ = null;
}
if (releaseTypeBuilder_ == null) {
releaseType_ = null;
} else {
releaseType_ = null;
releaseTypeBuilder_ = null;
}
if (betaLabelsBuilder_ == null) {
betaLabels_ = java.util.Collections.emptyList();
} else {
betaLabels_ = null;
betaLabelsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileRelease_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease(this);
int from_bitField0_ = bitField0_;
if (idBuilder_ == null) {
result.id_ = id_;
} else {
result.id_ = idBuilder_.build();
}
if (nameBuilder_ == null) {
result.name_ = name_;
} else {
result.name_ = nameBuilder_.build();
}
if (namespaceBuilder_ == null) {
result.namespace_ = namespace_;
} else {
result.namespace_ = namespaceBuilder_.build();
}
if (groupBuilder_ == null) {
result.group_ = group_;
} else {
result.group_ = groupBuilder_.build();
}
if (fileNameBuilder_ == null) {
result.fileName_ = fileName_;
} else {
result.fileName_ = fileNameBuilder_.build();
}
if (contentBuilder_ == null) {
result.content_ = content_;
} else {
result.content_ = contentBuilder_.build();
}
if (commentBuilder_ == null) {
result.comment_ = comment_;
} else {
result.comment_ = commentBuilder_.build();
}
if (md5Builder_ == null) {
result.md5_ = md5_;
} else {
result.md5_ = md5Builder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
if (createTimeBuilder_ == null) {
result.createTime_ = createTime_;
} else {
result.createTime_ = createTimeBuilder_.build();
}
if (createByBuilder_ == null) {
result.createBy_ = createBy_;
} else {
result.createBy_ = createByBuilder_.build();
}
if (modifyTimeBuilder_ == null) {
result.modifyTime_ = modifyTime_;
} else {
result.modifyTime_ = modifyTimeBuilder_.build();
}
if (modifyByBuilder_ == null) {
result.modifyBy_ = modifyBy_;
} else {
result.modifyBy_ = modifyByBuilder_.build();
}
if (tagsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tags_ = java.util.Collections.unmodifiableList(tags_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.tags_ = tags_;
} else {
result.tags_ = tagsBuilder_.build();
}
if (activeBuilder_ == null) {
result.active_ = active_;
} else {
result.active_ = activeBuilder_.build();
}
if (formatBuilder_ == null) {
result.format_ = format_;
} else {
result.format_ = formatBuilder_.build();
}
if (releaseDescriptionBuilder_ == null) {
result.releaseDescription_ = releaseDescription_;
} else {
result.releaseDescription_ = releaseDescriptionBuilder_.build();
}
if (releaseTypeBuilder_ == null) {
result.releaseType_ = releaseType_;
} else {
result.releaseType_ = releaseTypeBuilder_.build();
}
if (betaLabelsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
betaLabels_ = java.util.Collections.unmodifiableList(betaLabels_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.betaLabels_ = betaLabels_;
} else {
result.betaLabels_ = betaLabelsBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease.getDefaultInstance()) return this;
if (other.hasId()) {
mergeId(other.getId());
}
if (other.hasName()) {
mergeName(other.getName());
}
if (other.hasNamespace()) {
mergeNamespace(other.getNamespace());
}
if (other.hasGroup()) {
mergeGroup(other.getGroup());
}
if (other.hasFileName()) {
mergeFileName(other.getFileName());
}
if (other.hasContent()) {
mergeContent(other.getContent());
}
if (other.hasComment()) {
mergeComment(other.getComment());
}
if (other.hasMd5()) {
mergeMd5(other.getMd5());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
if (other.hasCreateBy()) {
mergeCreateBy(other.getCreateBy());
}
if (other.hasModifyTime()) {
mergeModifyTime(other.getModifyTime());
}
if (other.hasModifyBy()) {
mergeModifyBy(other.getModifyBy());
}
if (tagsBuilder_ == null) {
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
} else {
if (!other.tags_.isEmpty()) {
if (tagsBuilder_.isEmpty()) {
tagsBuilder_.dispose();
tagsBuilder_ = null;
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
tagsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTagsFieldBuilder() : null;
} else {
tagsBuilder_.addAllMessages(other.tags_);
}
}
}
if (other.hasActive()) {
mergeActive(other.getActive());
}
if (other.hasFormat()) {
mergeFormat(other.getFormat());
}
if (other.hasReleaseDescription()) {
mergeReleaseDescription(other.getReleaseDescription());
}
if (other.hasReleaseType()) {
mergeReleaseType(other.getReleaseType());
}
if (betaLabelsBuilder_ == null) {
if (!other.betaLabels_.isEmpty()) {
if (betaLabels_.isEmpty()) {
betaLabels_ = other.betaLabels_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBetaLabelsIsMutable();
betaLabels_.addAll(other.betaLabels_);
}
onChanged();
}
} else {
if (!other.betaLabels_.isEmpty()) {
if (betaLabelsBuilder_.isEmpty()) {
betaLabelsBuilder_.dispose();
betaLabelsBuilder_ = null;
betaLabels_ = other.betaLabels_;
bitField0_ = (bitField0_ & ~0x00000002);
betaLabelsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBetaLabelsFieldBuilder() : null;
} else {
betaLabelsBuilder_.addAllMessages(other.betaLabels_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getIdFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getNamespaceFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getGroupFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getFileNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
input.readMessage(
getContentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 50
case 58: {
input.readMessage(
getCommentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 58
case 66: {
input.readMessage(
getMd5FieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 66
case 74: {
input.readMessage(
getVersionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 74
case 82: {
input.readMessage(
getCreateTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 82
case 90: {
input.readMessage(
getCreateByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 90
case 98: {
input.readMessage(
getModifyTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 98
case 106: {
input.readMessage(
getModifyByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 106
case 114: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.parser(),
extensionRegistry);
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(m);
} else {
tagsBuilder_.addMessage(m);
}
break;
} // case 114
case 122: {
input.readMessage(
getActiveFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 122
case 130: {
input.readMessage(
getFormatFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 130
case 138: {
input.readMessage(
getReleaseDescriptionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 138
case 146: {
input.readMessage(
getReleaseTypeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 146
case 154: {
com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel m =
input.readMessage(
com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.parser(),
extensionRegistry);
if (betaLabelsBuilder_ == null) {
ensureBetaLabelsIsMutable();
betaLabels_.add(m);
} else {
betaLabelsBuilder_.addMessage(m);
}
break;
} // case 154
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.UInt64Value id_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> idBuilder_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
public com.google.protobuf.UInt64Value getId() {
if (idBuilder_ == null) {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(
com.google.protobuf.UInt64Value.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder mergeId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
com.google.protobuf.UInt64Value.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64Value.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>(
getId(),
getParentForChildren(),
isClean());
id_ = null;
}
return idBuilder_;
}
private com.google.protobuf.StringValue name_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> nameBuilder_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
public boolean hasName() {
return nameBuilder_ != null || name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
public com.google.protobuf.StringValue getName() {
if (nameBuilder_ == null) {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
} else {
return nameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
} else {
nameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (nameBuilder_ == null) {
name_ = builderForValue.build();
onChanged();
} else {
nameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder mergeName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (name_ != null) {
name_ =
com.google.protobuf.StringValue.newBuilder(name_).mergeFrom(value).buildPartial();
} else {
name_ = value;
}
onChanged();
} else {
nameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder clearName() {
if (nameBuilder_ == null) {
name_ = null;
onChanged();
} else {
name_ = null;
nameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValue.Builder getNameBuilder() {
onChanged();
return getNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
if (nameBuilder_ != null) {
return nameBuilder_.getMessageOrBuilder();
} else {
return name_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNameFieldBuilder() {
if (nameBuilder_ == null) {
nameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getName(),
getParentForChildren(),
isClean());
name_ = null;
}
return nameBuilder_;
}
private com.google.protobuf.StringValue namespace_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> namespaceBuilder_;
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return namespaceBuilder_ != null || namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
public com.google.protobuf.StringValue getNamespace() {
if (namespaceBuilder_ == null) {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
} else {
return namespaceBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder setNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
namespace_ = value;
onChanged();
} else {
namespaceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder setNamespace(
com.google.protobuf.StringValue.Builder builderForValue) {
if (namespaceBuilder_ == null) {
namespace_ = builderForValue.build();
onChanged();
} else {
namespaceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder mergeNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (namespace_ != null) {
namespace_ =
com.google.protobuf.StringValue.newBuilder(namespace_).mergeFrom(value).buildPartial();
} else {
namespace_ = value;
}
onChanged();
} else {
namespaceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder clearNamespace() {
if (namespaceBuilder_ == null) {
namespace_ = null;
onChanged();
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public com.google.protobuf.StringValue.Builder getNamespaceBuilder() {
onChanged();
return getNamespaceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
if (namespaceBuilder_ != null) {
return namespaceBuilder_.getMessageOrBuilder();
} else {
return namespace_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNamespaceFieldBuilder() {
if (namespaceBuilder_ == null) {
namespaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getNamespace(),
getParentForChildren(),
isClean());
namespace_ = null;
}
return namespaceBuilder_;
}
private com.google.protobuf.StringValue group_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> groupBuilder_;
/**
* .google.protobuf.StringValue group = 4;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
}
/**
* .google.protobuf.StringValue group = 4;
* @return The group.
*/
public com.google.protobuf.StringValue getGroup() {
if (groupBuilder_ == null) {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
} else {
return groupBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder setGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
group_ = value;
onChanged();
} else {
groupBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder setGroup(
com.google.protobuf.StringValue.Builder builderForValue) {
if (groupBuilder_ == null) {
group_ = builderForValue.build();
onChanged();
} else {
groupBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder mergeGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (group_ != null) {
group_ =
com.google.protobuf.StringValue.newBuilder(group_).mergeFrom(value).buildPartial();
} else {
group_ = value;
}
onChanged();
} else {
groupBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder clearGroup() {
if (groupBuilder_ == null) {
group_ = null;
onChanged();
} else {
group_ = null;
groupBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public com.google.protobuf.StringValue.Builder getGroupBuilder() {
onChanged();
return getGroupFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue group = 4;
*/
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
if (groupBuilder_ != null) {
return groupBuilder_.getMessageOrBuilder();
} else {
return group_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
}
/**
* .google.protobuf.StringValue group = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getGroupFieldBuilder() {
if (groupBuilder_ == null) {
groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getGroup(),
getParentForChildren(),
isClean());
group_ = null;
}
return groupBuilder_;
}
private com.google.protobuf.StringValue fileName_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> fileNameBuilder_;
/**
* .google.protobuf.StringValue file_name = 5;
* @return Whether the fileName field is set.
*/
public boolean hasFileName() {
return fileNameBuilder_ != null || fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 5;
* @return The fileName.
*/
public com.google.protobuf.StringValue getFileName() {
if (fileNameBuilder_ == null) {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
} else {
return fileNameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public Builder setFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileName_ = value;
onChanged();
} else {
fileNameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public Builder setFileName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (fileNameBuilder_ == null) {
fileName_ = builderForValue.build();
onChanged();
} else {
fileNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public Builder mergeFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (fileName_ != null) {
fileName_ =
com.google.protobuf.StringValue.newBuilder(fileName_).mergeFrom(value).buildPartial();
} else {
fileName_ = value;
}
onChanged();
} else {
fileNameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public Builder clearFileName() {
if (fileNameBuilder_ == null) {
fileName_ = null;
onChanged();
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public com.google.protobuf.StringValue.Builder getFileNameBuilder() {
onChanged();
return getFileNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
if (fileNameBuilder_ != null) {
return fileNameBuilder_.getMessageOrBuilder();
} else {
return fileName_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFileNameFieldBuilder() {
if (fileNameBuilder_ == null) {
fileNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFileName(),
getParentForChildren(),
isClean());
fileName_ = null;
}
return fileNameBuilder_;
}
private com.google.protobuf.StringValue content_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> contentBuilder_;
/**
* .google.protobuf.StringValue content = 6;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return contentBuilder_ != null || content_ != null;
}
/**
* .google.protobuf.StringValue content = 6;
* @return The content.
*/
public com.google.protobuf.StringValue getContent() {
if (contentBuilder_ == null) {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
} else {
return contentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue content = 6;
*/
public Builder setContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
} else {
contentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 6;
*/
public Builder setContent(
com.google.protobuf.StringValue.Builder builderForValue) {
if (contentBuilder_ == null) {
content_ = builderForValue.build();
onChanged();
} else {
contentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue content = 6;
*/
public Builder mergeContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (content_ != null) {
content_ =
com.google.protobuf.StringValue.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
onChanged();
} else {
contentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 6;
*/
public Builder clearContent() {
if (contentBuilder_ == null) {
content_ = null;
onChanged();
} else {
content_ = null;
contentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue content = 6;
*/
public com.google.protobuf.StringValue.Builder getContentBuilder() {
onChanged();
return getContentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue content = 6;
*/
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
if (contentBuilder_ != null) {
return contentBuilder_.getMessageOrBuilder();
} else {
return content_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
}
/**
* .google.protobuf.StringValue content = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getContentFieldBuilder() {
if (contentBuilder_ == null) {
contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getContent(),
getParentForChildren(),
isClean());
content_ = null;
}
return contentBuilder_;
}
private com.google.protobuf.StringValue comment_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> commentBuilder_;
/**
* .google.protobuf.StringValue comment = 7;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return commentBuilder_ != null || comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 7;
* @return The comment.
*/
public com.google.protobuf.StringValue getComment() {
if (commentBuilder_ == null) {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
} else {
return commentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public Builder setComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
comment_ = value;
onChanged();
} else {
commentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public Builder setComment(
com.google.protobuf.StringValue.Builder builderForValue) {
if (commentBuilder_ == null) {
comment_ = builderForValue.build();
onChanged();
} else {
commentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public Builder mergeComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (comment_ != null) {
comment_ =
com.google.protobuf.StringValue.newBuilder(comment_).mergeFrom(value).buildPartial();
} else {
comment_ = value;
}
onChanged();
} else {
commentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public Builder clearComment() {
if (commentBuilder_ == null) {
comment_ = null;
onChanged();
} else {
comment_ = null;
commentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public com.google.protobuf.StringValue.Builder getCommentBuilder() {
onChanged();
return getCommentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue comment = 7;
*/
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
if (commentBuilder_ != null) {
return commentBuilder_.getMessageOrBuilder();
} else {
return comment_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
}
/**
* .google.protobuf.StringValue comment = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCommentFieldBuilder() {
if (commentBuilder_ == null) {
commentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getComment(),
getParentForChildren(),
isClean());
comment_ = null;
}
return commentBuilder_;
}
private com.google.protobuf.StringValue md5_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> md5Builder_;
/**
* .google.protobuf.StringValue md5 = 8;
* @return Whether the md5 field is set.
*/
public boolean hasMd5() {
return md5Builder_ != null || md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 8;
* @return The md5.
*/
public com.google.protobuf.StringValue getMd5() {
if (md5Builder_ == null) {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
} else {
return md5Builder_.getMessage();
}
}
/**
* .google.protobuf.StringValue md5 = 8;
*/
public Builder setMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
md5_ = value;
onChanged();
} else {
md5Builder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 8;
*/
public Builder setMd5(
com.google.protobuf.StringValue.Builder builderForValue) {
if (md5Builder_ == null) {
md5_ = builderForValue.build();
onChanged();
} else {
md5Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 8;
*/
public Builder mergeMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (md5_ != null) {
md5_ =
com.google.protobuf.StringValue.newBuilder(md5_).mergeFrom(value).buildPartial();
} else {
md5_ = value;
}
onChanged();
} else {
md5Builder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 8;
*/
public Builder clearMd5() {
if (md5Builder_ == null) {
md5_ = null;
onChanged();
} else {
md5_ = null;
md5Builder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 8;
*/
public com.google.protobuf.StringValue.Builder getMd5Builder() {
onChanged();
return getMd5FieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue md5 = 8;
*/
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
if (md5Builder_ != null) {
return md5Builder_.getMessageOrBuilder();
} else {
return md5_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
}
/**
* .google.protobuf.StringValue md5 = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getMd5FieldBuilder() {
if (md5Builder_ == null) {
md5Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getMd5(),
getParentForChildren(),
isClean());
md5_ = null;
}
return md5Builder_;
}
private com.google.protobuf.UInt64Value version_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> versionBuilder_;
/**
* .google.protobuf.UInt64Value version = 9;
* @return Whether the version field is set.
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .google.protobuf.UInt64Value version = 9;
* @return The version.
*/
public com.google.protobuf.UInt64Value getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt64Value version = 9;
*/
public Builder setVersion(com.google.protobuf.UInt64Value value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 9;
*/
public Builder setVersion(
com.google.protobuf.UInt64Value.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 9;
*/
public Builder mergeVersion(com.google.protobuf.UInt64Value value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
com.google.protobuf.UInt64Value.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 9;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 9;
*/
public com.google.protobuf.UInt64Value.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt64Value version = 9;
*/
public com.google.protobuf.UInt64ValueOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
com.google.protobuf.UInt64Value.getDefaultInstance() : version_;
}
}
/**
* .google.protobuf.UInt64Value version = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private com.google.protobuf.StringValue createTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createTimeBuilder_;
/**
* .google.protobuf.StringValue create_time = 10;
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 10;
* @return The createTime.
*/
public com.google.protobuf.StringValue getCreateTime() {
if (createTimeBuilder_ == null) {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
} else {
return createTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public Builder setCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createTime_ = value;
onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public Builder setCreateTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public Builder mergeCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (createTime_ != null) {
createTime_ =
com.google.protobuf.StringValue.newBuilder(createTime_).mergeFrom(value).buildPartial();
} else {
createTime_ = value;
}
onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public Builder clearCreateTime() {
if (createTimeBuilder_ == null) {
createTime_ = null;
onChanged();
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public com.google.protobuf.StringValue.Builder getCreateTimeBuilder() {
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
return createTimeBuilder_.getMessageOrBuilder();
} else {
return createTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
}
/**
* .google.protobuf.StringValue create_time = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateTimeFieldBuilder() {
if (createTimeBuilder_ == null) {
createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateTime(),
getParentForChildren(),
isClean());
createTime_ = null;
}
return createTimeBuilder_;
}
private com.google.protobuf.StringValue createBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createByBuilder_;
/**
* .google.protobuf.StringValue create_by = 11;
* @return Whether the createBy field is set.
*/
public boolean hasCreateBy() {
return createByBuilder_ != null || createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 11;
* @return The createBy.
*/
public com.google.protobuf.StringValue getCreateBy() {
if (createByBuilder_ == null) {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
} else {
return createByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public Builder setCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createBy_ = value;
onChanged();
} else {
createByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public Builder setCreateBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createByBuilder_ == null) {
createBy_ = builderForValue.build();
onChanged();
} else {
createByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public Builder mergeCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (createBy_ != null) {
createBy_ =
com.google.protobuf.StringValue.newBuilder(createBy_).mergeFrom(value).buildPartial();
} else {
createBy_ = value;
}
onChanged();
} else {
createByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public Builder clearCreateBy() {
if (createByBuilder_ == null) {
createBy_ = null;
onChanged();
} else {
createBy_ = null;
createByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public com.google.protobuf.StringValue.Builder getCreateByBuilder() {
onChanged();
return getCreateByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
if (createByBuilder_ != null) {
return createByBuilder_.getMessageOrBuilder();
} else {
return createBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
}
/**
* .google.protobuf.StringValue create_by = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateByFieldBuilder() {
if (createByBuilder_ == null) {
createByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateBy(),
getParentForChildren(),
isClean());
createBy_ = null;
}
return createByBuilder_;
}
private com.google.protobuf.StringValue modifyTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyTimeBuilder_;
/**
* .google.protobuf.StringValue modify_time = 12;
* @return Whether the modifyTime field is set.
*/
public boolean hasModifyTime() {
return modifyTimeBuilder_ != null || modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 12;
* @return The modifyTime.
*/
public com.google.protobuf.StringValue getModifyTime() {
if (modifyTimeBuilder_ == null) {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
} else {
return modifyTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public Builder setModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyTime_ = value;
onChanged();
} else {
modifyTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public Builder setModifyTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyTimeBuilder_ == null) {
modifyTime_ = builderForValue.build();
onChanged();
} else {
modifyTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public Builder mergeModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (modifyTime_ != null) {
modifyTime_ =
com.google.protobuf.StringValue.newBuilder(modifyTime_).mergeFrom(value).buildPartial();
} else {
modifyTime_ = value;
}
onChanged();
} else {
modifyTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public Builder clearModifyTime() {
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
onChanged();
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public com.google.protobuf.StringValue.Builder getModifyTimeBuilder() {
onChanged();
return getModifyTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
if (modifyTimeBuilder_ != null) {
return modifyTimeBuilder_.getMessageOrBuilder();
} else {
return modifyTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
}
/**
* .google.protobuf.StringValue modify_time = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyTimeFieldBuilder() {
if (modifyTimeBuilder_ == null) {
modifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyTime(),
getParentForChildren(),
isClean());
modifyTime_ = null;
}
return modifyTimeBuilder_;
}
private com.google.protobuf.StringValue modifyBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyByBuilder_;
/**
* .google.protobuf.StringValue modify_by = 13;
* @return Whether the modifyBy field is set.
*/
public boolean hasModifyBy() {
return modifyByBuilder_ != null || modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 13;
* @return The modifyBy.
*/
public com.google.protobuf.StringValue getModifyBy() {
if (modifyByBuilder_ == null) {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
} else {
return modifyByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public Builder setModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyBy_ = value;
onChanged();
} else {
modifyByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public Builder setModifyBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyByBuilder_ == null) {
modifyBy_ = builderForValue.build();
onChanged();
} else {
modifyByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public Builder mergeModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (modifyBy_ != null) {
modifyBy_ =
com.google.protobuf.StringValue.newBuilder(modifyBy_).mergeFrom(value).buildPartial();
} else {
modifyBy_ = value;
}
onChanged();
} else {
modifyByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public Builder clearModifyBy() {
if (modifyByBuilder_ == null) {
modifyBy_ = null;
onChanged();
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public com.google.protobuf.StringValue.Builder getModifyByBuilder() {
onChanged();
return getModifyByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
if (modifyByBuilder_ != null) {
return modifyByBuilder_.getMessageOrBuilder();
} else {
return modifyBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
}
/**
* .google.protobuf.StringValue modify_by = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyByFieldBuilder() {
if (modifyByBuilder_ == null) {
modifyByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyBy(),
getParentForChildren(),
isClean());
modifyBy_ = null;
}
return modifyByBuilder_;
}
private java.util.List tags_ =
java.util.Collections.emptyList();
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
tags_ = new java.util.ArrayList(tags_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder> tagsBuilder_;
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public java.util.List getTagsList() {
if (tagsBuilder_ == null) {
return java.util.Collections.unmodifiableList(tags_);
} else {
return tagsBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public int getTagsCount() {
if (tagsBuilder_ == null) {
return tags_.size();
} else {
return tagsBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
if (tagsBuilder_ == null) {
return tags_.get(index);
} else {
return tagsBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
} else {
tagsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.set(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addTags(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
} else {
tagsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(index, value);
onChanged();
} else {
tagsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addTags(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addAllTags(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag> values) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
} else {
tagsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder clearTags() {
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
tagsBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder removeTags(int index) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.remove(index);
onChanged();
} else {
tagsBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder getTagsBuilder(
int index) {
return getTagsFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
if (tagsBuilder_ == null) {
return tags_.get(index); } else {
return tagsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
if (tagsBuilder_ != null) {
return tagsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tags_);
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder() {
return getTagsFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder(
int index) {
return getTagsFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public java.util.List
getTagsBuilderList() {
return getTagsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsFieldBuilder() {
if (tagsBuilder_ == null) {
tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>(
tags_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
tags_ = null;
}
return tagsBuilder_;
}
private com.google.protobuf.BoolValue active_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> activeBuilder_;
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
* @return Whether the active field is set.
*/
public boolean hasActive() {
return activeBuilder_ != null || active_ != null;
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
* @return The active.
*/
public com.google.protobuf.BoolValue getActive() {
if (activeBuilder_ == null) {
return active_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : active_;
} else {
return activeBuilder_.getMessage();
}
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
*/
public Builder setActive(com.google.protobuf.BoolValue value) {
if (activeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
active_ = value;
onChanged();
} else {
activeBuilder_.setMessage(value);
}
return this;
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
*/
public Builder setActive(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (activeBuilder_ == null) {
active_ = builderForValue.build();
onChanged();
} else {
activeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
*/
public Builder mergeActive(com.google.protobuf.BoolValue value) {
if (activeBuilder_ == null) {
if (active_ != null) {
active_ =
com.google.protobuf.BoolValue.newBuilder(active_).mergeFrom(value).buildPartial();
} else {
active_ = value;
}
onChanged();
} else {
activeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
*/
public Builder clearActive() {
if (activeBuilder_ == null) {
active_ = null;
onChanged();
} else {
active_ = null;
activeBuilder_ = null;
}
return this;
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
*/
public com.google.protobuf.BoolValue.Builder getActiveBuilder() {
onChanged();
return getActiveFieldBuilder().getBuilder();
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
*/
public com.google.protobuf.BoolValueOrBuilder getActiveOrBuilder() {
if (activeBuilder_ != null) {
return activeBuilder_.getMessageOrBuilder();
} else {
return active_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : active_;
}
}
/**
*
* 当前生效配置
*
*
* .google.protobuf.BoolValue active = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getActiveFieldBuilder() {
if (activeBuilder_ == null) {
activeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getActive(),
getParentForChildren(),
isClean());
active_ = null;
}
return activeBuilder_;
}
private com.google.protobuf.StringValue format_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> formatBuilder_;
/**
* .google.protobuf.StringValue format = 16;
* @return Whether the format field is set.
*/
public boolean hasFormat() {
return formatBuilder_ != null || format_ != null;
}
/**
* .google.protobuf.StringValue format = 16;
* @return The format.
*/
public com.google.protobuf.StringValue getFormat() {
if (formatBuilder_ == null) {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
} else {
return formatBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue format = 16;
*/
public Builder setFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
} else {
formatBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 16;
*/
public Builder setFormat(
com.google.protobuf.StringValue.Builder builderForValue) {
if (formatBuilder_ == null) {
format_ = builderForValue.build();
onChanged();
} else {
formatBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue format = 16;
*/
public Builder mergeFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (format_ != null) {
format_ =
com.google.protobuf.StringValue.newBuilder(format_).mergeFrom(value).buildPartial();
} else {
format_ = value;
}
onChanged();
} else {
formatBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 16;
*/
public Builder clearFormat() {
if (formatBuilder_ == null) {
format_ = null;
onChanged();
} else {
format_ = null;
formatBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue format = 16;
*/
public com.google.protobuf.StringValue.Builder getFormatBuilder() {
onChanged();
return getFormatFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue format = 16;
*/
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
if (formatBuilder_ != null) {
return formatBuilder_.getMessageOrBuilder();
} else {
return format_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
}
/**
* .google.protobuf.StringValue format = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFormatFieldBuilder() {
if (formatBuilder_ == null) {
formatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFormat(),
getParentForChildren(),
isClean());
format_ = null;
}
return formatBuilder_;
}
private com.google.protobuf.StringValue releaseDescription_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> releaseDescriptionBuilder_;
/**
* .google.protobuf.StringValue release_description = 17;
* @return Whether the releaseDescription field is set.
*/
public boolean hasReleaseDescription() {
return releaseDescriptionBuilder_ != null || releaseDescription_ != null;
}
/**
* .google.protobuf.StringValue release_description = 17;
* @return The releaseDescription.
*/
public com.google.protobuf.StringValue getReleaseDescription() {
if (releaseDescriptionBuilder_ == null) {
return releaseDescription_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseDescription_;
} else {
return releaseDescriptionBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue release_description = 17;
*/
public Builder setReleaseDescription(com.google.protobuf.StringValue value) {
if (releaseDescriptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
releaseDescription_ = value;
onChanged();
} else {
releaseDescriptionBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 17;
*/
public Builder setReleaseDescription(
com.google.protobuf.StringValue.Builder builderForValue) {
if (releaseDescriptionBuilder_ == null) {
releaseDescription_ = builderForValue.build();
onChanged();
} else {
releaseDescriptionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 17;
*/
public Builder mergeReleaseDescription(com.google.protobuf.StringValue value) {
if (releaseDescriptionBuilder_ == null) {
if (releaseDescription_ != null) {
releaseDescription_ =
com.google.protobuf.StringValue.newBuilder(releaseDescription_).mergeFrom(value).buildPartial();
} else {
releaseDescription_ = value;
}
onChanged();
} else {
releaseDescriptionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 17;
*/
public Builder clearReleaseDescription() {
if (releaseDescriptionBuilder_ == null) {
releaseDescription_ = null;
onChanged();
} else {
releaseDescription_ = null;
releaseDescriptionBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 17;
*/
public com.google.protobuf.StringValue.Builder getReleaseDescriptionBuilder() {
onChanged();
return getReleaseDescriptionFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue release_description = 17;
*/
public com.google.protobuf.StringValueOrBuilder getReleaseDescriptionOrBuilder() {
if (releaseDescriptionBuilder_ != null) {
return releaseDescriptionBuilder_.getMessageOrBuilder();
} else {
return releaseDescription_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : releaseDescription_;
}
}
/**
* .google.protobuf.StringValue release_description = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getReleaseDescriptionFieldBuilder() {
if (releaseDescriptionBuilder_ == null) {
releaseDescriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getReleaseDescription(),
getParentForChildren(),
isClean());
releaseDescription_ = null;
}
return releaseDescriptionBuilder_;
}
private com.google.protobuf.StringValue releaseType_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> releaseTypeBuilder_;
/**
* .google.protobuf.StringValue release_type = 18;
* @return Whether the releaseType field is set.
*/
public boolean hasReleaseType() {
return releaseTypeBuilder_ != null || releaseType_ != null;
}
/**
* .google.protobuf.StringValue release_type = 18;
* @return The releaseType.
*/
public com.google.protobuf.StringValue getReleaseType() {
if (releaseTypeBuilder_ == null) {
return releaseType_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseType_;
} else {
return releaseTypeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue release_type = 18;
*/
public Builder setReleaseType(com.google.protobuf.StringValue value) {
if (releaseTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
releaseType_ = value;
onChanged();
} else {
releaseTypeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_type = 18;
*/
public Builder setReleaseType(
com.google.protobuf.StringValue.Builder builderForValue) {
if (releaseTypeBuilder_ == null) {
releaseType_ = builderForValue.build();
onChanged();
} else {
releaseTypeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue release_type = 18;
*/
public Builder mergeReleaseType(com.google.protobuf.StringValue value) {
if (releaseTypeBuilder_ == null) {
if (releaseType_ != null) {
releaseType_ =
com.google.protobuf.StringValue.newBuilder(releaseType_).mergeFrom(value).buildPartial();
} else {
releaseType_ = value;
}
onChanged();
} else {
releaseTypeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_type = 18;
*/
public Builder clearReleaseType() {
if (releaseTypeBuilder_ == null) {
releaseType_ = null;
onChanged();
} else {
releaseType_ = null;
releaseTypeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue release_type = 18;
*/
public com.google.protobuf.StringValue.Builder getReleaseTypeBuilder() {
onChanged();
return getReleaseTypeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue release_type = 18;
*/
public com.google.protobuf.StringValueOrBuilder getReleaseTypeOrBuilder() {
if (releaseTypeBuilder_ != null) {
return releaseTypeBuilder_.getMessageOrBuilder();
} else {
return releaseType_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : releaseType_;
}
}
/**
* .google.protobuf.StringValue release_type = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getReleaseTypeFieldBuilder() {
if (releaseTypeBuilder_ == null) {
releaseTypeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getReleaseType(),
getParentForChildren(),
isClean());
releaseType_ = null;
}
return releaseTypeBuilder_;
}
private java.util.List betaLabels_ =
java.util.Collections.emptyList();
private void ensureBetaLabelsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
betaLabels_ = new java.util.ArrayList(betaLabels_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.Builder, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabelOrBuilder> betaLabelsBuilder_;
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public java.util.List getBetaLabelsList() {
if (betaLabelsBuilder_ == null) {
return java.util.Collections.unmodifiableList(betaLabels_);
} else {
return betaLabelsBuilder_.getMessageList();
}
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public int getBetaLabelsCount() {
if (betaLabelsBuilder_ == null) {
return betaLabels_.size();
} else {
return betaLabelsBuilder_.getCount();
}
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel getBetaLabels(int index) {
if (betaLabelsBuilder_ == null) {
return betaLabels_.get(index);
} else {
return betaLabelsBuilder_.getMessage(index);
}
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public Builder setBetaLabels(
int index, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel value) {
if (betaLabelsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBetaLabelsIsMutable();
betaLabels_.set(index, value);
onChanged();
} else {
betaLabelsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public Builder setBetaLabels(
int index, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.Builder builderForValue) {
if (betaLabelsBuilder_ == null) {
ensureBetaLabelsIsMutable();
betaLabels_.set(index, builderForValue.build());
onChanged();
} else {
betaLabelsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public Builder addBetaLabels(com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel value) {
if (betaLabelsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBetaLabelsIsMutable();
betaLabels_.add(value);
onChanged();
} else {
betaLabelsBuilder_.addMessage(value);
}
return this;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public Builder addBetaLabels(
int index, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel value) {
if (betaLabelsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBetaLabelsIsMutable();
betaLabels_.add(index, value);
onChanged();
} else {
betaLabelsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public Builder addBetaLabels(
com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.Builder builderForValue) {
if (betaLabelsBuilder_ == null) {
ensureBetaLabelsIsMutable();
betaLabels_.add(builderForValue.build());
onChanged();
} else {
betaLabelsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public Builder addBetaLabels(
int index, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.Builder builderForValue) {
if (betaLabelsBuilder_ == null) {
ensureBetaLabelsIsMutable();
betaLabels_.add(index, builderForValue.build());
onChanged();
} else {
betaLabelsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public Builder addAllBetaLabels(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel> values) {
if (betaLabelsBuilder_ == null) {
ensureBetaLabelsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, betaLabels_);
onChanged();
} else {
betaLabelsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public Builder clearBetaLabels() {
if (betaLabelsBuilder_ == null) {
betaLabels_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
betaLabelsBuilder_.clear();
}
return this;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public Builder removeBetaLabels(int index) {
if (betaLabelsBuilder_ == null) {
ensureBetaLabelsIsMutable();
betaLabels_.remove(index);
onChanged();
} else {
betaLabelsBuilder_.remove(index);
}
return this;
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.Builder getBetaLabelsBuilder(
int index) {
return getBetaLabelsFieldBuilder().getBuilder(index);
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabelOrBuilder getBetaLabelsOrBuilder(
int index) {
if (betaLabelsBuilder_ == null) {
return betaLabels_.get(index); } else {
return betaLabelsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabelOrBuilder>
getBetaLabelsOrBuilderList() {
if (betaLabelsBuilder_ != null) {
return betaLabelsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(betaLabels_);
}
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.Builder addBetaLabelsBuilder() {
return getBetaLabelsFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.getDefaultInstance());
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.Builder addBetaLabelsBuilder(
int index) {
return getBetaLabelsFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.getDefaultInstance());
}
/**
*
* 配置灰度发布时需要匹配的客户端标签信息
*
*
* repeated .v1.ClientLabel beta_labels = 19;
*/
public java.util.List
getBetaLabelsBuilderList() {
return getBetaLabelsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.Builder, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabelOrBuilder>
getBetaLabelsFieldBuilder() {
if (betaLabelsBuilder_ == null) {
betaLabelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabel.Builder, com.tencent.polaris.specification.api.v1.model.ModelProto.ClientLabelOrBuilder>(
betaLabels_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
betaLabels_ = null;
}
return betaLabelsBuilder_;
}
@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:v1.ConfigFileRelease)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFileRelease)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFileRelease parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileRelease getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigFileReleaseHistoryOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFileReleaseHistory)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
com.google.protobuf.UInt64Value getId();
/**
* .google.protobuf.UInt64Value id = 1;
*/
com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder();
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
com.google.protobuf.StringValue getName();
/**
* .google.protobuf.StringValue name = 2;
*/
com.google.protobuf.StringValueOrBuilder getNameOrBuilder();
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
com.google.protobuf.StringValue getNamespace();
/**
* .google.protobuf.StringValue namespace = 3;
*/
com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder();
/**
* .google.protobuf.StringValue group = 4;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* .google.protobuf.StringValue group = 4;
* @return The group.
*/
com.google.protobuf.StringValue getGroup();
/**
* .google.protobuf.StringValue group = 4;
*/
com.google.protobuf.StringValueOrBuilder getGroupOrBuilder();
/**
* .google.protobuf.StringValue file_name = 5;
* @return Whether the fileName field is set.
*/
boolean hasFileName();
/**
* .google.protobuf.StringValue file_name = 5;
* @return The fileName.
*/
com.google.protobuf.StringValue getFileName();
/**
* .google.protobuf.StringValue file_name = 5;
*/
com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder();
/**
* .google.protobuf.StringValue content = 6;
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* .google.protobuf.StringValue content = 6;
* @return The content.
*/
com.google.protobuf.StringValue getContent();
/**
* .google.protobuf.StringValue content = 6;
*/
com.google.protobuf.StringValueOrBuilder getContentOrBuilder();
/**
* .google.protobuf.StringValue format = 7;
* @return Whether the format field is set.
*/
boolean hasFormat();
/**
* .google.protobuf.StringValue format = 7;
* @return The format.
*/
com.google.protobuf.StringValue getFormat();
/**
* .google.protobuf.StringValue format = 7;
*/
com.google.protobuf.StringValueOrBuilder getFormatOrBuilder();
/**
* .google.protobuf.StringValue comment = 8;
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* .google.protobuf.StringValue comment = 8;
* @return The comment.
*/
com.google.protobuf.StringValue getComment();
/**
* .google.protobuf.StringValue comment = 8;
*/
com.google.protobuf.StringValueOrBuilder getCommentOrBuilder();
/**
* .google.protobuf.StringValue md5 = 9;
* @return Whether the md5 field is set.
*/
boolean hasMd5();
/**
* .google.protobuf.StringValue md5 = 9;
* @return The md5.
*/
com.google.protobuf.StringValue getMd5();
/**
* .google.protobuf.StringValue md5 = 9;
*/
com.google.protobuf.StringValueOrBuilder getMd5OrBuilder();
/**
* .google.protobuf.StringValue type = 10;
* @return Whether the type field is set.
*/
boolean hasType();
/**
* .google.protobuf.StringValue type = 10;
* @return The type.
*/
com.google.protobuf.StringValue getType();
/**
* .google.protobuf.StringValue type = 10;
*/
com.google.protobuf.StringValueOrBuilder getTypeOrBuilder();
/**
* .google.protobuf.StringValue status = 11;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* .google.protobuf.StringValue status = 11;
* @return The status.
*/
com.google.protobuf.StringValue getStatus();
/**
* .google.protobuf.StringValue status = 11;
*/
com.google.protobuf.StringValueOrBuilder getStatusOrBuilder();
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
java.util.List
getTagsList();
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index);
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
int getTagsCount();
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList();
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index);
/**
* .google.protobuf.StringValue create_time = 13;
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* .google.protobuf.StringValue create_time = 13;
* @return The createTime.
*/
com.google.protobuf.StringValue getCreateTime();
/**
* .google.protobuf.StringValue create_time = 13;
*/
com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder();
/**
* .google.protobuf.StringValue create_by = 14;
* @return Whether the createBy field is set.
*/
boolean hasCreateBy();
/**
* .google.protobuf.StringValue create_by = 14;
* @return The createBy.
*/
com.google.protobuf.StringValue getCreateBy();
/**
* .google.protobuf.StringValue create_by = 14;
*/
com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder();
/**
* .google.protobuf.StringValue modify_time = 15;
* @return Whether the modifyTime field is set.
*/
boolean hasModifyTime();
/**
* .google.protobuf.StringValue modify_time = 15;
* @return The modifyTime.
*/
com.google.protobuf.StringValue getModifyTime();
/**
* .google.protobuf.StringValue modify_time = 15;
*/
com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder();
/**
* .google.protobuf.StringValue modify_by = 16;
* @return Whether the modifyBy field is set.
*/
boolean hasModifyBy();
/**
* .google.protobuf.StringValue modify_by = 16;
* @return The modifyBy.
*/
com.google.protobuf.StringValue getModifyBy();
/**
* .google.protobuf.StringValue modify_by = 16;
*/
com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder();
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
* @return Whether the reason field is set.
*/
boolean hasReason();
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
* @return The reason.
*/
com.google.protobuf.StringValue getReason();
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
*/
com.google.protobuf.StringValueOrBuilder getReasonOrBuilder();
/**
* .google.protobuf.StringValue release_description = 18;
* @return Whether the releaseDescription field is set.
*/
boolean hasReleaseDescription();
/**
* .google.protobuf.StringValue release_description = 18;
* @return The releaseDescription.
*/
com.google.protobuf.StringValue getReleaseDescription();
/**
* .google.protobuf.StringValue release_description = 18;
*/
com.google.protobuf.StringValueOrBuilder getReleaseDescriptionOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigFileReleaseHistory}
*/
public static final class ConfigFileReleaseHistory extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFileReleaseHistory)
ConfigFileReleaseHistoryOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFileReleaseHistory.newBuilder() to construct.
private ConfigFileReleaseHistory(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigFileReleaseHistory() {
tags_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFileReleaseHistory();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileReleaseHistory_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileReleaseHistory_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private com.google.protobuf.UInt64Value id_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.UInt64Value getId() {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
@java.lang.Override
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
return getId();
}
public static final int NAME_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue name_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.StringValue getName() {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
/**
* .google.protobuf.StringValue name = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
return getName();
}
public static final int NAMESPACE_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue namespace_;
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
@java.lang.Override
public com.google.protobuf.StringValue getNamespace() {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
return getNamespace();
}
public static final int GROUP_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue group_;
/**
* .google.protobuf.StringValue group = 4;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return group_ != null;
}
/**
* .google.protobuf.StringValue group = 4;
* @return The group.
*/
@java.lang.Override
public com.google.protobuf.StringValue getGroup() {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
/**
* .google.protobuf.StringValue group = 4;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
return getGroup();
}
public static final int FILE_NAME_FIELD_NUMBER = 5;
private com.google.protobuf.StringValue fileName_;
/**
* .google.protobuf.StringValue file_name = 5;
* @return Whether the fileName field is set.
*/
@java.lang.Override
public boolean hasFileName() {
return fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 5;
* @return The fileName.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFileName() {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
return getFileName();
}
public static final int CONTENT_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue content_;
/**
* .google.protobuf.StringValue content = 6;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return content_ != null;
}
/**
* .google.protobuf.StringValue content = 6;
* @return The content.
*/
@java.lang.Override
public com.google.protobuf.StringValue getContent() {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
/**
* .google.protobuf.StringValue content = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
return getContent();
}
public static final int FORMAT_FIELD_NUMBER = 7;
private com.google.protobuf.StringValue format_;
/**
* .google.protobuf.StringValue format = 7;
* @return Whether the format field is set.
*/
@java.lang.Override
public boolean hasFormat() {
return format_ != null;
}
/**
* .google.protobuf.StringValue format = 7;
* @return The format.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFormat() {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
/**
* .google.protobuf.StringValue format = 7;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
return getFormat();
}
public static final int COMMENT_FIELD_NUMBER = 8;
private com.google.protobuf.StringValue comment_;
/**
* .google.protobuf.StringValue comment = 8;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 8;
* @return The comment.
*/
@java.lang.Override
public com.google.protobuf.StringValue getComment() {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
/**
* .google.protobuf.StringValue comment = 8;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
return getComment();
}
public static final int MD5_FIELD_NUMBER = 9;
private com.google.protobuf.StringValue md5_;
/**
* .google.protobuf.StringValue md5 = 9;
* @return Whether the md5 field is set.
*/
@java.lang.Override
public boolean hasMd5() {
return md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 9;
* @return The md5.
*/
@java.lang.Override
public com.google.protobuf.StringValue getMd5() {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
/**
* .google.protobuf.StringValue md5 = 9;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
return getMd5();
}
public static final int TYPE_FIELD_NUMBER = 10;
private com.google.protobuf.StringValue type_;
/**
* .google.protobuf.StringValue type = 10;
* @return Whether the type field is set.
*/
@java.lang.Override
public boolean hasType() {
return type_ != null;
}
/**
* .google.protobuf.StringValue type = 10;
* @return The type.
*/
@java.lang.Override
public com.google.protobuf.StringValue getType() {
return type_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : type_;
}
/**
* .google.protobuf.StringValue type = 10;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getTypeOrBuilder() {
return getType();
}
public static final int STATUS_FIELD_NUMBER = 11;
private com.google.protobuf.StringValue status_;
/**
* .google.protobuf.StringValue status = 11;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return status_ != null;
}
/**
* .google.protobuf.StringValue status = 11;
* @return The status.
*/
@java.lang.Override
public com.google.protobuf.StringValue getStatus() {
return status_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : status_;
}
/**
* .google.protobuf.StringValue status = 11;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int TAGS_FIELD_NUMBER = 12;
private java.util.List tags_;
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
@java.lang.Override
public java.util.List getTagsList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
@java.lang.Override
public int getTagsCount() {
return tags_.size();
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
return tags_.get(index);
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
return tags_.get(index);
}
public static final int CREATE_TIME_FIELD_NUMBER = 13;
private com.google.protobuf.StringValue createTime_;
/**
* .google.protobuf.StringValue create_time = 13;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 13;
* @return The createTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateTime() {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
/**
* .google.protobuf.StringValue create_time = 13;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
public static final int CREATE_BY_FIELD_NUMBER = 14;
private com.google.protobuf.StringValue createBy_;
/**
* .google.protobuf.StringValue create_by = 14;
* @return Whether the createBy field is set.
*/
@java.lang.Override
public boolean hasCreateBy() {
return createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 14;
* @return The createBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateBy() {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
/**
* .google.protobuf.StringValue create_by = 14;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
return getCreateBy();
}
public static final int MODIFY_TIME_FIELD_NUMBER = 15;
private com.google.protobuf.StringValue modifyTime_;
/**
* .google.protobuf.StringValue modify_time = 15;
* @return Whether the modifyTime field is set.
*/
@java.lang.Override
public boolean hasModifyTime() {
return modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 15;
* @return The modifyTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyTime() {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
/**
* .google.protobuf.StringValue modify_time = 15;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
return getModifyTime();
}
public static final int MODIFY_BY_FIELD_NUMBER = 16;
private com.google.protobuf.StringValue modifyBy_;
/**
* .google.protobuf.StringValue modify_by = 16;
* @return Whether the modifyBy field is set.
*/
@java.lang.Override
public boolean hasModifyBy() {
return modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 16;
* @return The modifyBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyBy() {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
/**
* .google.protobuf.StringValue modify_by = 16;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
return getModifyBy();
}
public static final int REASON_FIELD_NUMBER = 17;
private com.google.protobuf.StringValue reason_;
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
* @return Whether the reason field is set.
*/
@java.lang.Override
public boolean hasReason() {
return reason_ != null;
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
* @return The reason.
*/
@java.lang.Override
public com.google.protobuf.StringValue getReason() {
return reason_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : reason_;
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getReasonOrBuilder() {
return getReason();
}
public static final int RELEASE_DESCRIPTION_FIELD_NUMBER = 18;
private com.google.protobuf.StringValue releaseDescription_;
/**
* .google.protobuf.StringValue release_description = 18;
* @return Whether the releaseDescription field is set.
*/
@java.lang.Override
public boolean hasReleaseDescription() {
return releaseDescription_ != null;
}
/**
* .google.protobuf.StringValue release_description = 18;
* @return The releaseDescription.
*/
@java.lang.Override
public com.google.protobuf.StringValue getReleaseDescription() {
return releaseDescription_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseDescription_;
}
/**
* .google.protobuf.StringValue release_description = 18;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getReleaseDescriptionOrBuilder() {
return getReleaseDescription();
}
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 (id_ != null) {
output.writeMessage(1, getId());
}
if (name_ != null) {
output.writeMessage(2, getName());
}
if (namespace_ != null) {
output.writeMessage(3, getNamespace());
}
if (group_ != null) {
output.writeMessage(4, getGroup());
}
if (fileName_ != null) {
output.writeMessage(5, getFileName());
}
if (content_ != null) {
output.writeMessage(6, getContent());
}
if (format_ != null) {
output.writeMessage(7, getFormat());
}
if (comment_ != null) {
output.writeMessage(8, getComment());
}
if (md5_ != null) {
output.writeMessage(9, getMd5());
}
if (type_ != null) {
output.writeMessage(10, getType());
}
if (status_ != null) {
output.writeMessage(11, getStatus());
}
for (int i = 0; i < tags_.size(); i++) {
output.writeMessage(12, tags_.get(i));
}
if (createTime_ != null) {
output.writeMessage(13, getCreateTime());
}
if (createBy_ != null) {
output.writeMessage(14, getCreateBy());
}
if (modifyTime_ != null) {
output.writeMessage(15, getModifyTime());
}
if (modifyBy_ != null) {
output.writeMessage(16, getModifyBy());
}
if (reason_ != null) {
output.writeMessage(17, getReason());
}
if (releaseDescription_ != null) {
output.writeMessage(18, getReleaseDescription());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (id_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getId());
}
if (name_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getName());
}
if (namespace_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getNamespace());
}
if (group_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getGroup());
}
if (fileName_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getFileName());
}
if (content_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getContent());
}
if (format_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getFormat());
}
if (comment_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getComment());
}
if (md5_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getMd5());
}
if (type_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getType());
}
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getStatus());
}
for (int i = 0; i < tags_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, tags_.get(i));
}
if (createTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getCreateTime());
}
if (createBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getCreateBy());
}
if (modifyTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getModifyTime());
}
if (modifyBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getModifyBy());
}
if (reason_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getReason());
}
if (releaseDescription_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getReleaseDescription());
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasFileName() != other.hasFileName()) return false;
if (hasFileName()) {
if (!getFileName()
.equals(other.getFileName())) return false;
}
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (hasFormat() != other.hasFormat()) return false;
if (hasFormat()) {
if (!getFormat()
.equals(other.getFormat())) return false;
}
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasMd5() != other.hasMd5()) return false;
if (hasMd5()) {
if (!getMd5()
.equals(other.getMd5())) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (!getType()
.equals(other.getType())) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (!getCreateTime()
.equals(other.getCreateTime())) return false;
}
if (hasCreateBy() != other.hasCreateBy()) return false;
if (hasCreateBy()) {
if (!getCreateBy()
.equals(other.getCreateBy())) return false;
}
if (hasModifyTime() != other.hasModifyTime()) return false;
if (hasModifyTime()) {
if (!getModifyTime()
.equals(other.getModifyTime())) return false;
}
if (hasModifyBy() != other.hasModifyBy()) return false;
if (hasModifyBy()) {
if (!getModifyBy()
.equals(other.getModifyBy())) return false;
}
if (hasReason() != other.hasReason()) return false;
if (hasReason()) {
if (!getReason()
.equals(other.getReason())) return false;
}
if (hasReleaseDescription() != other.hasReleaseDescription()) return false;
if (hasReleaseDescription()) {
if (!getReleaseDescription()
.equals(other.getReleaseDescription())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasFileName()) {
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
}
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
if (hasFormat()) {
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasMd5()) {
hash = (37 * hash) + MD5_FIELD_NUMBER;
hash = (53 * hash) + getMd5().hashCode();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasCreateTime()) {
hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime().hashCode();
}
if (hasCreateBy()) {
hash = (37 * hash) + CREATE_BY_FIELD_NUMBER;
hash = (53 * hash) + getCreateBy().hashCode();
}
if (hasModifyTime()) {
hash = (37 * hash) + MODIFY_TIME_FIELD_NUMBER;
hash = (53 * hash) + getModifyTime().hashCode();
}
if (hasModifyBy()) {
hash = (37 * hash) + MODIFY_BY_FIELD_NUMBER;
hash = (53 * hash) + getModifyBy().hashCode();
}
if (hasReason()) {
hash = (37 * hash) + REASON_FIELD_NUMBER;
hash = (53 * hash) + getReason().hashCode();
}
if (hasReleaseDescription()) {
hash = (37 * hash) + RELEASE_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getReleaseDescription().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory 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 v1.ConfigFileReleaseHistory}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFileReleaseHistory)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistoryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileReleaseHistory_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileReleaseHistory_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (idBuilder_ == null) {
id_ = null;
} else {
id_ = null;
idBuilder_ = null;
}
if (nameBuilder_ == null) {
name_ = null;
} else {
name_ = null;
nameBuilder_ = null;
}
if (namespaceBuilder_ == null) {
namespace_ = null;
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
if (groupBuilder_ == null) {
group_ = null;
} else {
group_ = null;
groupBuilder_ = null;
}
if (fileNameBuilder_ == null) {
fileName_ = null;
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
if (contentBuilder_ == null) {
content_ = null;
} else {
content_ = null;
contentBuilder_ = null;
}
if (formatBuilder_ == null) {
format_ = null;
} else {
format_ = null;
formatBuilder_ = null;
}
if (commentBuilder_ == null) {
comment_ = null;
} else {
comment_ = null;
commentBuilder_ = null;
}
if (md5Builder_ == null) {
md5_ = null;
} else {
md5_ = null;
md5Builder_ = null;
}
if (typeBuilder_ == null) {
type_ = null;
} else {
type_ = null;
typeBuilder_ = null;
}
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
} else {
tags_ = null;
tagsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (createTimeBuilder_ == null) {
createTime_ = null;
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
if (createByBuilder_ == null) {
createBy_ = null;
} else {
createBy_ = null;
createByBuilder_ = null;
}
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
if (modifyByBuilder_ == null) {
modifyBy_ = null;
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
if (reasonBuilder_ == null) {
reason_ = null;
} else {
reason_ = null;
reasonBuilder_ = null;
}
if (releaseDescriptionBuilder_ == null) {
releaseDescription_ = null;
} else {
releaseDescription_ = null;
releaseDescriptionBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileReleaseHistory_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory(this);
int from_bitField0_ = bitField0_;
if (idBuilder_ == null) {
result.id_ = id_;
} else {
result.id_ = idBuilder_.build();
}
if (nameBuilder_ == null) {
result.name_ = name_;
} else {
result.name_ = nameBuilder_.build();
}
if (namespaceBuilder_ == null) {
result.namespace_ = namespace_;
} else {
result.namespace_ = namespaceBuilder_.build();
}
if (groupBuilder_ == null) {
result.group_ = group_;
} else {
result.group_ = groupBuilder_.build();
}
if (fileNameBuilder_ == null) {
result.fileName_ = fileName_;
} else {
result.fileName_ = fileNameBuilder_.build();
}
if (contentBuilder_ == null) {
result.content_ = content_;
} else {
result.content_ = contentBuilder_.build();
}
if (formatBuilder_ == null) {
result.format_ = format_;
} else {
result.format_ = formatBuilder_.build();
}
if (commentBuilder_ == null) {
result.comment_ = comment_;
} else {
result.comment_ = commentBuilder_.build();
}
if (md5Builder_ == null) {
result.md5_ = md5_;
} else {
result.md5_ = md5Builder_.build();
}
if (typeBuilder_ == null) {
result.type_ = type_;
} else {
result.type_ = typeBuilder_.build();
}
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (tagsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tags_ = java.util.Collections.unmodifiableList(tags_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.tags_ = tags_;
} else {
result.tags_ = tagsBuilder_.build();
}
if (createTimeBuilder_ == null) {
result.createTime_ = createTime_;
} else {
result.createTime_ = createTimeBuilder_.build();
}
if (createByBuilder_ == null) {
result.createBy_ = createBy_;
} else {
result.createBy_ = createByBuilder_.build();
}
if (modifyTimeBuilder_ == null) {
result.modifyTime_ = modifyTime_;
} else {
result.modifyTime_ = modifyTimeBuilder_.build();
}
if (modifyByBuilder_ == null) {
result.modifyBy_ = modifyBy_;
} else {
result.modifyBy_ = modifyByBuilder_.build();
}
if (reasonBuilder_ == null) {
result.reason_ = reason_;
} else {
result.reason_ = reasonBuilder_.build();
}
if (releaseDescriptionBuilder_ == null) {
result.releaseDescription_ = releaseDescription_;
} else {
result.releaseDescription_ = releaseDescriptionBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory.getDefaultInstance()) return this;
if (other.hasId()) {
mergeId(other.getId());
}
if (other.hasName()) {
mergeName(other.getName());
}
if (other.hasNamespace()) {
mergeNamespace(other.getNamespace());
}
if (other.hasGroup()) {
mergeGroup(other.getGroup());
}
if (other.hasFileName()) {
mergeFileName(other.getFileName());
}
if (other.hasContent()) {
mergeContent(other.getContent());
}
if (other.hasFormat()) {
mergeFormat(other.getFormat());
}
if (other.hasComment()) {
mergeComment(other.getComment());
}
if (other.hasMd5()) {
mergeMd5(other.getMd5());
}
if (other.hasType()) {
mergeType(other.getType());
}
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (tagsBuilder_ == null) {
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
} else {
if (!other.tags_.isEmpty()) {
if (tagsBuilder_.isEmpty()) {
tagsBuilder_.dispose();
tagsBuilder_ = null;
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
tagsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTagsFieldBuilder() : null;
} else {
tagsBuilder_.addAllMessages(other.tags_);
}
}
}
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
if (other.hasCreateBy()) {
mergeCreateBy(other.getCreateBy());
}
if (other.hasModifyTime()) {
mergeModifyTime(other.getModifyTime());
}
if (other.hasModifyBy()) {
mergeModifyBy(other.getModifyBy());
}
if (other.hasReason()) {
mergeReason(other.getReason());
}
if (other.hasReleaseDescription()) {
mergeReleaseDescription(other.getReleaseDescription());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getIdFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getNamespaceFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getGroupFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getFileNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
input.readMessage(
getContentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 50
case 58: {
input.readMessage(
getFormatFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 58
case 66: {
input.readMessage(
getCommentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 66
case 74: {
input.readMessage(
getMd5FieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 74
case 82: {
input.readMessage(
getTypeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 82
case 90: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 90
case 98: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.parser(),
extensionRegistry);
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(m);
} else {
tagsBuilder_.addMessage(m);
}
break;
} // case 98
case 106: {
input.readMessage(
getCreateTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 106
case 114: {
input.readMessage(
getCreateByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 114
case 122: {
input.readMessage(
getModifyTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 122
case 130: {
input.readMessage(
getModifyByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 130
case 138: {
input.readMessage(
getReasonFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 138
case 146: {
input.readMessage(
getReleaseDescriptionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 146
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.UInt64Value id_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> idBuilder_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
public com.google.protobuf.UInt64Value getId() {
if (idBuilder_ == null) {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(
com.google.protobuf.UInt64Value.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder mergeId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
com.google.protobuf.UInt64Value.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64Value.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>(
getId(),
getParentForChildren(),
isClean());
id_ = null;
}
return idBuilder_;
}
private com.google.protobuf.StringValue name_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> nameBuilder_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
public boolean hasName() {
return nameBuilder_ != null || name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
public com.google.protobuf.StringValue getName() {
if (nameBuilder_ == null) {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
} else {
return nameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
} else {
nameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (nameBuilder_ == null) {
name_ = builderForValue.build();
onChanged();
} else {
nameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder mergeName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (name_ != null) {
name_ =
com.google.protobuf.StringValue.newBuilder(name_).mergeFrom(value).buildPartial();
} else {
name_ = value;
}
onChanged();
} else {
nameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder clearName() {
if (nameBuilder_ == null) {
name_ = null;
onChanged();
} else {
name_ = null;
nameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValue.Builder getNameBuilder() {
onChanged();
return getNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
if (nameBuilder_ != null) {
return nameBuilder_.getMessageOrBuilder();
} else {
return name_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNameFieldBuilder() {
if (nameBuilder_ == null) {
nameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getName(),
getParentForChildren(),
isClean());
name_ = null;
}
return nameBuilder_;
}
private com.google.protobuf.StringValue namespace_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> namespaceBuilder_;
/**
* .google.protobuf.StringValue namespace = 3;
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return namespaceBuilder_ != null || namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 3;
* @return The namespace.
*/
public com.google.protobuf.StringValue getNamespace() {
if (namespaceBuilder_ == null) {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
} else {
return namespaceBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder setNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
namespace_ = value;
onChanged();
} else {
namespaceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder setNamespace(
com.google.protobuf.StringValue.Builder builderForValue) {
if (namespaceBuilder_ == null) {
namespace_ = builderForValue.build();
onChanged();
} else {
namespaceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder mergeNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (namespace_ != null) {
namespace_ =
com.google.protobuf.StringValue.newBuilder(namespace_).mergeFrom(value).buildPartial();
} else {
namespace_ = value;
}
onChanged();
} else {
namespaceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public Builder clearNamespace() {
if (namespaceBuilder_ == null) {
namespace_ = null;
onChanged();
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public com.google.protobuf.StringValue.Builder getNamespaceBuilder() {
onChanged();
return getNamespaceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
if (namespaceBuilder_ != null) {
return namespaceBuilder_.getMessageOrBuilder();
} else {
return namespace_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
}
/**
* .google.protobuf.StringValue namespace = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNamespaceFieldBuilder() {
if (namespaceBuilder_ == null) {
namespaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getNamespace(),
getParentForChildren(),
isClean());
namespace_ = null;
}
return namespaceBuilder_;
}
private com.google.protobuf.StringValue group_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> groupBuilder_;
/**
* .google.protobuf.StringValue group = 4;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
}
/**
* .google.protobuf.StringValue group = 4;
* @return The group.
*/
public com.google.protobuf.StringValue getGroup() {
if (groupBuilder_ == null) {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
} else {
return groupBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder setGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
group_ = value;
onChanged();
} else {
groupBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder setGroup(
com.google.protobuf.StringValue.Builder builderForValue) {
if (groupBuilder_ == null) {
group_ = builderForValue.build();
onChanged();
} else {
groupBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder mergeGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (group_ != null) {
group_ =
com.google.protobuf.StringValue.newBuilder(group_).mergeFrom(value).buildPartial();
} else {
group_ = value;
}
onChanged();
} else {
groupBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public Builder clearGroup() {
if (groupBuilder_ == null) {
group_ = null;
onChanged();
} else {
group_ = null;
groupBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue group = 4;
*/
public com.google.protobuf.StringValue.Builder getGroupBuilder() {
onChanged();
return getGroupFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue group = 4;
*/
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
if (groupBuilder_ != null) {
return groupBuilder_.getMessageOrBuilder();
} else {
return group_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
}
/**
* .google.protobuf.StringValue group = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getGroupFieldBuilder() {
if (groupBuilder_ == null) {
groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getGroup(),
getParentForChildren(),
isClean());
group_ = null;
}
return groupBuilder_;
}
private com.google.protobuf.StringValue fileName_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> fileNameBuilder_;
/**
* .google.protobuf.StringValue file_name = 5;
* @return Whether the fileName field is set.
*/
public boolean hasFileName() {
return fileNameBuilder_ != null || fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 5;
* @return The fileName.
*/
public com.google.protobuf.StringValue getFileName() {
if (fileNameBuilder_ == null) {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
} else {
return fileNameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public Builder setFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileName_ = value;
onChanged();
} else {
fileNameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public Builder setFileName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (fileNameBuilder_ == null) {
fileName_ = builderForValue.build();
onChanged();
} else {
fileNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public Builder mergeFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (fileName_ != null) {
fileName_ =
com.google.protobuf.StringValue.newBuilder(fileName_).mergeFrom(value).buildPartial();
} else {
fileName_ = value;
}
onChanged();
} else {
fileNameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public Builder clearFileName() {
if (fileNameBuilder_ == null) {
fileName_ = null;
onChanged();
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public com.google.protobuf.StringValue.Builder getFileNameBuilder() {
onChanged();
return getFileNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
if (fileNameBuilder_ != null) {
return fileNameBuilder_.getMessageOrBuilder();
} else {
return fileName_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
}
/**
* .google.protobuf.StringValue file_name = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFileNameFieldBuilder() {
if (fileNameBuilder_ == null) {
fileNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFileName(),
getParentForChildren(),
isClean());
fileName_ = null;
}
return fileNameBuilder_;
}
private com.google.protobuf.StringValue content_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> contentBuilder_;
/**
* .google.protobuf.StringValue content = 6;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return contentBuilder_ != null || content_ != null;
}
/**
* .google.protobuf.StringValue content = 6;
* @return The content.
*/
public com.google.protobuf.StringValue getContent() {
if (contentBuilder_ == null) {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
} else {
return contentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue content = 6;
*/
public Builder setContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
} else {
contentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 6;
*/
public Builder setContent(
com.google.protobuf.StringValue.Builder builderForValue) {
if (contentBuilder_ == null) {
content_ = builderForValue.build();
onChanged();
} else {
contentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue content = 6;
*/
public Builder mergeContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (content_ != null) {
content_ =
com.google.protobuf.StringValue.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
onChanged();
} else {
contentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 6;
*/
public Builder clearContent() {
if (contentBuilder_ == null) {
content_ = null;
onChanged();
} else {
content_ = null;
contentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue content = 6;
*/
public com.google.protobuf.StringValue.Builder getContentBuilder() {
onChanged();
return getContentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue content = 6;
*/
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
if (contentBuilder_ != null) {
return contentBuilder_.getMessageOrBuilder();
} else {
return content_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
}
/**
* .google.protobuf.StringValue content = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getContentFieldBuilder() {
if (contentBuilder_ == null) {
contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getContent(),
getParentForChildren(),
isClean());
content_ = null;
}
return contentBuilder_;
}
private com.google.protobuf.StringValue format_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> formatBuilder_;
/**
* .google.protobuf.StringValue format = 7;
* @return Whether the format field is set.
*/
public boolean hasFormat() {
return formatBuilder_ != null || format_ != null;
}
/**
* .google.protobuf.StringValue format = 7;
* @return The format.
*/
public com.google.protobuf.StringValue getFormat() {
if (formatBuilder_ == null) {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
} else {
return formatBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue format = 7;
*/
public Builder setFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
} else {
formatBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 7;
*/
public Builder setFormat(
com.google.protobuf.StringValue.Builder builderForValue) {
if (formatBuilder_ == null) {
format_ = builderForValue.build();
onChanged();
} else {
formatBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue format = 7;
*/
public Builder mergeFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (format_ != null) {
format_ =
com.google.protobuf.StringValue.newBuilder(format_).mergeFrom(value).buildPartial();
} else {
format_ = value;
}
onChanged();
} else {
formatBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 7;
*/
public Builder clearFormat() {
if (formatBuilder_ == null) {
format_ = null;
onChanged();
} else {
format_ = null;
formatBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue format = 7;
*/
public com.google.protobuf.StringValue.Builder getFormatBuilder() {
onChanged();
return getFormatFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue format = 7;
*/
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
if (formatBuilder_ != null) {
return formatBuilder_.getMessageOrBuilder();
} else {
return format_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
}
/**
* .google.protobuf.StringValue format = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFormatFieldBuilder() {
if (formatBuilder_ == null) {
formatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFormat(),
getParentForChildren(),
isClean());
format_ = null;
}
return formatBuilder_;
}
private com.google.protobuf.StringValue comment_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> commentBuilder_;
/**
* .google.protobuf.StringValue comment = 8;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return commentBuilder_ != null || comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 8;
* @return The comment.
*/
public com.google.protobuf.StringValue getComment() {
if (commentBuilder_ == null) {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
} else {
return commentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue comment = 8;
*/
public Builder setComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
comment_ = value;
onChanged();
} else {
commentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 8;
*/
public Builder setComment(
com.google.protobuf.StringValue.Builder builderForValue) {
if (commentBuilder_ == null) {
comment_ = builderForValue.build();
onChanged();
} else {
commentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue comment = 8;
*/
public Builder mergeComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (comment_ != null) {
comment_ =
com.google.protobuf.StringValue.newBuilder(comment_).mergeFrom(value).buildPartial();
} else {
comment_ = value;
}
onChanged();
} else {
commentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 8;
*/
public Builder clearComment() {
if (commentBuilder_ == null) {
comment_ = null;
onChanged();
} else {
comment_ = null;
commentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue comment = 8;
*/
public com.google.protobuf.StringValue.Builder getCommentBuilder() {
onChanged();
return getCommentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue comment = 8;
*/
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
if (commentBuilder_ != null) {
return commentBuilder_.getMessageOrBuilder();
} else {
return comment_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
}
/**
* .google.protobuf.StringValue comment = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCommentFieldBuilder() {
if (commentBuilder_ == null) {
commentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getComment(),
getParentForChildren(),
isClean());
comment_ = null;
}
return commentBuilder_;
}
private com.google.protobuf.StringValue md5_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> md5Builder_;
/**
* .google.protobuf.StringValue md5 = 9;
* @return Whether the md5 field is set.
*/
public boolean hasMd5() {
return md5Builder_ != null || md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 9;
* @return The md5.
*/
public com.google.protobuf.StringValue getMd5() {
if (md5Builder_ == null) {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
} else {
return md5Builder_.getMessage();
}
}
/**
* .google.protobuf.StringValue md5 = 9;
*/
public Builder setMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
md5_ = value;
onChanged();
} else {
md5Builder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 9;
*/
public Builder setMd5(
com.google.protobuf.StringValue.Builder builderForValue) {
if (md5Builder_ == null) {
md5_ = builderForValue.build();
onChanged();
} else {
md5Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 9;
*/
public Builder mergeMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (md5_ != null) {
md5_ =
com.google.protobuf.StringValue.newBuilder(md5_).mergeFrom(value).buildPartial();
} else {
md5_ = value;
}
onChanged();
} else {
md5Builder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 9;
*/
public Builder clearMd5() {
if (md5Builder_ == null) {
md5_ = null;
onChanged();
} else {
md5_ = null;
md5Builder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 9;
*/
public com.google.protobuf.StringValue.Builder getMd5Builder() {
onChanged();
return getMd5FieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue md5 = 9;
*/
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
if (md5Builder_ != null) {
return md5Builder_.getMessageOrBuilder();
} else {
return md5_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
}
/**
* .google.protobuf.StringValue md5 = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getMd5FieldBuilder() {
if (md5Builder_ == null) {
md5Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getMd5(),
getParentForChildren(),
isClean());
md5_ = null;
}
return md5Builder_;
}
private com.google.protobuf.StringValue type_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> typeBuilder_;
/**
* .google.protobuf.StringValue type = 10;
* @return Whether the type field is set.
*/
public boolean hasType() {
return typeBuilder_ != null || type_ != null;
}
/**
* .google.protobuf.StringValue type = 10;
* @return The type.
*/
public com.google.protobuf.StringValue getType() {
if (typeBuilder_ == null) {
return type_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : type_;
} else {
return typeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue type = 10;
*/
public Builder setType(com.google.protobuf.StringValue value) {
if (typeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
typeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue type = 10;
*/
public Builder setType(
com.google.protobuf.StringValue.Builder builderForValue) {
if (typeBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
typeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue type = 10;
*/
public Builder mergeType(com.google.protobuf.StringValue value) {
if (typeBuilder_ == null) {
if (type_ != null) {
type_ =
com.google.protobuf.StringValue.newBuilder(type_).mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
typeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue type = 10;
*/
public Builder clearType() {
if (typeBuilder_ == null) {
type_ = null;
onChanged();
} else {
type_ = null;
typeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue type = 10;
*/
public com.google.protobuf.StringValue.Builder getTypeBuilder() {
onChanged();
return getTypeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue type = 10;
*/
public com.google.protobuf.StringValueOrBuilder getTypeOrBuilder() {
if (typeBuilder_ != null) {
return typeBuilder_.getMessageOrBuilder();
} else {
return type_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : type_;
}
}
/**
* .google.protobuf.StringValue type = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getTypeFieldBuilder() {
if (typeBuilder_ == null) {
typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getType(),
getParentForChildren(),
isClean());
type_ = null;
}
return typeBuilder_;
}
private com.google.protobuf.StringValue status_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> statusBuilder_;
/**
* .google.protobuf.StringValue status = 11;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
* .google.protobuf.StringValue status = 11;
* @return The status.
*/
public com.google.protobuf.StringValue getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue status = 11;
*/
public Builder setStatus(com.google.protobuf.StringValue value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue status = 11;
*/
public Builder setStatus(
com.google.protobuf.StringValue.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue status = 11;
*/
public Builder mergeStatus(com.google.protobuf.StringValue value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
com.google.protobuf.StringValue.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue status = 11;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue status = 11;
*/
public com.google.protobuf.StringValue.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue status = 11;
*/
public com.google.protobuf.StringValueOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : status_;
}
}
/**
* .google.protobuf.StringValue status = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List tags_ =
java.util.Collections.emptyList();
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
tags_ = new java.util.ArrayList(tags_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder> tagsBuilder_;
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public java.util.List getTagsList() {
if (tagsBuilder_ == null) {
return java.util.Collections.unmodifiableList(tags_);
} else {
return tagsBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public int getTagsCount() {
if (tagsBuilder_ == null) {
return tags_.size();
} else {
return tagsBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
if (tagsBuilder_ == null) {
return tags_.get(index);
} else {
return tagsBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
} else {
tagsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.set(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public Builder addTags(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
} else {
tagsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(index, value);
onChanged();
} else {
tagsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public Builder addTags(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public Builder addAllTags(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag> values) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
} else {
tagsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public Builder clearTags() {
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
tagsBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public Builder removeTags(int index) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.remove(index);
onChanged();
} else {
tagsBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder getTagsBuilder(
int index) {
return getTagsFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
if (tagsBuilder_ == null) {
return tags_.get(index); } else {
return tagsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
if (tagsBuilder_ != null) {
return tagsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tags_);
}
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder() {
return getTagsFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder(
int index) {
return getTagsFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 12;
*/
public java.util.List
getTagsBuilderList() {
return getTagsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsFieldBuilder() {
if (tagsBuilder_ == null) {
tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>(
tags_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
tags_ = null;
}
return tagsBuilder_;
}
private com.google.protobuf.StringValue createTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createTimeBuilder_;
/**
* .google.protobuf.StringValue create_time = 13;
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 13;
* @return The createTime.
*/
public com.google.protobuf.StringValue getCreateTime() {
if (createTimeBuilder_ == null) {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
} else {
return createTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_time = 13;
*/
public Builder setCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createTime_ = value;
onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 13;
*/
public Builder setCreateTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 13;
*/
public Builder mergeCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (createTime_ != null) {
createTime_ =
com.google.protobuf.StringValue.newBuilder(createTime_).mergeFrom(value).buildPartial();
} else {
createTime_ = value;
}
onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 13;
*/
public Builder clearCreateTime() {
if (createTimeBuilder_ == null) {
createTime_ = null;
onChanged();
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 13;
*/
public com.google.protobuf.StringValue.Builder getCreateTimeBuilder() {
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_time = 13;
*/
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
return createTimeBuilder_.getMessageOrBuilder();
} else {
return createTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
}
/**
* .google.protobuf.StringValue create_time = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateTimeFieldBuilder() {
if (createTimeBuilder_ == null) {
createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateTime(),
getParentForChildren(),
isClean());
createTime_ = null;
}
return createTimeBuilder_;
}
private com.google.protobuf.StringValue createBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createByBuilder_;
/**
* .google.protobuf.StringValue create_by = 14;
* @return Whether the createBy field is set.
*/
public boolean hasCreateBy() {
return createByBuilder_ != null || createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 14;
* @return The createBy.
*/
public com.google.protobuf.StringValue getCreateBy() {
if (createByBuilder_ == null) {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
} else {
return createByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_by = 14;
*/
public Builder setCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createBy_ = value;
onChanged();
} else {
createByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 14;
*/
public Builder setCreateBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createByBuilder_ == null) {
createBy_ = builderForValue.build();
onChanged();
} else {
createByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 14;
*/
public Builder mergeCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (createBy_ != null) {
createBy_ =
com.google.protobuf.StringValue.newBuilder(createBy_).mergeFrom(value).buildPartial();
} else {
createBy_ = value;
}
onChanged();
} else {
createByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 14;
*/
public Builder clearCreateBy() {
if (createByBuilder_ == null) {
createBy_ = null;
onChanged();
} else {
createBy_ = null;
createByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 14;
*/
public com.google.protobuf.StringValue.Builder getCreateByBuilder() {
onChanged();
return getCreateByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_by = 14;
*/
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
if (createByBuilder_ != null) {
return createByBuilder_.getMessageOrBuilder();
} else {
return createBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
}
/**
* .google.protobuf.StringValue create_by = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateByFieldBuilder() {
if (createByBuilder_ == null) {
createByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateBy(),
getParentForChildren(),
isClean());
createBy_ = null;
}
return createByBuilder_;
}
private com.google.protobuf.StringValue modifyTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyTimeBuilder_;
/**
* .google.protobuf.StringValue modify_time = 15;
* @return Whether the modifyTime field is set.
*/
public boolean hasModifyTime() {
return modifyTimeBuilder_ != null || modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 15;
* @return The modifyTime.
*/
public com.google.protobuf.StringValue getModifyTime() {
if (modifyTimeBuilder_ == null) {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
} else {
return modifyTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_time = 15;
*/
public Builder setModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyTime_ = value;
onChanged();
} else {
modifyTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 15;
*/
public Builder setModifyTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyTimeBuilder_ == null) {
modifyTime_ = builderForValue.build();
onChanged();
} else {
modifyTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 15;
*/
public Builder mergeModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (modifyTime_ != null) {
modifyTime_ =
com.google.protobuf.StringValue.newBuilder(modifyTime_).mergeFrom(value).buildPartial();
} else {
modifyTime_ = value;
}
onChanged();
} else {
modifyTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 15;
*/
public Builder clearModifyTime() {
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
onChanged();
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 15;
*/
public com.google.protobuf.StringValue.Builder getModifyTimeBuilder() {
onChanged();
return getModifyTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_time = 15;
*/
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
if (modifyTimeBuilder_ != null) {
return modifyTimeBuilder_.getMessageOrBuilder();
} else {
return modifyTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
}
/**
* .google.protobuf.StringValue modify_time = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyTimeFieldBuilder() {
if (modifyTimeBuilder_ == null) {
modifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyTime(),
getParentForChildren(),
isClean());
modifyTime_ = null;
}
return modifyTimeBuilder_;
}
private com.google.protobuf.StringValue modifyBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyByBuilder_;
/**
* .google.protobuf.StringValue modify_by = 16;
* @return Whether the modifyBy field is set.
*/
public boolean hasModifyBy() {
return modifyByBuilder_ != null || modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 16;
* @return The modifyBy.
*/
public com.google.protobuf.StringValue getModifyBy() {
if (modifyByBuilder_ == null) {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
} else {
return modifyByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_by = 16;
*/
public Builder setModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyBy_ = value;
onChanged();
} else {
modifyByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 16;
*/
public Builder setModifyBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyByBuilder_ == null) {
modifyBy_ = builderForValue.build();
onChanged();
} else {
modifyByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 16;
*/
public Builder mergeModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (modifyBy_ != null) {
modifyBy_ =
com.google.protobuf.StringValue.newBuilder(modifyBy_).mergeFrom(value).buildPartial();
} else {
modifyBy_ = value;
}
onChanged();
} else {
modifyByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 16;
*/
public Builder clearModifyBy() {
if (modifyByBuilder_ == null) {
modifyBy_ = null;
onChanged();
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 16;
*/
public com.google.protobuf.StringValue.Builder getModifyByBuilder() {
onChanged();
return getModifyByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_by = 16;
*/
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
if (modifyByBuilder_ != null) {
return modifyByBuilder_.getMessageOrBuilder();
} else {
return modifyBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
}
/**
* .google.protobuf.StringValue modify_by = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyByFieldBuilder() {
if (modifyByBuilder_ == null) {
modifyByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyBy(),
getParentForChildren(),
isClean());
modifyBy_ = null;
}
return modifyByBuilder_;
}
private com.google.protobuf.StringValue reason_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> reasonBuilder_;
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
* @return Whether the reason field is set.
*/
public boolean hasReason() {
return reasonBuilder_ != null || reason_ != null;
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
* @return The reason.
*/
public com.google.protobuf.StringValue getReason() {
if (reasonBuilder_ == null) {
return reason_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : reason_;
} else {
return reasonBuilder_.getMessage();
}
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
*/
public Builder setReason(com.google.protobuf.StringValue value) {
if (reasonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
reason_ = value;
onChanged();
} else {
reasonBuilder_.setMessage(value);
}
return this;
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
*/
public Builder setReason(
com.google.protobuf.StringValue.Builder builderForValue) {
if (reasonBuilder_ == null) {
reason_ = builderForValue.build();
onChanged();
} else {
reasonBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
*/
public Builder mergeReason(com.google.protobuf.StringValue value) {
if (reasonBuilder_ == null) {
if (reason_ != null) {
reason_ =
com.google.protobuf.StringValue.newBuilder(reason_).mergeFrom(value).buildPartial();
} else {
reason_ = value;
}
onChanged();
} else {
reasonBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
*/
public Builder clearReason() {
if (reasonBuilder_ == null) {
reason_ = null;
onChanged();
} else {
reason_ = null;
reasonBuilder_ = null;
}
return this;
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
*/
public com.google.protobuf.StringValue.Builder getReasonBuilder() {
onChanged();
return getReasonFieldBuilder().getBuilder();
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
*/
public com.google.protobuf.StringValueOrBuilder getReasonOrBuilder() {
if (reasonBuilder_ != null) {
return reasonBuilder_.getMessageOrBuilder();
} else {
return reason_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : reason_;
}
}
/**
*
* 配置发布失败的原因
*
*
* .google.protobuf.StringValue reason = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getReasonFieldBuilder() {
if (reasonBuilder_ == null) {
reasonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getReason(),
getParentForChildren(),
isClean());
reason_ = null;
}
return reasonBuilder_;
}
private com.google.protobuf.StringValue releaseDescription_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> releaseDescriptionBuilder_;
/**
* .google.protobuf.StringValue release_description = 18;
* @return Whether the releaseDescription field is set.
*/
public boolean hasReleaseDescription() {
return releaseDescriptionBuilder_ != null || releaseDescription_ != null;
}
/**
* .google.protobuf.StringValue release_description = 18;
* @return The releaseDescription.
*/
public com.google.protobuf.StringValue getReleaseDescription() {
if (releaseDescriptionBuilder_ == null) {
return releaseDescription_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseDescription_;
} else {
return releaseDescriptionBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue release_description = 18;
*/
public Builder setReleaseDescription(com.google.protobuf.StringValue value) {
if (releaseDescriptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
releaseDescription_ = value;
onChanged();
} else {
releaseDescriptionBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 18;
*/
public Builder setReleaseDescription(
com.google.protobuf.StringValue.Builder builderForValue) {
if (releaseDescriptionBuilder_ == null) {
releaseDescription_ = builderForValue.build();
onChanged();
} else {
releaseDescriptionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 18;
*/
public Builder mergeReleaseDescription(com.google.protobuf.StringValue value) {
if (releaseDescriptionBuilder_ == null) {
if (releaseDescription_ != null) {
releaseDescription_ =
com.google.protobuf.StringValue.newBuilder(releaseDescription_).mergeFrom(value).buildPartial();
} else {
releaseDescription_ = value;
}
onChanged();
} else {
releaseDescriptionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 18;
*/
public Builder clearReleaseDescription() {
if (releaseDescriptionBuilder_ == null) {
releaseDescription_ = null;
onChanged();
} else {
releaseDescription_ = null;
releaseDescriptionBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 18;
*/
public com.google.protobuf.StringValue.Builder getReleaseDescriptionBuilder() {
onChanged();
return getReleaseDescriptionFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue release_description = 18;
*/
public com.google.protobuf.StringValueOrBuilder getReleaseDescriptionOrBuilder() {
if (releaseDescriptionBuilder_ != null) {
return releaseDescriptionBuilder_.getMessageOrBuilder();
} else {
return releaseDescription_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : releaseDescription_;
}
}
/**
* .google.protobuf.StringValue release_description = 18;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getReleaseDescriptionFieldBuilder() {
if (releaseDescriptionBuilder_ == null) {
releaseDescriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getReleaseDescription(),
getParentForChildren(),
isClean());
releaseDescription_ = null;
}
return releaseDescriptionBuilder_;
}
@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:v1.ConfigFileReleaseHistory)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFileReleaseHistory)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFileReleaseHistory parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileReleaseHistory getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigFileTemplateOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFileTemplate)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
com.google.protobuf.UInt64Value getId();
/**
* .google.protobuf.UInt64Value id = 1;
*/
com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder();
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
com.google.protobuf.StringValue getName();
/**
* .google.protobuf.StringValue name = 2;
*/
com.google.protobuf.StringValueOrBuilder getNameOrBuilder();
/**
* .google.protobuf.StringValue content = 3;
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* .google.protobuf.StringValue content = 3;
* @return The content.
*/
com.google.protobuf.StringValue getContent();
/**
* .google.protobuf.StringValue content = 3;
*/
com.google.protobuf.StringValueOrBuilder getContentOrBuilder();
/**
* .google.protobuf.StringValue format = 4;
* @return Whether the format field is set.
*/
boolean hasFormat();
/**
* .google.protobuf.StringValue format = 4;
* @return The format.
*/
com.google.protobuf.StringValue getFormat();
/**
* .google.protobuf.StringValue format = 4;
*/
com.google.protobuf.StringValueOrBuilder getFormatOrBuilder();
/**
* .google.protobuf.StringValue comment = 5;
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* .google.protobuf.StringValue comment = 5;
* @return The comment.
*/
com.google.protobuf.StringValue getComment();
/**
* .google.protobuf.StringValue comment = 5;
*/
com.google.protobuf.StringValueOrBuilder getCommentOrBuilder();
/**
* .google.protobuf.StringValue create_time = 6;
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* .google.protobuf.StringValue create_time = 6;
* @return The createTime.
*/
com.google.protobuf.StringValue getCreateTime();
/**
* .google.protobuf.StringValue create_time = 6;
*/
com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder();
/**
* .google.protobuf.StringValue create_by = 7;
* @return Whether the createBy field is set.
*/
boolean hasCreateBy();
/**
* .google.protobuf.StringValue create_by = 7;
* @return The createBy.
*/
com.google.protobuf.StringValue getCreateBy();
/**
* .google.protobuf.StringValue create_by = 7;
*/
com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder();
/**
* .google.protobuf.StringValue modify_time = 8;
* @return Whether the modifyTime field is set.
*/
boolean hasModifyTime();
/**
* .google.protobuf.StringValue modify_time = 8;
* @return The modifyTime.
*/
com.google.protobuf.StringValue getModifyTime();
/**
* .google.protobuf.StringValue modify_time = 8;
*/
com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder();
/**
* .google.protobuf.StringValue modify_by = 9;
* @return Whether the modifyBy field is set.
*/
boolean hasModifyBy();
/**
* .google.protobuf.StringValue modify_by = 9;
* @return The modifyBy.
*/
com.google.protobuf.StringValue getModifyBy();
/**
* .google.protobuf.StringValue modify_by = 9;
*/
com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigFileTemplate}
*/
public static final class ConfigFileTemplate extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFileTemplate)
ConfigFileTemplateOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFileTemplate.newBuilder() to construct.
private ConfigFileTemplate(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigFileTemplate() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFileTemplate();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTemplate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTemplate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private com.google.protobuf.UInt64Value id_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.UInt64Value getId() {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
@java.lang.Override
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
return getId();
}
public static final int NAME_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue name_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.StringValue getName() {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
/**
* .google.protobuf.StringValue name = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
return getName();
}
public static final int CONTENT_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue content_;
/**
* .google.protobuf.StringValue content = 3;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return content_ != null;
}
/**
* .google.protobuf.StringValue content = 3;
* @return The content.
*/
@java.lang.Override
public com.google.protobuf.StringValue getContent() {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
/**
* .google.protobuf.StringValue content = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
return getContent();
}
public static final int FORMAT_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue format_;
/**
* .google.protobuf.StringValue format = 4;
* @return Whether the format field is set.
*/
@java.lang.Override
public boolean hasFormat() {
return format_ != null;
}
/**
* .google.protobuf.StringValue format = 4;
* @return The format.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFormat() {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
/**
* .google.protobuf.StringValue format = 4;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
return getFormat();
}
public static final int COMMENT_FIELD_NUMBER = 5;
private com.google.protobuf.StringValue comment_;
/**
* .google.protobuf.StringValue comment = 5;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 5;
* @return The comment.
*/
@java.lang.Override
public com.google.protobuf.StringValue getComment() {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
/**
* .google.protobuf.StringValue comment = 5;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
return getComment();
}
public static final int CREATE_TIME_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue createTime_;
/**
* .google.protobuf.StringValue create_time = 6;
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 6;
* @return The createTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateTime() {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
/**
* .google.protobuf.StringValue create_time = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
return getCreateTime();
}
public static final int CREATE_BY_FIELD_NUMBER = 7;
private com.google.protobuf.StringValue createBy_;
/**
* .google.protobuf.StringValue create_by = 7;
* @return Whether the createBy field is set.
*/
@java.lang.Override
public boolean hasCreateBy() {
return createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 7;
* @return The createBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateBy() {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
/**
* .google.protobuf.StringValue create_by = 7;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
return getCreateBy();
}
public static final int MODIFY_TIME_FIELD_NUMBER = 8;
private com.google.protobuf.StringValue modifyTime_;
/**
* .google.protobuf.StringValue modify_time = 8;
* @return Whether the modifyTime field is set.
*/
@java.lang.Override
public boolean hasModifyTime() {
return modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 8;
* @return The modifyTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyTime() {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
/**
* .google.protobuf.StringValue modify_time = 8;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
return getModifyTime();
}
public static final int MODIFY_BY_FIELD_NUMBER = 9;
private com.google.protobuf.StringValue modifyBy_;
/**
* .google.protobuf.StringValue modify_by = 9;
* @return Whether the modifyBy field is set.
*/
@java.lang.Override
public boolean hasModifyBy() {
return modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 9;
* @return The modifyBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyBy() {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
/**
* .google.protobuf.StringValue modify_by = 9;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
return getModifyBy();
}
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 (id_ != null) {
output.writeMessage(1, getId());
}
if (name_ != null) {
output.writeMessage(2, getName());
}
if (content_ != null) {
output.writeMessage(3, getContent());
}
if (format_ != null) {
output.writeMessage(4, getFormat());
}
if (comment_ != null) {
output.writeMessage(5, getComment());
}
if (createTime_ != null) {
output.writeMessage(6, getCreateTime());
}
if (createBy_ != null) {
output.writeMessage(7, getCreateBy());
}
if (modifyTime_ != null) {
output.writeMessage(8, getModifyTime());
}
if (modifyBy_ != null) {
output.writeMessage(9, getModifyBy());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (id_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getId());
}
if (name_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getName());
}
if (content_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getContent());
}
if (format_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getFormat());
}
if (comment_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getComment());
}
if (createTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getCreateTime());
}
if (createBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getCreateBy());
}
if (modifyTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getModifyTime());
}
if (modifyBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getModifyBy());
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (hasFormat() != other.hasFormat()) return false;
if (hasFormat()) {
if (!getFormat()
.equals(other.getFormat())) return false;
}
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (!getCreateTime()
.equals(other.getCreateTime())) return false;
}
if (hasCreateBy() != other.hasCreateBy()) return false;
if (hasCreateBy()) {
if (!getCreateBy()
.equals(other.getCreateBy())) return false;
}
if (hasModifyTime() != other.hasModifyTime()) return false;
if (hasModifyTime()) {
if (!getModifyTime()
.equals(other.getModifyTime())) return false;
}
if (hasModifyBy() != other.hasModifyBy()) return false;
if (hasModifyBy()) {
if (!getModifyBy()
.equals(other.getModifyBy())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
if (hasFormat()) {
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasCreateTime()) {
hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getCreateTime().hashCode();
}
if (hasCreateBy()) {
hash = (37 * hash) + CREATE_BY_FIELD_NUMBER;
hash = (53 * hash) + getCreateBy().hashCode();
}
if (hasModifyTime()) {
hash = (37 * hash) + MODIFY_TIME_FIELD_NUMBER;
hash = (53 * hash) + getModifyTime().hashCode();
}
if (hasModifyBy()) {
hash = (37 * hash) + MODIFY_BY_FIELD_NUMBER;
hash = (53 * hash) + getModifyBy().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate 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 v1.ConfigFileTemplate}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFileTemplate)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplateOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTemplate_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTemplate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (idBuilder_ == null) {
id_ = null;
} else {
id_ = null;
idBuilder_ = null;
}
if (nameBuilder_ == null) {
name_ = null;
} else {
name_ = null;
nameBuilder_ = null;
}
if (contentBuilder_ == null) {
content_ = null;
} else {
content_ = null;
contentBuilder_ = null;
}
if (formatBuilder_ == null) {
format_ = null;
} else {
format_ = null;
formatBuilder_ = null;
}
if (commentBuilder_ == null) {
comment_ = null;
} else {
comment_ = null;
commentBuilder_ = null;
}
if (createTimeBuilder_ == null) {
createTime_ = null;
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
if (createByBuilder_ == null) {
createBy_ = null;
} else {
createBy_ = null;
createByBuilder_ = null;
}
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
if (modifyByBuilder_ == null) {
modifyBy_ = null;
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileTemplate_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate(this);
if (idBuilder_ == null) {
result.id_ = id_;
} else {
result.id_ = idBuilder_.build();
}
if (nameBuilder_ == null) {
result.name_ = name_;
} else {
result.name_ = nameBuilder_.build();
}
if (contentBuilder_ == null) {
result.content_ = content_;
} else {
result.content_ = contentBuilder_.build();
}
if (formatBuilder_ == null) {
result.format_ = format_;
} else {
result.format_ = formatBuilder_.build();
}
if (commentBuilder_ == null) {
result.comment_ = comment_;
} else {
result.comment_ = commentBuilder_.build();
}
if (createTimeBuilder_ == null) {
result.createTime_ = createTime_;
} else {
result.createTime_ = createTimeBuilder_.build();
}
if (createByBuilder_ == null) {
result.createBy_ = createBy_;
} else {
result.createBy_ = createByBuilder_.build();
}
if (modifyTimeBuilder_ == null) {
result.modifyTime_ = modifyTime_;
} else {
result.modifyTime_ = modifyTimeBuilder_.build();
}
if (modifyByBuilder_ == null) {
result.modifyBy_ = modifyBy_;
} else {
result.modifyBy_ = modifyByBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate.getDefaultInstance()) return this;
if (other.hasId()) {
mergeId(other.getId());
}
if (other.hasName()) {
mergeName(other.getName());
}
if (other.hasContent()) {
mergeContent(other.getContent());
}
if (other.hasFormat()) {
mergeFormat(other.getFormat());
}
if (other.hasComment()) {
mergeComment(other.getComment());
}
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
if (other.hasCreateBy()) {
mergeCreateBy(other.getCreateBy());
}
if (other.hasModifyTime()) {
mergeModifyTime(other.getModifyTime());
}
if (other.hasModifyBy()) {
mergeModifyBy(other.getModifyBy());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getIdFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getContentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getFormatFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getCommentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
input.readMessage(
getCreateTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 50
case 58: {
input.readMessage(
getCreateByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 58
case 66: {
input.readMessage(
getModifyTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 66
case 74: {
input.readMessage(
getModifyByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 74
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private com.google.protobuf.UInt64Value id_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> idBuilder_;
/**
* .google.protobuf.UInt64Value id = 1;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
* .google.protobuf.UInt64Value id = 1;
* @return The id.
*/
public com.google.protobuf.UInt64Value getId() {
if (idBuilder_ == null) {
return id_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder setId(
com.google.protobuf.UInt64Value.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder mergeId(com.google.protobuf.UInt64Value value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
com.google.protobuf.UInt64Value.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64Value.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
public com.google.protobuf.UInt64ValueOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
com.google.protobuf.UInt64Value.getDefaultInstance() : id_;
}
}
/**
* .google.protobuf.UInt64Value id = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>(
getId(),
getParentForChildren(),
isClean());
id_ = null;
}
return idBuilder_;
}
private com.google.protobuf.StringValue name_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> nameBuilder_;
/**
* .google.protobuf.StringValue name = 2;
* @return Whether the name field is set.
*/
public boolean hasName() {
return nameBuilder_ != null || name_ != null;
}
/**
* .google.protobuf.StringValue name = 2;
* @return The name.
*/
public com.google.protobuf.StringValue getName() {
if (nameBuilder_ == null) {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
} else {
return nameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
} else {
nameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder setName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (nameBuilder_ == null) {
name_ = builderForValue.build();
onChanged();
} else {
nameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder mergeName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (name_ != null) {
name_ =
com.google.protobuf.StringValue.newBuilder(name_).mergeFrom(value).buildPartial();
} else {
name_ = value;
}
onChanged();
} else {
nameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public Builder clearName() {
if (nameBuilder_ == null) {
name_ = null;
onChanged();
} else {
name_ = null;
nameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValue.Builder getNameBuilder() {
onChanged();
return getNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue name = 2;
*/
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
if (nameBuilder_ != null) {
return nameBuilder_.getMessageOrBuilder();
} else {
return name_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
}
/**
* .google.protobuf.StringValue name = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNameFieldBuilder() {
if (nameBuilder_ == null) {
nameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getName(),
getParentForChildren(),
isClean());
name_ = null;
}
return nameBuilder_;
}
private com.google.protobuf.StringValue content_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> contentBuilder_;
/**
* .google.protobuf.StringValue content = 3;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return contentBuilder_ != null || content_ != null;
}
/**
* .google.protobuf.StringValue content = 3;
* @return The content.
*/
public com.google.protobuf.StringValue getContent() {
if (contentBuilder_ == null) {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
} else {
return contentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue content = 3;
*/
public Builder setContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
} else {
contentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 3;
*/
public Builder setContent(
com.google.protobuf.StringValue.Builder builderForValue) {
if (contentBuilder_ == null) {
content_ = builderForValue.build();
onChanged();
} else {
contentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue content = 3;
*/
public Builder mergeContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (content_ != null) {
content_ =
com.google.protobuf.StringValue.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
onChanged();
} else {
contentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 3;
*/
public Builder clearContent() {
if (contentBuilder_ == null) {
content_ = null;
onChanged();
} else {
content_ = null;
contentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue content = 3;
*/
public com.google.protobuf.StringValue.Builder getContentBuilder() {
onChanged();
return getContentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue content = 3;
*/
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
if (contentBuilder_ != null) {
return contentBuilder_.getMessageOrBuilder();
} else {
return content_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
}
/**
* .google.protobuf.StringValue content = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getContentFieldBuilder() {
if (contentBuilder_ == null) {
contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getContent(),
getParentForChildren(),
isClean());
content_ = null;
}
return contentBuilder_;
}
private com.google.protobuf.StringValue format_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> formatBuilder_;
/**
* .google.protobuf.StringValue format = 4;
* @return Whether the format field is set.
*/
public boolean hasFormat() {
return formatBuilder_ != null || format_ != null;
}
/**
* .google.protobuf.StringValue format = 4;
* @return The format.
*/
public com.google.protobuf.StringValue getFormat() {
if (formatBuilder_ == null) {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
} else {
return formatBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue format = 4;
*/
public Builder setFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
} else {
formatBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 4;
*/
public Builder setFormat(
com.google.protobuf.StringValue.Builder builderForValue) {
if (formatBuilder_ == null) {
format_ = builderForValue.build();
onChanged();
} else {
formatBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue format = 4;
*/
public Builder mergeFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (format_ != null) {
format_ =
com.google.protobuf.StringValue.newBuilder(format_).mergeFrom(value).buildPartial();
} else {
format_ = value;
}
onChanged();
} else {
formatBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 4;
*/
public Builder clearFormat() {
if (formatBuilder_ == null) {
format_ = null;
onChanged();
} else {
format_ = null;
formatBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue format = 4;
*/
public com.google.protobuf.StringValue.Builder getFormatBuilder() {
onChanged();
return getFormatFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue format = 4;
*/
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
if (formatBuilder_ != null) {
return formatBuilder_.getMessageOrBuilder();
} else {
return format_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
}
/**
* .google.protobuf.StringValue format = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFormatFieldBuilder() {
if (formatBuilder_ == null) {
formatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFormat(),
getParentForChildren(),
isClean());
format_ = null;
}
return formatBuilder_;
}
private com.google.protobuf.StringValue comment_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> commentBuilder_;
/**
* .google.protobuf.StringValue comment = 5;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return commentBuilder_ != null || comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 5;
* @return The comment.
*/
public com.google.protobuf.StringValue getComment() {
if (commentBuilder_ == null) {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
} else {
return commentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue comment = 5;
*/
public Builder setComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
comment_ = value;
onChanged();
} else {
commentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 5;
*/
public Builder setComment(
com.google.protobuf.StringValue.Builder builderForValue) {
if (commentBuilder_ == null) {
comment_ = builderForValue.build();
onChanged();
} else {
commentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue comment = 5;
*/
public Builder mergeComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (comment_ != null) {
comment_ =
com.google.protobuf.StringValue.newBuilder(comment_).mergeFrom(value).buildPartial();
} else {
comment_ = value;
}
onChanged();
} else {
commentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 5;
*/
public Builder clearComment() {
if (commentBuilder_ == null) {
comment_ = null;
onChanged();
} else {
comment_ = null;
commentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue comment = 5;
*/
public com.google.protobuf.StringValue.Builder getCommentBuilder() {
onChanged();
return getCommentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue comment = 5;
*/
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
if (commentBuilder_ != null) {
return commentBuilder_.getMessageOrBuilder();
} else {
return comment_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
}
/**
* .google.protobuf.StringValue comment = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCommentFieldBuilder() {
if (commentBuilder_ == null) {
commentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getComment(),
getParentForChildren(),
isClean());
comment_ = null;
}
return commentBuilder_;
}
private com.google.protobuf.StringValue createTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createTimeBuilder_;
/**
* .google.protobuf.StringValue create_time = 6;
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
return createTimeBuilder_ != null || createTime_ != null;
}
/**
* .google.protobuf.StringValue create_time = 6;
* @return The createTime.
*/
public com.google.protobuf.StringValue getCreateTime() {
if (createTimeBuilder_ == null) {
return createTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
} else {
return createTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_time = 6;
*/
public Builder setCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createTime_ = value;
onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 6;
*/
public Builder setCreateTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 6;
*/
public Builder mergeCreateTime(com.google.protobuf.StringValue value) {
if (createTimeBuilder_ == null) {
if (createTime_ != null) {
createTime_ =
com.google.protobuf.StringValue.newBuilder(createTime_).mergeFrom(value).buildPartial();
} else {
createTime_ = value;
}
onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 6;
*/
public Builder clearCreateTime() {
if (createTimeBuilder_ == null) {
createTime_ = null;
onChanged();
} else {
createTime_ = null;
createTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_time = 6;
*/
public com.google.protobuf.StringValue.Builder getCreateTimeBuilder() {
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_time = 6;
*/
public com.google.protobuf.StringValueOrBuilder getCreateTimeOrBuilder() {
if (createTimeBuilder_ != null) {
return createTimeBuilder_.getMessageOrBuilder();
} else {
return createTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createTime_;
}
}
/**
* .google.protobuf.StringValue create_time = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateTimeFieldBuilder() {
if (createTimeBuilder_ == null) {
createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateTime(),
getParentForChildren(),
isClean());
createTime_ = null;
}
return createTimeBuilder_;
}
private com.google.protobuf.StringValue createBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createByBuilder_;
/**
* .google.protobuf.StringValue create_by = 7;
* @return Whether the createBy field is set.
*/
public boolean hasCreateBy() {
return createByBuilder_ != null || createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 7;
* @return The createBy.
*/
public com.google.protobuf.StringValue getCreateBy() {
if (createByBuilder_ == null) {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
} else {
return createByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_by = 7;
*/
public Builder setCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createBy_ = value;
onChanged();
} else {
createByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 7;
*/
public Builder setCreateBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createByBuilder_ == null) {
createBy_ = builderForValue.build();
onChanged();
} else {
createByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 7;
*/
public Builder mergeCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (createBy_ != null) {
createBy_ =
com.google.protobuf.StringValue.newBuilder(createBy_).mergeFrom(value).buildPartial();
} else {
createBy_ = value;
}
onChanged();
} else {
createByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 7;
*/
public Builder clearCreateBy() {
if (createByBuilder_ == null) {
createBy_ = null;
onChanged();
} else {
createBy_ = null;
createByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 7;
*/
public com.google.protobuf.StringValue.Builder getCreateByBuilder() {
onChanged();
return getCreateByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_by = 7;
*/
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
if (createByBuilder_ != null) {
return createByBuilder_.getMessageOrBuilder();
} else {
return createBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
}
/**
* .google.protobuf.StringValue create_by = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateByFieldBuilder() {
if (createByBuilder_ == null) {
createByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateBy(),
getParentForChildren(),
isClean());
createBy_ = null;
}
return createByBuilder_;
}
private com.google.protobuf.StringValue modifyTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyTimeBuilder_;
/**
* .google.protobuf.StringValue modify_time = 8;
* @return Whether the modifyTime field is set.
*/
public boolean hasModifyTime() {
return modifyTimeBuilder_ != null || modifyTime_ != null;
}
/**
* .google.protobuf.StringValue modify_time = 8;
* @return The modifyTime.
*/
public com.google.protobuf.StringValue getModifyTime() {
if (modifyTimeBuilder_ == null) {
return modifyTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
} else {
return modifyTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_time = 8;
*/
public Builder setModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyTime_ = value;
onChanged();
} else {
modifyTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 8;
*/
public Builder setModifyTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyTimeBuilder_ == null) {
modifyTime_ = builderForValue.build();
onChanged();
} else {
modifyTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 8;
*/
public Builder mergeModifyTime(com.google.protobuf.StringValue value) {
if (modifyTimeBuilder_ == null) {
if (modifyTime_ != null) {
modifyTime_ =
com.google.protobuf.StringValue.newBuilder(modifyTime_).mergeFrom(value).buildPartial();
} else {
modifyTime_ = value;
}
onChanged();
} else {
modifyTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 8;
*/
public Builder clearModifyTime() {
if (modifyTimeBuilder_ == null) {
modifyTime_ = null;
onChanged();
} else {
modifyTime_ = null;
modifyTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_time = 8;
*/
public com.google.protobuf.StringValue.Builder getModifyTimeBuilder() {
onChanged();
return getModifyTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_time = 8;
*/
public com.google.protobuf.StringValueOrBuilder getModifyTimeOrBuilder() {
if (modifyTimeBuilder_ != null) {
return modifyTimeBuilder_.getMessageOrBuilder();
} else {
return modifyTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyTime_;
}
}
/**
* .google.protobuf.StringValue modify_time = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyTimeFieldBuilder() {
if (modifyTimeBuilder_ == null) {
modifyTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyTime(),
getParentForChildren(),
isClean());
modifyTime_ = null;
}
return modifyTimeBuilder_;
}
private com.google.protobuf.StringValue modifyBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyByBuilder_;
/**
* .google.protobuf.StringValue modify_by = 9;
* @return Whether the modifyBy field is set.
*/
public boolean hasModifyBy() {
return modifyByBuilder_ != null || modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 9;
* @return The modifyBy.
*/
public com.google.protobuf.StringValue getModifyBy() {
if (modifyByBuilder_ == null) {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
} else {
return modifyByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_by = 9;
*/
public Builder setModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyBy_ = value;
onChanged();
} else {
modifyByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 9;
*/
public Builder setModifyBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyByBuilder_ == null) {
modifyBy_ = builderForValue.build();
onChanged();
} else {
modifyByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 9;
*/
public Builder mergeModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (modifyBy_ != null) {
modifyBy_ =
com.google.protobuf.StringValue.newBuilder(modifyBy_).mergeFrom(value).buildPartial();
} else {
modifyBy_ = value;
}
onChanged();
} else {
modifyByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 9;
*/
public Builder clearModifyBy() {
if (modifyByBuilder_ == null) {
modifyBy_ = null;
onChanged();
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 9;
*/
public com.google.protobuf.StringValue.Builder getModifyByBuilder() {
onChanged();
return getModifyByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_by = 9;
*/
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
if (modifyByBuilder_ != null) {
return modifyByBuilder_.getMessageOrBuilder();
} else {
return modifyBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
}
/**
* .google.protobuf.StringValue modify_by = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyByFieldBuilder() {
if (modifyByBuilder_ == null) {
modifyByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyBy(),
getParentForChildren(),
isClean());
modifyBy_ = null;
}
return modifyByBuilder_;
}
@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:v1.ConfigFileTemplate)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFileTemplate)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFileTemplate parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTemplate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ClientConfigFileInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ClientConfigFileInfo)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue namespace = 1;
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
* .google.protobuf.StringValue namespace = 1;
* @return The namespace.
*/
com.google.protobuf.StringValue getNamespace();
/**
* .google.protobuf.StringValue namespace = 1;
*/
com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder();
/**
* .google.protobuf.StringValue group = 2;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* .google.protobuf.StringValue group = 2;
* @return The group.
*/
com.google.protobuf.StringValue getGroup();
/**
* .google.protobuf.StringValue group = 2;
*/
com.google.protobuf.StringValueOrBuilder getGroupOrBuilder();
/**
* .google.protobuf.StringValue file_name = 3;
* @return Whether the fileName field is set.
*/
boolean hasFileName();
/**
* .google.protobuf.StringValue file_name = 3;
* @return The fileName.
*/
com.google.protobuf.StringValue getFileName();
/**
* .google.protobuf.StringValue file_name = 3;
*/
com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder();
/**
* .google.protobuf.StringValue content = 4;
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* .google.protobuf.StringValue content = 4;
* @return The content.
*/
com.google.protobuf.StringValue getContent();
/**
* .google.protobuf.StringValue content = 4;
*/
com.google.protobuf.StringValueOrBuilder getContentOrBuilder();
/**
* .google.protobuf.UInt64Value version = 5;
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
* .google.protobuf.UInt64Value version = 5;
* @return The version.
*/
com.google.protobuf.UInt64Value getVersion();
/**
* .google.protobuf.UInt64Value version = 5;
*/
com.google.protobuf.UInt64ValueOrBuilder getVersionOrBuilder();
/**
* .google.protobuf.StringValue md5 = 6;
* @return Whether the md5 field is set.
*/
boolean hasMd5();
/**
* .google.protobuf.StringValue md5 = 6;
* @return The md5.
*/
com.google.protobuf.StringValue getMd5();
/**
* .google.protobuf.StringValue md5 = 6;
*/
com.google.protobuf.StringValueOrBuilder getMd5OrBuilder();
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
java.util.List
getTagsList();
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index);
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
int getTagsCount();
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList();
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index);
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
* @return Whether the encrypted field is set.
*/
boolean hasEncrypted();
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
* @return The encrypted.
*/
com.google.protobuf.BoolValue getEncrypted();
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
*/
com.google.protobuf.BoolValueOrBuilder getEncryptedOrBuilder();
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
* @return Whether the publicKey field is set.
*/
boolean hasPublicKey();
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
* @return The publicKey.
*/
com.google.protobuf.StringValue getPublicKey();
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
*/
com.google.protobuf.StringValueOrBuilder getPublicKeyOrBuilder();
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
* @return The name.
*/
com.google.protobuf.StringValue getName();
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
*/
com.google.protobuf.StringValueOrBuilder getNameOrBuilder();
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
* @return Whether the releaseTime field is set.
*/
boolean hasReleaseTime();
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
* @return The releaseTime.
*/
com.google.protobuf.StringValue getReleaseTime();
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
*/
com.google.protobuf.StringValueOrBuilder getReleaseTimeOrBuilder();
}
/**
* Protobuf type {@code v1.ClientConfigFileInfo}
*/
public static final class ClientConfigFileInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ClientConfigFileInfo)
ClientConfigFileInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClientConfigFileInfo.newBuilder() to construct.
private ClientConfigFileInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ClientConfigFileInfo() {
tags_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ClientConfigFileInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientConfigFileInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientConfigFileInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder.class);
}
public static final int NAMESPACE_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue namespace_;
/**
* .google.protobuf.StringValue namespace = 1;
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 1;
* @return The namespace.
*/
@java.lang.Override
public com.google.protobuf.StringValue getNamespace() {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
return getNamespace();
}
public static final int GROUP_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue group_;
/**
* .google.protobuf.StringValue group = 2;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return group_ != null;
}
/**
* .google.protobuf.StringValue group = 2;
* @return The group.
*/
@java.lang.Override
public com.google.protobuf.StringValue getGroup() {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
/**
* .google.protobuf.StringValue group = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
return getGroup();
}
public static final int FILE_NAME_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue fileName_;
/**
* .google.protobuf.StringValue file_name = 3;
* @return Whether the fileName field is set.
*/
@java.lang.Override
public boolean hasFileName() {
return fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 3;
* @return The fileName.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFileName() {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
return getFileName();
}
public static final int CONTENT_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue content_;
/**
* .google.protobuf.StringValue content = 4;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return content_ != null;
}
/**
* .google.protobuf.StringValue content = 4;
* @return The content.
*/
@java.lang.Override
public com.google.protobuf.StringValue getContent() {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
/**
* .google.protobuf.StringValue content = 4;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
return getContent();
}
public static final int VERSION_FIELD_NUMBER = 5;
private com.google.protobuf.UInt64Value version_;
/**
* .google.protobuf.UInt64Value version = 5;
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return version_ != null;
}
/**
* .google.protobuf.UInt64Value version = 5;
* @return The version.
*/
@java.lang.Override
public com.google.protobuf.UInt64Value getVersion() {
return version_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : version_;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
@java.lang.Override
public com.google.protobuf.UInt64ValueOrBuilder getVersionOrBuilder() {
return getVersion();
}
public static final int MD5_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue md5_;
/**
* .google.protobuf.StringValue md5 = 6;
* @return Whether the md5 field is set.
*/
@java.lang.Override
public boolean hasMd5() {
return md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 6;
* @return The md5.
*/
@java.lang.Override
public com.google.protobuf.StringValue getMd5() {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
return getMd5();
}
public static final int TAGS_FIELD_NUMBER = 7;
private java.util.List tags_;
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
@java.lang.Override
public java.util.List getTagsList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
@java.lang.Override
public int getTagsCount() {
return tags_.size();
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
return tags_.get(index);
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
return tags_.get(index);
}
public static final int ENCRYPTED_FIELD_NUMBER = 8;
private com.google.protobuf.BoolValue encrypted_;
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
* @return Whether the encrypted field is set.
*/
@java.lang.Override
public boolean hasEncrypted() {
return encrypted_ != null;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
* @return The encrypted.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getEncrypted() {
return encrypted_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : encrypted_;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getEncryptedOrBuilder() {
return getEncrypted();
}
public static final int PUBLIC_KEY_FIELD_NUMBER = 9;
private com.google.protobuf.StringValue publicKey_;
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
* @return Whether the publicKey field is set.
*/
@java.lang.Override
public boolean hasPublicKey() {
return publicKey_ != null;
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
* @return The publicKey.
*/
@java.lang.Override
public com.google.protobuf.StringValue getPublicKey() {
return publicKey_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : publicKey_;
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getPublicKeyOrBuilder() {
return getPublicKey();
}
public static final int NAME_FIELD_NUMBER = 10;
private com.google.protobuf.StringValue name_;
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return name_ != null;
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
* @return The name.
*/
@java.lang.Override
public com.google.protobuf.StringValue getName() {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
return getName();
}
public static final int RELEASE_TIME_FIELD_NUMBER = 11;
private com.google.protobuf.StringValue releaseTime_;
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
* @return Whether the releaseTime field is set.
*/
@java.lang.Override
public boolean hasReleaseTime() {
return releaseTime_ != null;
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
* @return The releaseTime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getReleaseTime() {
return releaseTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseTime_;
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getReleaseTimeOrBuilder() {
return getReleaseTime();
}
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 (namespace_ != null) {
output.writeMessage(1, getNamespace());
}
if (group_ != null) {
output.writeMessage(2, getGroup());
}
if (fileName_ != null) {
output.writeMessage(3, getFileName());
}
if (content_ != null) {
output.writeMessage(4, getContent());
}
if (version_ != null) {
output.writeMessage(5, getVersion());
}
if (md5_ != null) {
output.writeMessage(6, getMd5());
}
for (int i = 0; i < tags_.size(); i++) {
output.writeMessage(7, tags_.get(i));
}
if (encrypted_ != null) {
output.writeMessage(8, getEncrypted());
}
if (publicKey_ != null) {
output.writeMessage(9, getPublicKey());
}
if (name_ != null) {
output.writeMessage(10, getName());
}
if (releaseTime_ != null) {
output.writeMessage(11, getReleaseTime());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (namespace_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getNamespace());
}
if (group_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getGroup());
}
if (fileName_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getFileName());
}
if (content_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getContent());
}
if (version_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getVersion());
}
if (md5_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getMd5());
}
for (int i = 0; i < tags_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, tags_.get(i));
}
if (encrypted_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getEncrypted());
}
if (publicKey_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getPublicKey());
}
if (name_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getName());
}
if (releaseTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getReleaseTime());
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo) obj;
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasFileName() != other.hasFileName()) return false;
if (hasFileName()) {
if (!getFileName()
.equals(other.getFileName())) return false;
}
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (hasVersion() != other.hasVersion()) return false;
if (hasVersion()) {
if (!getVersion()
.equals(other.getVersion())) return false;
}
if (hasMd5() != other.hasMd5()) return false;
if (hasMd5()) {
if (!getMd5()
.equals(other.getMd5())) return false;
}
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasEncrypted() != other.hasEncrypted()) return false;
if (hasEncrypted()) {
if (!getEncrypted()
.equals(other.getEncrypted())) return false;
}
if (hasPublicKey() != other.hasPublicKey()) return false;
if (hasPublicKey()) {
if (!getPublicKey()
.equals(other.getPublicKey())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasReleaseTime() != other.hasReleaseTime()) return false;
if (hasReleaseTime()) {
if (!getReleaseTime()
.equals(other.getReleaseTime())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasFileName()) {
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
}
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + getVersion().hashCode();
}
if (hasMd5()) {
hash = (37 * hash) + MD5_FIELD_NUMBER;
hash = (53 * hash) + getMd5().hashCode();
}
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasEncrypted()) {
hash = (37 * hash) + ENCRYPTED_FIELD_NUMBER;
hash = (53 * hash) + getEncrypted().hashCode();
}
if (hasPublicKey()) {
hash = (37 * hash) + PUBLIC_KEY_FIELD_NUMBER;
hash = (53 * hash) + getPublicKey().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasReleaseTime()) {
hash = (37 * hash) + RELEASE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getReleaseTime().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo 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 v1.ClientConfigFileInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ClientConfigFileInfo)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientConfigFileInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientConfigFileInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (namespaceBuilder_ == null) {
namespace_ = null;
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
if (groupBuilder_ == null) {
group_ = null;
} else {
group_ = null;
groupBuilder_ = null;
}
if (fileNameBuilder_ == null) {
fileName_ = null;
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
if (contentBuilder_ == null) {
content_ = null;
} else {
content_ = null;
contentBuilder_ = null;
}
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
if (md5Builder_ == null) {
md5_ = null;
} else {
md5_ = null;
md5Builder_ = null;
}
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
} else {
tags_ = null;
tagsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (encryptedBuilder_ == null) {
encrypted_ = null;
} else {
encrypted_ = null;
encryptedBuilder_ = null;
}
if (publicKeyBuilder_ == null) {
publicKey_ = null;
} else {
publicKey_ = null;
publicKeyBuilder_ = null;
}
if (nameBuilder_ == null) {
name_ = null;
} else {
name_ = null;
nameBuilder_ = null;
}
if (releaseTimeBuilder_ == null) {
releaseTime_ = null;
} else {
releaseTime_ = null;
releaseTimeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientConfigFileInfo_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo(this);
int from_bitField0_ = bitField0_;
if (namespaceBuilder_ == null) {
result.namespace_ = namespace_;
} else {
result.namespace_ = namespaceBuilder_.build();
}
if (groupBuilder_ == null) {
result.group_ = group_;
} else {
result.group_ = groupBuilder_.build();
}
if (fileNameBuilder_ == null) {
result.fileName_ = fileName_;
} else {
result.fileName_ = fileNameBuilder_.build();
}
if (contentBuilder_ == null) {
result.content_ = content_;
} else {
result.content_ = contentBuilder_.build();
}
if (versionBuilder_ == null) {
result.version_ = version_;
} else {
result.version_ = versionBuilder_.build();
}
if (md5Builder_ == null) {
result.md5_ = md5_;
} else {
result.md5_ = md5Builder_.build();
}
if (tagsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tags_ = java.util.Collections.unmodifiableList(tags_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.tags_ = tags_;
} else {
result.tags_ = tagsBuilder_.build();
}
if (encryptedBuilder_ == null) {
result.encrypted_ = encrypted_;
} else {
result.encrypted_ = encryptedBuilder_.build();
}
if (publicKeyBuilder_ == null) {
result.publicKey_ = publicKey_;
} else {
result.publicKey_ = publicKeyBuilder_.build();
}
if (nameBuilder_ == null) {
result.name_ = name_;
} else {
result.name_ = nameBuilder_.build();
}
if (releaseTimeBuilder_ == null) {
result.releaseTime_ = releaseTime_;
} else {
result.releaseTime_ = releaseTimeBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance()) return this;
if (other.hasNamespace()) {
mergeNamespace(other.getNamespace());
}
if (other.hasGroup()) {
mergeGroup(other.getGroup());
}
if (other.hasFileName()) {
mergeFileName(other.getFileName());
}
if (other.hasContent()) {
mergeContent(other.getContent());
}
if (other.hasVersion()) {
mergeVersion(other.getVersion());
}
if (other.hasMd5()) {
mergeMd5(other.getMd5());
}
if (tagsBuilder_ == null) {
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
} else {
if (!other.tags_.isEmpty()) {
if (tagsBuilder_.isEmpty()) {
tagsBuilder_.dispose();
tagsBuilder_ = null;
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
tagsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTagsFieldBuilder() : null;
} else {
tagsBuilder_.addAllMessages(other.tags_);
}
}
}
if (other.hasEncrypted()) {
mergeEncrypted(other.getEncrypted());
}
if (other.hasPublicKey()) {
mergePublicKey(other.getPublicKey());
}
if (other.hasName()) {
mergeName(other.getName());
}
if (other.hasReleaseTime()) {
mergeReleaseTime(other.getReleaseTime());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getNamespaceFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getGroupFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getFileNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getContentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getVersionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
input.readMessage(
getMd5FieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 50
case 58: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.parser(),
extensionRegistry);
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(m);
} else {
tagsBuilder_.addMessage(m);
}
break;
} // case 58
case 66: {
input.readMessage(
getEncryptedFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 66
case 74: {
input.readMessage(
getPublicKeyFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 74
case 82: {
input.readMessage(
getNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 82
case 90: {
input.readMessage(
getReleaseTimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 90
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.StringValue namespace_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> namespaceBuilder_;
/**
* .google.protobuf.StringValue namespace = 1;
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return namespaceBuilder_ != null || namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 1;
* @return The namespace.
*/
public com.google.protobuf.StringValue getNamespace() {
if (namespaceBuilder_ == null) {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
} else {
return namespaceBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder setNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
namespace_ = value;
onChanged();
} else {
namespaceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder setNamespace(
com.google.protobuf.StringValue.Builder builderForValue) {
if (namespaceBuilder_ == null) {
namespace_ = builderForValue.build();
onChanged();
} else {
namespaceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder mergeNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (namespace_ != null) {
namespace_ =
com.google.protobuf.StringValue.newBuilder(namespace_).mergeFrom(value).buildPartial();
} else {
namespace_ = value;
}
onChanged();
} else {
namespaceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder clearNamespace() {
if (namespaceBuilder_ == null) {
namespace_ = null;
onChanged();
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public com.google.protobuf.StringValue.Builder getNamespaceBuilder() {
onChanged();
return getNamespaceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
if (namespaceBuilder_ != null) {
return namespaceBuilder_.getMessageOrBuilder();
} else {
return namespace_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNamespaceFieldBuilder() {
if (namespaceBuilder_ == null) {
namespaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getNamespace(),
getParentForChildren(),
isClean());
namespace_ = null;
}
return namespaceBuilder_;
}
private com.google.protobuf.StringValue group_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> groupBuilder_;
/**
* .google.protobuf.StringValue group = 2;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
}
/**
* .google.protobuf.StringValue group = 2;
* @return The group.
*/
public com.google.protobuf.StringValue getGroup() {
if (groupBuilder_ == null) {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
} else {
return groupBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue group = 2;
*/
public Builder setGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
group_ = value;
onChanged();
} else {
groupBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 2;
*/
public Builder setGroup(
com.google.protobuf.StringValue.Builder builderForValue) {
if (groupBuilder_ == null) {
group_ = builderForValue.build();
onChanged();
} else {
groupBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue group = 2;
*/
public Builder mergeGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (group_ != null) {
group_ =
com.google.protobuf.StringValue.newBuilder(group_).mergeFrom(value).buildPartial();
} else {
group_ = value;
}
onChanged();
} else {
groupBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 2;
*/
public Builder clearGroup() {
if (groupBuilder_ == null) {
group_ = null;
onChanged();
} else {
group_ = null;
groupBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue group = 2;
*/
public com.google.protobuf.StringValue.Builder getGroupBuilder() {
onChanged();
return getGroupFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue group = 2;
*/
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
if (groupBuilder_ != null) {
return groupBuilder_.getMessageOrBuilder();
} else {
return group_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
}
/**
* .google.protobuf.StringValue group = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getGroupFieldBuilder() {
if (groupBuilder_ == null) {
groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getGroup(),
getParentForChildren(),
isClean());
group_ = null;
}
return groupBuilder_;
}
private com.google.protobuf.StringValue fileName_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> fileNameBuilder_;
/**
* .google.protobuf.StringValue file_name = 3;
* @return Whether the fileName field is set.
*/
public boolean hasFileName() {
return fileNameBuilder_ != null || fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 3;
* @return The fileName.
*/
public com.google.protobuf.StringValue getFileName() {
if (fileNameBuilder_ == null) {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
} else {
return fileNameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public Builder setFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileName_ = value;
onChanged();
} else {
fileNameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public Builder setFileName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (fileNameBuilder_ == null) {
fileName_ = builderForValue.build();
onChanged();
} else {
fileNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public Builder mergeFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (fileName_ != null) {
fileName_ =
com.google.protobuf.StringValue.newBuilder(fileName_).mergeFrom(value).buildPartial();
} else {
fileName_ = value;
}
onChanged();
} else {
fileNameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public Builder clearFileName() {
if (fileNameBuilder_ == null) {
fileName_ = null;
onChanged();
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public com.google.protobuf.StringValue.Builder getFileNameBuilder() {
onChanged();
return getFileNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
if (fileNameBuilder_ != null) {
return fileNameBuilder_.getMessageOrBuilder();
} else {
return fileName_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
}
/**
* .google.protobuf.StringValue file_name = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFileNameFieldBuilder() {
if (fileNameBuilder_ == null) {
fileNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFileName(),
getParentForChildren(),
isClean());
fileName_ = null;
}
return fileNameBuilder_;
}
private com.google.protobuf.StringValue content_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> contentBuilder_;
/**
* .google.protobuf.StringValue content = 4;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return contentBuilder_ != null || content_ != null;
}
/**
* .google.protobuf.StringValue content = 4;
* @return The content.
*/
public com.google.protobuf.StringValue getContent() {
if (contentBuilder_ == null) {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
} else {
return contentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue content = 4;
*/
public Builder setContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
} else {
contentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 4;
*/
public Builder setContent(
com.google.protobuf.StringValue.Builder builderForValue) {
if (contentBuilder_ == null) {
content_ = builderForValue.build();
onChanged();
} else {
contentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue content = 4;
*/
public Builder mergeContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (content_ != null) {
content_ =
com.google.protobuf.StringValue.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
onChanged();
} else {
contentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 4;
*/
public Builder clearContent() {
if (contentBuilder_ == null) {
content_ = null;
onChanged();
} else {
content_ = null;
contentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue content = 4;
*/
public com.google.protobuf.StringValue.Builder getContentBuilder() {
onChanged();
return getContentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue content = 4;
*/
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
if (contentBuilder_ != null) {
return contentBuilder_.getMessageOrBuilder();
} else {
return content_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
}
/**
* .google.protobuf.StringValue content = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getContentFieldBuilder() {
if (contentBuilder_ == null) {
contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getContent(),
getParentForChildren(),
isClean());
content_ = null;
}
return contentBuilder_;
}
private com.google.protobuf.UInt64Value version_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> versionBuilder_;
/**
* .google.protobuf.UInt64Value version = 5;
* @return Whether the version field is set.
*/
public boolean hasVersion() {
return versionBuilder_ != null || version_ != null;
}
/**
* .google.protobuf.UInt64Value version = 5;
* @return The version.
*/
public com.google.protobuf.UInt64Value getVersion() {
if (versionBuilder_ == null) {
return version_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : version_;
} else {
return versionBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public Builder setVersion(com.google.protobuf.UInt64Value value) {
if (versionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
} else {
versionBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public Builder setVersion(
com.google.protobuf.UInt64Value.Builder builderForValue) {
if (versionBuilder_ == null) {
version_ = builderForValue.build();
onChanged();
} else {
versionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public Builder mergeVersion(com.google.protobuf.UInt64Value value) {
if (versionBuilder_ == null) {
if (version_ != null) {
version_ =
com.google.protobuf.UInt64Value.newBuilder(version_).mergeFrom(value).buildPartial();
} else {
version_ = value;
}
onChanged();
} else {
versionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public Builder clearVersion() {
if (versionBuilder_ == null) {
version_ = null;
onChanged();
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public com.google.protobuf.UInt64Value.Builder getVersionBuilder() {
onChanged();
return getVersionFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
public com.google.protobuf.UInt64ValueOrBuilder getVersionOrBuilder() {
if (versionBuilder_ != null) {
return versionBuilder_.getMessageOrBuilder();
} else {
return version_ == null ?
com.google.protobuf.UInt64Value.getDefaultInstance() : version_;
}
}
/**
* .google.protobuf.UInt64Value version = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
private com.google.protobuf.StringValue md5_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> md5Builder_;
/**
* .google.protobuf.StringValue md5 = 6;
* @return Whether the md5 field is set.
*/
public boolean hasMd5() {
return md5Builder_ != null || md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 6;
* @return The md5.
*/
public com.google.protobuf.StringValue getMd5() {
if (md5Builder_ == null) {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
} else {
return md5Builder_.getMessage();
}
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public Builder setMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
md5_ = value;
onChanged();
} else {
md5Builder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public Builder setMd5(
com.google.protobuf.StringValue.Builder builderForValue) {
if (md5Builder_ == null) {
md5_ = builderForValue.build();
onChanged();
} else {
md5Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public Builder mergeMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (md5_ != null) {
md5_ =
com.google.protobuf.StringValue.newBuilder(md5_).mergeFrom(value).buildPartial();
} else {
md5_ = value;
}
onChanged();
} else {
md5Builder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public Builder clearMd5() {
if (md5Builder_ == null) {
md5_ = null;
onChanged();
} else {
md5_ = null;
md5Builder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public com.google.protobuf.StringValue.Builder getMd5Builder() {
onChanged();
return getMd5FieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
if (md5Builder_ != null) {
return md5Builder_.getMessageOrBuilder();
} else {
return md5_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
}
/**
* .google.protobuf.StringValue md5 = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getMd5FieldBuilder() {
if (md5Builder_ == null) {
md5Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getMd5(),
getParentForChildren(),
isClean());
md5_ = null;
}
return md5Builder_;
}
private java.util.List tags_ =
java.util.Collections.emptyList();
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
tags_ = new java.util.ArrayList(tags_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder> tagsBuilder_;
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public java.util.List getTagsList() {
if (tagsBuilder_ == null) {
return java.util.Collections.unmodifiableList(tags_);
} else {
return tagsBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public int getTagsCount() {
if (tagsBuilder_ == null) {
return tags_.size();
} else {
return tagsBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
if (tagsBuilder_ == null) {
return tags_.get(index);
} else {
return tagsBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
} else {
tagsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.set(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public Builder addTags(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
} else {
tagsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(index, value);
onChanged();
} else {
tagsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public Builder addTags(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public Builder addAllTags(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag> values) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
} else {
tagsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public Builder clearTags() {
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
tagsBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public Builder removeTags(int index) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.remove(index);
onChanged();
} else {
tagsBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder getTagsBuilder(
int index) {
return getTagsFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
if (tagsBuilder_ == null) {
return tags_.get(index); } else {
return tagsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
if (tagsBuilder_ != null) {
return tagsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tags_);
}
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder() {
return getTagsFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder(
int index) {
return getTagsFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 7;
*/
public java.util.List
getTagsBuilderList() {
return getTagsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsFieldBuilder() {
if (tagsBuilder_ == null) {
tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>(
tags_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
tags_ = null;
}
return tagsBuilder_;
}
private com.google.protobuf.BoolValue encrypted_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> encryptedBuilder_;
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
* @return Whether the encrypted field is set.
*/
public boolean hasEncrypted() {
return encryptedBuilder_ != null || encrypted_ != null;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
* @return The encrypted.
*/
public com.google.protobuf.BoolValue getEncrypted() {
if (encryptedBuilder_ == null) {
return encrypted_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : encrypted_;
} else {
return encryptedBuilder_.getMessage();
}
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
*/
public Builder setEncrypted(com.google.protobuf.BoolValue value) {
if (encryptedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
encrypted_ = value;
onChanged();
} else {
encryptedBuilder_.setMessage(value);
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
*/
public Builder setEncrypted(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (encryptedBuilder_ == null) {
encrypted_ = builderForValue.build();
onChanged();
} else {
encryptedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
*/
public Builder mergeEncrypted(com.google.protobuf.BoolValue value) {
if (encryptedBuilder_ == null) {
if (encrypted_ != null) {
encrypted_ =
com.google.protobuf.BoolValue.newBuilder(encrypted_).mergeFrom(value).buildPartial();
} else {
encrypted_ = value;
}
onChanged();
} else {
encryptedBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
*/
public Builder clearEncrypted() {
if (encryptedBuilder_ == null) {
encrypted_ = null;
onChanged();
} else {
encrypted_ = null;
encryptedBuilder_ = null;
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
*/
public com.google.protobuf.BoolValue.Builder getEncryptedBuilder() {
onChanged();
return getEncryptedFieldBuilder().getBuilder();
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
*/
public com.google.protobuf.BoolValueOrBuilder getEncryptedOrBuilder() {
if (encryptedBuilder_ != null) {
return encryptedBuilder_.getMessageOrBuilder();
} else {
return encrypted_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : encrypted_;
}
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getEncryptedFieldBuilder() {
if (encryptedBuilder_ == null) {
encryptedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getEncrypted(),
getParentForChildren(),
isClean());
encrypted_ = null;
}
return encryptedBuilder_;
}
private com.google.protobuf.StringValue publicKey_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> publicKeyBuilder_;
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
* @return Whether the publicKey field is set.
*/
public boolean hasPublicKey() {
return publicKeyBuilder_ != null || publicKey_ != null;
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
* @return The publicKey.
*/
public com.google.protobuf.StringValue getPublicKey() {
if (publicKeyBuilder_ == null) {
return publicKey_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : publicKey_;
} else {
return publicKeyBuilder_.getMessage();
}
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
*/
public Builder setPublicKey(com.google.protobuf.StringValue value) {
if (publicKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
publicKey_ = value;
onChanged();
} else {
publicKeyBuilder_.setMessage(value);
}
return this;
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
*/
public Builder setPublicKey(
com.google.protobuf.StringValue.Builder builderForValue) {
if (publicKeyBuilder_ == null) {
publicKey_ = builderForValue.build();
onChanged();
} else {
publicKeyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
*/
public Builder mergePublicKey(com.google.protobuf.StringValue value) {
if (publicKeyBuilder_ == null) {
if (publicKey_ != null) {
publicKey_ =
com.google.protobuf.StringValue.newBuilder(publicKey_).mergeFrom(value).buildPartial();
} else {
publicKey_ = value;
}
onChanged();
} else {
publicKeyBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
*/
public Builder clearPublicKey() {
if (publicKeyBuilder_ == null) {
publicKey_ = null;
onChanged();
} else {
publicKey_ = null;
publicKeyBuilder_ = null;
}
return this;
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
*/
public com.google.protobuf.StringValue.Builder getPublicKeyBuilder() {
onChanged();
return getPublicKeyFieldBuilder().getBuilder();
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
*/
public com.google.protobuf.StringValueOrBuilder getPublicKeyOrBuilder() {
if (publicKeyBuilder_ != null) {
return publicKeyBuilder_.getMessageOrBuilder();
} else {
return publicKey_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : publicKey_;
}
}
/**
*
* 公钥,用于加密数据密钥
*
*
* .google.protobuf.StringValue public_key = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getPublicKeyFieldBuilder() {
if (publicKeyBuilder_ == null) {
publicKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getPublicKey(),
getParentForChildren(),
isClean());
publicKey_ = null;
}
return publicKeyBuilder_;
}
private com.google.protobuf.StringValue name_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> nameBuilder_;
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
* @return Whether the name field is set.
*/
public boolean hasName() {
return nameBuilder_ != null || name_ != null;
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
* @return The name.
*/
public com.google.protobuf.StringValue getName() {
if (nameBuilder_ == null) {
return name_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : name_;
} else {
return nameBuilder_.getMessage();
}
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
*/
public Builder setName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
} else {
nameBuilder_.setMessage(value);
}
return this;
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
*/
public Builder setName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (nameBuilder_ == null) {
name_ = builderForValue.build();
onChanged();
} else {
nameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
*/
public Builder mergeName(com.google.protobuf.StringValue value) {
if (nameBuilder_ == null) {
if (name_ != null) {
name_ =
com.google.protobuf.StringValue.newBuilder(name_).mergeFrom(value).buildPartial();
} else {
name_ = value;
}
onChanged();
} else {
nameBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
*/
public Builder clearName() {
if (nameBuilder_ == null) {
name_ = null;
onChanged();
} else {
name_ = null;
nameBuilder_ = null;
}
return this;
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
*/
public com.google.protobuf.StringValue.Builder getNameBuilder() {
onChanged();
return getNameFieldBuilder().getBuilder();
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
*/
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
if (nameBuilder_ != null) {
return nameBuilder_.getMessageOrBuilder();
} else {
return name_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : name_;
}
}
/**
*
* 配置文件版本名称
*
*
* .google.protobuf.StringValue name = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNameFieldBuilder() {
if (nameBuilder_ == null) {
nameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getName(),
getParentForChildren(),
isClean());
name_ = null;
}
return nameBuilder_;
}
private com.google.protobuf.StringValue releaseTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> releaseTimeBuilder_;
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
* @return Whether the releaseTime field is set.
*/
public boolean hasReleaseTime() {
return releaseTimeBuilder_ != null || releaseTime_ != null;
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
* @return The releaseTime.
*/
public com.google.protobuf.StringValue getReleaseTime() {
if (releaseTimeBuilder_ == null) {
return releaseTime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseTime_;
} else {
return releaseTimeBuilder_.getMessage();
}
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
*/
public Builder setReleaseTime(com.google.protobuf.StringValue value) {
if (releaseTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
releaseTime_ = value;
onChanged();
} else {
releaseTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
*/
public Builder setReleaseTime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (releaseTimeBuilder_ == null) {
releaseTime_ = builderForValue.build();
onChanged();
} else {
releaseTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
*/
public Builder mergeReleaseTime(com.google.protobuf.StringValue value) {
if (releaseTimeBuilder_ == null) {
if (releaseTime_ != null) {
releaseTime_ =
com.google.protobuf.StringValue.newBuilder(releaseTime_).mergeFrom(value).buildPartial();
} else {
releaseTime_ = value;
}
onChanged();
} else {
releaseTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
*/
public Builder clearReleaseTime() {
if (releaseTimeBuilder_ == null) {
releaseTime_ = null;
onChanged();
} else {
releaseTime_ = null;
releaseTimeBuilder_ = null;
}
return this;
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
*/
public com.google.protobuf.StringValue.Builder getReleaseTimeBuilder() {
onChanged();
return getReleaseTimeFieldBuilder().getBuilder();
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
*/
public com.google.protobuf.StringValueOrBuilder getReleaseTimeOrBuilder() {
if (releaseTimeBuilder_ != null) {
return releaseTimeBuilder_.getMessageOrBuilder();
} else {
return releaseTime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : releaseTime_;
}
}
/**
*
* 配置文件的发布时间
*
*
* .google.protobuf.StringValue release_time = 11 [json_name = "release_time"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getReleaseTimeFieldBuilder() {
if (releaseTimeBuilder_ == null) {
releaseTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getReleaseTime(),
getParentForChildren(),
isClean());
releaseTime_ = null;
}
return releaseTimeBuilder_;
}
@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:v1.ClientConfigFileInfo)
}
// @@protoc_insertion_point(class_scope:v1.ClientConfigFileInfo)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ClientConfigFileInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ClientWatchConfigFileRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ClientWatchConfigFileRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue client_ip = 1;
* @return Whether the clientIp field is set.
*/
boolean hasClientIp();
/**
* .google.protobuf.StringValue client_ip = 1;
* @return The clientIp.
*/
com.google.protobuf.StringValue getClientIp();
/**
* .google.protobuf.StringValue client_ip = 1;
*/
com.google.protobuf.StringValueOrBuilder getClientIpOrBuilder();
/**
* .google.protobuf.StringValue service_name = 2;
* @return Whether the serviceName field is set.
*/
boolean hasServiceName();
/**
* .google.protobuf.StringValue service_name = 2;
* @return The serviceName.
*/
com.google.protobuf.StringValue getServiceName();
/**
* .google.protobuf.StringValue service_name = 2;
*/
com.google.protobuf.StringValueOrBuilder getServiceNameOrBuilder();
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
java.util.List
getWatchFilesList();
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getWatchFiles(int index);
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
int getWatchFilesCount();
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getWatchFilesOrBuilderList();
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getWatchFilesOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.ClientWatchConfigFileRequest}
*/
public static final class ClientWatchConfigFileRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ClientWatchConfigFileRequest)
ClientWatchConfigFileRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClientWatchConfigFileRequest.newBuilder() to construct.
private ClientWatchConfigFileRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ClientWatchConfigFileRequest() {
watchFiles_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ClientWatchConfigFileRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientWatchConfigFileRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientWatchConfigFileRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest.Builder.class);
}
public static final int CLIENT_IP_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue clientIp_;
/**
* .google.protobuf.StringValue client_ip = 1;
* @return Whether the clientIp field is set.
*/
@java.lang.Override
public boolean hasClientIp() {
return clientIp_ != null;
}
/**
* .google.protobuf.StringValue client_ip = 1;
* @return The clientIp.
*/
@java.lang.Override
public com.google.protobuf.StringValue getClientIp() {
return clientIp_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : clientIp_;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getClientIpOrBuilder() {
return getClientIp();
}
public static final int SERVICE_NAME_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue serviceName_;
/**
* .google.protobuf.StringValue service_name = 2;
* @return Whether the serviceName field is set.
*/
@java.lang.Override
public boolean hasServiceName() {
return serviceName_ != null;
}
/**
* .google.protobuf.StringValue service_name = 2;
* @return The serviceName.
*/
@java.lang.Override
public com.google.protobuf.StringValue getServiceName() {
return serviceName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : serviceName_;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getServiceNameOrBuilder() {
return getServiceName();
}
public static final int WATCH_FILES_FIELD_NUMBER = 3;
private java.util.List watchFiles_;
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
@java.lang.Override
public java.util.List getWatchFilesList() {
return watchFiles_;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getWatchFilesOrBuilderList() {
return watchFiles_;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
@java.lang.Override
public int getWatchFilesCount() {
return watchFiles_.size();
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getWatchFiles(int index) {
return watchFiles_.get(index);
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getWatchFilesOrBuilder(
int index) {
return watchFiles_.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 (clientIp_ != null) {
output.writeMessage(1, getClientIp());
}
if (serviceName_ != null) {
output.writeMessage(2, getServiceName());
}
for (int i = 0; i < watchFiles_.size(); i++) {
output.writeMessage(3, watchFiles_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (clientIp_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getClientIp());
}
if (serviceName_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getServiceName());
}
for (int i = 0; i < watchFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, watchFiles_.get(i));
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest) obj;
if (hasClientIp() != other.hasClientIp()) return false;
if (hasClientIp()) {
if (!getClientIp()
.equals(other.getClientIp())) return false;
}
if (hasServiceName() != other.hasServiceName()) return false;
if (hasServiceName()) {
if (!getServiceName()
.equals(other.getServiceName())) return false;
}
if (!getWatchFilesList()
.equals(other.getWatchFilesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasClientIp()) {
hash = (37 * hash) + CLIENT_IP_FIELD_NUMBER;
hash = (53 * hash) + getClientIp().hashCode();
}
if (hasServiceName()) {
hash = (37 * hash) + SERVICE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getServiceName().hashCode();
}
if (getWatchFilesCount() > 0) {
hash = (37 * hash) + WATCH_FILES_FIELD_NUMBER;
hash = (53 * hash) + getWatchFilesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest 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 v1.ClientWatchConfigFileRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ClientWatchConfigFileRequest)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientWatchConfigFileRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientWatchConfigFileRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (clientIpBuilder_ == null) {
clientIp_ = null;
} else {
clientIp_ = null;
clientIpBuilder_ = null;
}
if (serviceNameBuilder_ == null) {
serviceName_ = null;
} else {
serviceName_ = null;
serviceNameBuilder_ = null;
}
if (watchFilesBuilder_ == null) {
watchFiles_ = java.util.Collections.emptyList();
} else {
watchFiles_ = null;
watchFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ClientWatchConfigFileRequest_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest(this);
int from_bitField0_ = bitField0_;
if (clientIpBuilder_ == null) {
result.clientIp_ = clientIp_;
} else {
result.clientIp_ = clientIpBuilder_.build();
}
if (serviceNameBuilder_ == null) {
result.serviceName_ = serviceName_;
} else {
result.serviceName_ = serviceNameBuilder_.build();
}
if (watchFilesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
watchFiles_ = java.util.Collections.unmodifiableList(watchFiles_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.watchFiles_ = watchFiles_;
} else {
result.watchFiles_ = watchFilesBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest.getDefaultInstance()) return this;
if (other.hasClientIp()) {
mergeClientIp(other.getClientIp());
}
if (other.hasServiceName()) {
mergeServiceName(other.getServiceName());
}
if (watchFilesBuilder_ == null) {
if (!other.watchFiles_.isEmpty()) {
if (watchFiles_.isEmpty()) {
watchFiles_ = other.watchFiles_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureWatchFilesIsMutable();
watchFiles_.addAll(other.watchFiles_);
}
onChanged();
}
} else {
if (!other.watchFiles_.isEmpty()) {
if (watchFilesBuilder_.isEmpty()) {
watchFilesBuilder_.dispose();
watchFilesBuilder_ = null;
watchFiles_ = other.watchFiles_;
bitField0_ = (bitField0_ & ~0x00000001);
watchFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getWatchFilesFieldBuilder() : null;
} else {
watchFilesBuilder_.addAllMessages(other.watchFiles_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getClientIpFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getServiceNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.parser(),
extensionRegistry);
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
watchFiles_.add(m);
} else {
watchFilesBuilder_.addMessage(m);
}
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.StringValue clientIp_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> clientIpBuilder_;
/**
* .google.protobuf.StringValue client_ip = 1;
* @return Whether the clientIp field is set.
*/
public boolean hasClientIp() {
return clientIpBuilder_ != null || clientIp_ != null;
}
/**
* .google.protobuf.StringValue client_ip = 1;
* @return The clientIp.
*/
public com.google.protobuf.StringValue getClientIp() {
if (clientIpBuilder_ == null) {
return clientIp_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : clientIp_;
} else {
return clientIpBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public Builder setClientIp(com.google.protobuf.StringValue value) {
if (clientIpBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
clientIp_ = value;
onChanged();
} else {
clientIpBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public Builder setClientIp(
com.google.protobuf.StringValue.Builder builderForValue) {
if (clientIpBuilder_ == null) {
clientIp_ = builderForValue.build();
onChanged();
} else {
clientIpBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public Builder mergeClientIp(com.google.protobuf.StringValue value) {
if (clientIpBuilder_ == null) {
if (clientIp_ != null) {
clientIp_ =
com.google.protobuf.StringValue.newBuilder(clientIp_).mergeFrom(value).buildPartial();
} else {
clientIp_ = value;
}
onChanged();
} else {
clientIpBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public Builder clearClientIp() {
if (clientIpBuilder_ == null) {
clientIp_ = null;
onChanged();
} else {
clientIp_ = null;
clientIpBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public com.google.protobuf.StringValue.Builder getClientIpBuilder() {
onChanged();
return getClientIpFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
public com.google.protobuf.StringValueOrBuilder getClientIpOrBuilder() {
if (clientIpBuilder_ != null) {
return clientIpBuilder_.getMessageOrBuilder();
} else {
return clientIp_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : clientIp_;
}
}
/**
* .google.protobuf.StringValue client_ip = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getClientIpFieldBuilder() {
if (clientIpBuilder_ == null) {
clientIpBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getClientIp(),
getParentForChildren(),
isClean());
clientIp_ = null;
}
return clientIpBuilder_;
}
private com.google.protobuf.StringValue serviceName_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> serviceNameBuilder_;
/**
* .google.protobuf.StringValue service_name = 2;
* @return Whether the serviceName field is set.
*/
public boolean hasServiceName() {
return serviceNameBuilder_ != null || serviceName_ != null;
}
/**
* .google.protobuf.StringValue service_name = 2;
* @return The serviceName.
*/
public com.google.protobuf.StringValue getServiceName() {
if (serviceNameBuilder_ == null) {
return serviceName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : serviceName_;
} else {
return serviceNameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public Builder setServiceName(com.google.protobuf.StringValue value) {
if (serviceNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
serviceName_ = value;
onChanged();
} else {
serviceNameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public Builder setServiceName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (serviceNameBuilder_ == null) {
serviceName_ = builderForValue.build();
onChanged();
} else {
serviceNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public Builder mergeServiceName(com.google.protobuf.StringValue value) {
if (serviceNameBuilder_ == null) {
if (serviceName_ != null) {
serviceName_ =
com.google.protobuf.StringValue.newBuilder(serviceName_).mergeFrom(value).buildPartial();
} else {
serviceName_ = value;
}
onChanged();
} else {
serviceNameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public Builder clearServiceName() {
if (serviceNameBuilder_ == null) {
serviceName_ = null;
onChanged();
} else {
serviceName_ = null;
serviceNameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public com.google.protobuf.StringValue.Builder getServiceNameBuilder() {
onChanged();
return getServiceNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
public com.google.protobuf.StringValueOrBuilder getServiceNameOrBuilder() {
if (serviceNameBuilder_ != null) {
return serviceNameBuilder_.getMessageOrBuilder();
} else {
return serviceName_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : serviceName_;
}
}
/**
* .google.protobuf.StringValue service_name = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getServiceNameFieldBuilder() {
if (serviceNameBuilder_ == null) {
serviceNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getServiceName(),
getParentForChildren(),
isClean());
serviceName_ = null;
}
return serviceNameBuilder_;
}
private java.util.List watchFiles_ =
java.util.Collections.emptyList();
private void ensureWatchFilesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
watchFiles_ = new java.util.ArrayList(watchFiles_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder> watchFilesBuilder_;
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public java.util.List getWatchFilesList() {
if (watchFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(watchFiles_);
} else {
return watchFilesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public int getWatchFilesCount() {
if (watchFilesBuilder_ == null) {
return watchFiles_.size();
} else {
return watchFilesBuilder_.getCount();
}
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getWatchFiles(int index) {
if (watchFilesBuilder_ == null) {
return watchFiles_.get(index);
} else {
return watchFilesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public Builder setWatchFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (watchFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWatchFilesIsMutable();
watchFiles_.set(index, value);
onChanged();
} else {
watchFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public Builder setWatchFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
watchFiles_.set(index, builderForValue.build());
onChanged();
} else {
watchFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public Builder addWatchFiles(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (watchFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWatchFilesIsMutable();
watchFiles_.add(value);
onChanged();
} else {
watchFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public Builder addWatchFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (watchFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWatchFilesIsMutable();
watchFiles_.add(index, value);
onChanged();
} else {
watchFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public Builder addWatchFiles(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
watchFiles_.add(builderForValue.build());
onChanged();
} else {
watchFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public Builder addWatchFiles(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
watchFiles_.add(index, builderForValue.build());
onChanged();
} else {
watchFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public Builder addAllWatchFiles(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo> values) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, watchFiles_);
onChanged();
} else {
watchFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public Builder clearWatchFiles() {
if (watchFilesBuilder_ == null) {
watchFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
watchFilesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public Builder removeWatchFiles(int index) {
if (watchFilesBuilder_ == null) {
ensureWatchFilesIsMutable();
watchFiles_.remove(index);
onChanged();
} else {
watchFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder getWatchFilesBuilder(
int index) {
return getWatchFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getWatchFilesOrBuilder(
int index) {
if (watchFilesBuilder_ == null) {
return watchFiles_.get(index); } else {
return watchFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getWatchFilesOrBuilderList() {
if (watchFilesBuilder_ != null) {
return watchFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(watchFiles_);
}
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder addWatchFilesBuilder() {
return getWatchFilesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance());
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder addWatchFilesBuilder(
int index) {
return getWatchFilesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance());
}
/**
* repeated .v1.ClientConfigFileInfo watch_files = 3;
*/
public java.util.List
getWatchFilesBuilderList() {
return getWatchFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getWatchFilesFieldBuilder() {
if (watchFilesBuilder_ == null) {
watchFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>(
watchFiles_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
watchFiles_ = null;
}
return watchFilesBuilder_;
}
@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:v1.ClientWatchConfigFileRequest)
}
// @@protoc_insertion_point(class_scope:v1.ClientWatchConfigFileRequest)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ClientWatchConfigFileRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientWatchConfigFileRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigFileExportRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFileExportRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue namespace = 1;
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
* .google.protobuf.StringValue namespace = 1;
* @return The namespace.
*/
com.google.protobuf.StringValue getNamespace();
/**
* .google.protobuf.StringValue namespace = 1;
*/
com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder();
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
java.util.List
getGroupsList();
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
com.google.protobuf.StringValue getGroups(int index);
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
int getGroupsCount();
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
java.util.List extends com.google.protobuf.StringValueOrBuilder>
getGroupsOrBuilderList();
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
com.google.protobuf.StringValueOrBuilder getGroupsOrBuilder(
int index);
/**
* repeated .google.protobuf.StringValue names = 3;
*/
java.util.List
getNamesList();
/**
* repeated .google.protobuf.StringValue names = 3;
*/
com.google.protobuf.StringValue getNames(int index);
/**
* repeated .google.protobuf.StringValue names = 3;
*/
int getNamesCount();
/**
* repeated .google.protobuf.StringValue names = 3;
*/
java.util.List extends com.google.protobuf.StringValueOrBuilder>
getNamesOrBuilderList();
/**
* repeated .google.protobuf.StringValue names = 3;
*/
com.google.protobuf.StringValueOrBuilder getNamesOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.ConfigFileExportRequest}
*/
public static final class ConfigFileExportRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFileExportRequest)
ConfigFileExportRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFileExportRequest.newBuilder() to construct.
private ConfigFileExportRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigFileExportRequest() {
groups_ = java.util.Collections.emptyList();
names_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFileExportRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileExportRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileExportRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest.Builder.class);
}
public static final int NAMESPACE_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue namespace_;
/**
* .google.protobuf.StringValue namespace = 1;
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 1;
* @return The namespace.
*/
@java.lang.Override
public com.google.protobuf.StringValue getNamespace() {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
return getNamespace();
}
public static final int GROUPS_FIELD_NUMBER = 2;
private java.util.List groups_;
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
@java.lang.Override
public java.util.List getGroupsList() {
return groups_;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
@java.lang.Override
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getGroupsOrBuilderList() {
return groups_;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
@java.lang.Override
public int getGroupsCount() {
return groups_.size();
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValue getGroups(int index) {
return groups_.get(index);
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getGroupsOrBuilder(
int index) {
return groups_.get(index);
}
public static final int NAMES_FIELD_NUMBER = 3;
private java.util.List names_;
/**
* repeated .google.protobuf.StringValue names = 3;
*/
@java.lang.Override
public java.util.List getNamesList() {
return names_;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
@java.lang.Override
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getNamesOrBuilderList() {
return names_;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
@java.lang.Override
public int getNamesCount() {
return names_.size();
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValue getNames(int index) {
return names_.get(index);
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNamesOrBuilder(
int index) {
return names_.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 (namespace_ != null) {
output.writeMessage(1, getNamespace());
}
for (int i = 0; i < groups_.size(); i++) {
output.writeMessage(2, groups_.get(i));
}
for (int i = 0; i < names_.size(); i++) {
output.writeMessage(3, names_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (namespace_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getNamespace());
}
for (int i = 0; i < groups_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, groups_.get(i));
}
for (int i = 0; i < names_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, names_.get(i));
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest) obj;
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (!getGroupsList()
.equals(other.getGroupsList())) return false;
if (!getNamesList()
.equals(other.getNamesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (getGroupsCount() > 0) {
hash = (37 * hash) + GROUPS_FIELD_NUMBER;
hash = (53 * hash) + getGroupsList().hashCode();
}
if (getNamesCount() > 0) {
hash = (37 * hash) + NAMES_FIELD_NUMBER;
hash = (53 * hash) + getNamesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest 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 v1.ConfigFileExportRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFileExportRequest)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileExportRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileExportRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (namespaceBuilder_ == null) {
namespace_ = null;
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
if (groupsBuilder_ == null) {
groups_ = java.util.Collections.emptyList();
} else {
groups_ = null;
groupsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (namesBuilder_ == null) {
names_ = java.util.Collections.emptyList();
} else {
names_ = null;
namesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileExportRequest_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest(this);
int from_bitField0_ = bitField0_;
if (namespaceBuilder_ == null) {
result.namespace_ = namespace_;
} else {
result.namespace_ = namespaceBuilder_.build();
}
if (groupsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
groups_ = java.util.Collections.unmodifiableList(groups_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.groups_ = groups_;
} else {
result.groups_ = groupsBuilder_.build();
}
if (namesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
names_ = java.util.Collections.unmodifiableList(names_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.names_ = names_;
} else {
result.names_ = namesBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest.getDefaultInstance()) return this;
if (other.hasNamespace()) {
mergeNamespace(other.getNamespace());
}
if (groupsBuilder_ == null) {
if (!other.groups_.isEmpty()) {
if (groups_.isEmpty()) {
groups_ = other.groups_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureGroupsIsMutable();
groups_.addAll(other.groups_);
}
onChanged();
}
} else {
if (!other.groups_.isEmpty()) {
if (groupsBuilder_.isEmpty()) {
groupsBuilder_.dispose();
groupsBuilder_ = null;
groups_ = other.groups_;
bitField0_ = (bitField0_ & ~0x00000001);
groupsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupsFieldBuilder() : null;
} else {
groupsBuilder_.addAllMessages(other.groups_);
}
}
}
if (namesBuilder_ == null) {
if (!other.names_.isEmpty()) {
if (names_.isEmpty()) {
names_ = other.names_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureNamesIsMutable();
names_.addAll(other.names_);
}
onChanged();
}
} else {
if (!other.names_.isEmpty()) {
if (namesBuilder_.isEmpty()) {
namesBuilder_.dispose();
namesBuilder_ = null;
names_ = other.names_;
bitField0_ = (bitField0_ & ~0x00000002);
namesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getNamesFieldBuilder() : null;
} else {
namesBuilder_.addAllMessages(other.names_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getNamespaceFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
com.google.protobuf.StringValue m =
input.readMessage(
com.google.protobuf.StringValue.parser(),
extensionRegistry);
if (groupsBuilder_ == null) {
ensureGroupsIsMutable();
groups_.add(m);
} else {
groupsBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
com.google.protobuf.StringValue m =
input.readMessage(
com.google.protobuf.StringValue.parser(),
extensionRegistry);
if (namesBuilder_ == null) {
ensureNamesIsMutable();
names_.add(m);
} else {
namesBuilder_.addMessage(m);
}
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.StringValue namespace_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> namespaceBuilder_;
/**
* .google.protobuf.StringValue namespace = 1;
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return namespaceBuilder_ != null || namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 1;
* @return The namespace.
*/
public com.google.protobuf.StringValue getNamespace() {
if (namespaceBuilder_ == null) {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
} else {
return namespaceBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder setNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
namespace_ = value;
onChanged();
} else {
namespaceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder setNamespace(
com.google.protobuf.StringValue.Builder builderForValue) {
if (namespaceBuilder_ == null) {
namespace_ = builderForValue.build();
onChanged();
} else {
namespaceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder mergeNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (namespace_ != null) {
namespace_ =
com.google.protobuf.StringValue.newBuilder(namespace_).mergeFrom(value).buildPartial();
} else {
namespace_ = value;
}
onChanged();
} else {
namespaceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public Builder clearNamespace() {
if (namespaceBuilder_ == null) {
namespace_ = null;
onChanged();
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public com.google.protobuf.StringValue.Builder getNamespaceBuilder() {
onChanged();
return getNamespaceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
if (namespaceBuilder_ != null) {
return namespaceBuilder_.getMessageOrBuilder();
} else {
return namespace_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
}
/**
* .google.protobuf.StringValue namespace = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNamespaceFieldBuilder() {
if (namespaceBuilder_ == null) {
namespaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getNamespace(),
getParentForChildren(),
isClean());
namespace_ = null;
}
return namespaceBuilder_;
}
private java.util.List groups_ =
java.util.Collections.emptyList();
private void ensureGroupsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
groups_ = new java.util.ArrayList(groups_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> groupsBuilder_;
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public java.util.List getGroupsList() {
if (groupsBuilder_ == null) {
return java.util.Collections.unmodifiableList(groups_);
} else {
return groupsBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public int getGroupsCount() {
if (groupsBuilder_ == null) {
return groups_.size();
} else {
return groupsBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public com.google.protobuf.StringValue getGroups(int index) {
if (groupsBuilder_ == null) {
return groups_.get(index);
} else {
return groupsBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public Builder setGroups(
int index, com.google.protobuf.StringValue value) {
if (groupsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupsIsMutable();
groups_.set(index, value);
onChanged();
} else {
groupsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public Builder setGroups(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (groupsBuilder_ == null) {
ensureGroupsIsMutable();
groups_.set(index, builderForValue.build());
onChanged();
} else {
groupsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public Builder addGroups(com.google.protobuf.StringValue value) {
if (groupsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupsIsMutable();
groups_.add(value);
onChanged();
} else {
groupsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public Builder addGroups(
int index, com.google.protobuf.StringValue value) {
if (groupsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupsIsMutable();
groups_.add(index, value);
onChanged();
} else {
groupsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public Builder addGroups(
com.google.protobuf.StringValue.Builder builderForValue) {
if (groupsBuilder_ == null) {
ensureGroupsIsMutable();
groups_.add(builderForValue.build());
onChanged();
} else {
groupsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public Builder addGroups(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (groupsBuilder_ == null) {
ensureGroupsIsMutable();
groups_.add(index, builderForValue.build());
onChanged();
} else {
groupsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public Builder addAllGroups(
java.lang.Iterable extends com.google.protobuf.StringValue> values) {
if (groupsBuilder_ == null) {
ensureGroupsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, groups_);
onChanged();
} else {
groupsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public Builder clearGroups() {
if (groupsBuilder_ == null) {
groups_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
groupsBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public Builder removeGroups(int index) {
if (groupsBuilder_ == null) {
ensureGroupsIsMutable();
groups_.remove(index);
onChanged();
} else {
groupsBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public com.google.protobuf.StringValue.Builder getGroupsBuilder(
int index) {
return getGroupsFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public com.google.protobuf.StringValueOrBuilder getGroupsOrBuilder(
int index) {
if (groupsBuilder_ == null) {
return groups_.get(index); } else {
return groupsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getGroupsOrBuilderList() {
if (groupsBuilder_ != null) {
return groupsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groups_);
}
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public com.google.protobuf.StringValue.Builder addGroupsBuilder() {
return getGroupsFieldBuilder().addBuilder(
com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public com.google.protobuf.StringValue.Builder addGroupsBuilder(
int index) {
return getGroupsFieldBuilder().addBuilder(
index, com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue groups = 2;
*/
public java.util.List
getGroupsBuilderList() {
return getGroupsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getGroupsFieldBuilder() {
if (groupsBuilder_ == null) {
groupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
groups_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
groups_ = null;
}
return groupsBuilder_;
}
private java.util.List names_ =
java.util.Collections.emptyList();
private void ensureNamesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
names_ = new java.util.ArrayList(names_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> namesBuilder_;
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public java.util.List getNamesList() {
if (namesBuilder_ == null) {
return java.util.Collections.unmodifiableList(names_);
} else {
return namesBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public int getNamesCount() {
if (namesBuilder_ == null) {
return names_.size();
} else {
return namesBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public com.google.protobuf.StringValue getNames(int index) {
if (namesBuilder_ == null) {
return names_.get(index);
} else {
return namesBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public Builder setNames(
int index, com.google.protobuf.StringValue value) {
if (namesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNamesIsMutable();
names_.set(index, value);
onChanged();
} else {
namesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public Builder setNames(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (namesBuilder_ == null) {
ensureNamesIsMutable();
names_.set(index, builderForValue.build());
onChanged();
} else {
namesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public Builder addNames(com.google.protobuf.StringValue value) {
if (namesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNamesIsMutable();
names_.add(value);
onChanged();
} else {
namesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public Builder addNames(
int index, com.google.protobuf.StringValue value) {
if (namesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNamesIsMutable();
names_.add(index, value);
onChanged();
} else {
namesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public Builder addNames(
com.google.protobuf.StringValue.Builder builderForValue) {
if (namesBuilder_ == null) {
ensureNamesIsMutable();
names_.add(builderForValue.build());
onChanged();
} else {
namesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public Builder addNames(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (namesBuilder_ == null) {
ensureNamesIsMutable();
names_.add(index, builderForValue.build());
onChanged();
} else {
namesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public Builder addAllNames(
java.lang.Iterable extends com.google.protobuf.StringValue> values) {
if (namesBuilder_ == null) {
ensureNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, names_);
onChanged();
} else {
namesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public Builder clearNames() {
if (namesBuilder_ == null) {
names_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
namesBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public Builder removeNames(int index) {
if (namesBuilder_ == null) {
ensureNamesIsMutable();
names_.remove(index);
onChanged();
} else {
namesBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public com.google.protobuf.StringValue.Builder getNamesBuilder(
int index) {
return getNamesFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public com.google.protobuf.StringValueOrBuilder getNamesOrBuilder(
int index) {
if (namesBuilder_ == null) {
return names_.get(index); } else {
return namesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getNamesOrBuilderList() {
if (namesBuilder_ != null) {
return namesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(names_);
}
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public com.google.protobuf.StringValue.Builder addNamesBuilder() {
return getNamesFieldBuilder().addBuilder(
com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public com.google.protobuf.StringValue.Builder addNamesBuilder(
int index) {
return getNamesFieldBuilder().addBuilder(
index, com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue names = 3;
*/
public java.util.List
getNamesBuilderList() {
return getNamesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNamesFieldBuilder() {
if (namesBuilder_ == null) {
namesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
names_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
names_ = null;
}
return namesBuilder_;
}
@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:v1.ConfigFileExportRequest)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFileExportRequest)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFileExportRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileExportRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigFilePublishInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFilePublishInfo)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
* @return Whether the releaseName field is set.
*/
boolean hasReleaseName();
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
* @return The releaseName.
*/
com.google.protobuf.StringValue getReleaseName();
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
*/
com.google.protobuf.StringValueOrBuilder getReleaseNameOrBuilder();
/**
* .google.protobuf.StringValue namespace = 2;
* @return Whether the namespace field is set.
*/
boolean hasNamespace();
/**
* .google.protobuf.StringValue namespace = 2;
* @return The namespace.
*/
com.google.protobuf.StringValue getNamespace();
/**
* .google.protobuf.StringValue namespace = 2;
*/
com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder();
/**
* .google.protobuf.StringValue group = 3;
* @return Whether the group field is set.
*/
boolean hasGroup();
/**
* .google.protobuf.StringValue group = 3;
* @return The group.
*/
com.google.protobuf.StringValue getGroup();
/**
* .google.protobuf.StringValue group = 3;
*/
com.google.protobuf.StringValueOrBuilder getGroupOrBuilder();
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
* @return Whether the fileName field is set.
*/
boolean hasFileName();
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
* @return The fileName.
*/
com.google.protobuf.StringValue getFileName();
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
*/
com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder();
/**
* .google.protobuf.StringValue content = 5;
* @return Whether the content field is set.
*/
boolean hasContent();
/**
* .google.protobuf.StringValue content = 5;
* @return The content.
*/
com.google.protobuf.StringValue getContent();
/**
* .google.protobuf.StringValue content = 5;
*/
com.google.protobuf.StringValueOrBuilder getContentOrBuilder();
/**
* .google.protobuf.StringValue comment = 6;
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* .google.protobuf.StringValue comment = 6;
* @return The comment.
*/
com.google.protobuf.StringValue getComment();
/**
* .google.protobuf.StringValue comment = 6;
*/
com.google.protobuf.StringValueOrBuilder getCommentOrBuilder();
/**
* .google.protobuf.StringValue format = 7;
* @return Whether the format field is set.
*/
boolean hasFormat();
/**
* .google.protobuf.StringValue format = 7;
* @return The format.
*/
com.google.protobuf.StringValue getFormat();
/**
* .google.protobuf.StringValue format = 7;
*/
com.google.protobuf.StringValueOrBuilder getFormatOrBuilder();
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
* @return Whether the releaseDescription field is set.
*/
boolean hasReleaseDescription();
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
* @return The releaseDescription.
*/
com.google.protobuf.StringValue getReleaseDescription();
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
*/
com.google.protobuf.StringValueOrBuilder getReleaseDescriptionOrBuilder();
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
* @return Whether the createBy field is set.
*/
boolean hasCreateBy();
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
* @return The createBy.
*/
com.google.protobuf.StringValue getCreateBy();
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
*/
com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder();
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
* @return Whether the modifyBy field is set.
*/
boolean hasModifyBy();
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
* @return The modifyBy.
*/
com.google.protobuf.StringValue getModifyBy();
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
*/
com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder();
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
java.util.List
getTagsList();
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index);
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
int getTagsCount();
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList();
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index);
/**
* .google.protobuf.StringValue md5 = 15;
* @return Whether the md5 field is set.
*/
boolean hasMd5();
/**
* .google.protobuf.StringValue md5 = 15;
* @return The md5.
*/
com.google.protobuf.StringValue getMd5();
/**
* .google.protobuf.StringValue md5 = 15;
*/
com.google.protobuf.StringValueOrBuilder getMd5OrBuilder();
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return Whether the encrypted field is set.
*/
boolean hasEncrypted();
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return The encrypted.
*/
com.google.protobuf.BoolValue getEncrypted();
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
com.google.protobuf.BoolValueOrBuilder getEncryptedOrBuilder();
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return Whether the encryptAlgo field is set.
*/
boolean hasEncryptAlgo();
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return The encryptAlgo.
*/
com.google.protobuf.StringValue getEncryptAlgo();
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
com.google.protobuf.StringValueOrBuilder getEncryptAlgoOrBuilder();
}
/**
* Protobuf type {@code v1.ConfigFilePublishInfo}
*/
public static final class ConfigFilePublishInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFilePublishInfo)
ConfigFilePublishInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFilePublishInfo.newBuilder() to construct.
private ConfigFilePublishInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigFilePublishInfo() {
tags_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFilePublishInfo();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFilePublishInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFilePublishInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo.Builder.class);
}
public static final int RELEASE_NAME_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue releaseName_;
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
* @return Whether the releaseName field is set.
*/
@java.lang.Override
public boolean hasReleaseName() {
return releaseName_ != null;
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
* @return The releaseName.
*/
@java.lang.Override
public com.google.protobuf.StringValue getReleaseName() {
return releaseName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseName_;
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getReleaseNameOrBuilder() {
return getReleaseName();
}
public static final int NAMESPACE_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue namespace_;
/**
* .google.protobuf.StringValue namespace = 2;
* @return Whether the namespace field is set.
*/
@java.lang.Override
public boolean hasNamespace() {
return namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 2;
* @return The namespace.
*/
@java.lang.Override
public com.google.protobuf.StringValue getNamespace() {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
/**
* .google.protobuf.StringValue namespace = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
return getNamespace();
}
public static final int GROUP_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue group_;
/**
* .google.protobuf.StringValue group = 3;
* @return Whether the group field is set.
*/
@java.lang.Override
public boolean hasGroup() {
return group_ != null;
}
/**
* .google.protobuf.StringValue group = 3;
* @return The group.
*/
@java.lang.Override
public com.google.protobuf.StringValue getGroup() {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
/**
* .google.protobuf.StringValue group = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
return getGroup();
}
public static final int FILE_NAME_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue fileName_;
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
* @return Whether the fileName field is set.
*/
@java.lang.Override
public boolean hasFileName() {
return fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
* @return The fileName.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFileName() {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
return getFileName();
}
public static final int CONTENT_FIELD_NUMBER = 5;
private com.google.protobuf.StringValue content_;
/**
* .google.protobuf.StringValue content = 5;
* @return Whether the content field is set.
*/
@java.lang.Override
public boolean hasContent() {
return content_ != null;
}
/**
* .google.protobuf.StringValue content = 5;
* @return The content.
*/
@java.lang.Override
public com.google.protobuf.StringValue getContent() {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
/**
* .google.protobuf.StringValue content = 5;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
return getContent();
}
public static final int COMMENT_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue comment_;
/**
* .google.protobuf.StringValue comment = 6;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 6;
* @return The comment.
*/
@java.lang.Override
public com.google.protobuf.StringValue getComment() {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
/**
* .google.protobuf.StringValue comment = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
return getComment();
}
public static final int FORMAT_FIELD_NUMBER = 7;
private com.google.protobuf.StringValue format_;
/**
* .google.protobuf.StringValue format = 7;
* @return Whether the format field is set.
*/
@java.lang.Override
public boolean hasFormat() {
return format_ != null;
}
/**
* .google.protobuf.StringValue format = 7;
* @return The format.
*/
@java.lang.Override
public com.google.protobuf.StringValue getFormat() {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
/**
* .google.protobuf.StringValue format = 7;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
return getFormat();
}
public static final int RELEASE_DESCRIPTION_FIELD_NUMBER = 8;
private com.google.protobuf.StringValue releaseDescription_;
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
* @return Whether the releaseDescription field is set.
*/
@java.lang.Override
public boolean hasReleaseDescription() {
return releaseDescription_ != null;
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
* @return The releaseDescription.
*/
@java.lang.Override
public com.google.protobuf.StringValue getReleaseDescription() {
return releaseDescription_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseDescription_;
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getReleaseDescriptionOrBuilder() {
return getReleaseDescription();
}
public static final int CREATE_BY_FIELD_NUMBER = 11;
private com.google.protobuf.StringValue createBy_;
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
* @return Whether the createBy field is set.
*/
@java.lang.Override
public boolean hasCreateBy() {
return createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
* @return The createBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCreateBy() {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
return getCreateBy();
}
public static final int MODIFY_BY_FIELD_NUMBER = 13;
private com.google.protobuf.StringValue modifyBy_;
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
* @return Whether the modifyBy field is set.
*/
@java.lang.Override
public boolean hasModifyBy() {
return modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
* @return The modifyBy.
*/
@java.lang.Override
public com.google.protobuf.StringValue getModifyBy() {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
return getModifyBy();
}
public static final int TAGS_FIELD_NUMBER = 14;
private java.util.List tags_;
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public java.util.List getTagsList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
return tags_;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public int getTagsCount() {
return tags_.size();
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
return tags_.get(index);
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
return tags_.get(index);
}
public static final int MD5_FIELD_NUMBER = 15;
private com.google.protobuf.StringValue md5_;
/**
* .google.protobuf.StringValue md5 = 15;
* @return Whether the md5 field is set.
*/
@java.lang.Override
public boolean hasMd5() {
return md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 15;
* @return The md5.
*/
@java.lang.Override
public com.google.protobuf.StringValue getMd5() {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
/**
* .google.protobuf.StringValue md5 = 15;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
return getMd5();
}
public static final int ENCRYPTED_FIELD_NUMBER = 16;
private com.google.protobuf.BoolValue encrypted_;
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return Whether the encrypted field is set.
*/
@java.lang.Override
public boolean hasEncrypted() {
return encrypted_ != null;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return The encrypted.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getEncrypted() {
return encrypted_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : encrypted_;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getEncryptedOrBuilder() {
return getEncrypted();
}
public static final int ENCRYPT_ALGO_FIELD_NUMBER = 17;
private com.google.protobuf.StringValue encryptAlgo_;
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return Whether the encryptAlgo field is set.
*/
@java.lang.Override
public boolean hasEncryptAlgo() {
return encryptAlgo_ != null;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return The encryptAlgo.
*/
@java.lang.Override
public com.google.protobuf.StringValue getEncryptAlgo() {
return encryptAlgo_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : encryptAlgo_;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getEncryptAlgoOrBuilder() {
return getEncryptAlgo();
}
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 (releaseName_ != null) {
output.writeMessage(1, getReleaseName());
}
if (namespace_ != null) {
output.writeMessage(2, getNamespace());
}
if (group_ != null) {
output.writeMessage(3, getGroup());
}
if (fileName_ != null) {
output.writeMessage(4, getFileName());
}
if (content_ != null) {
output.writeMessage(5, getContent());
}
if (comment_ != null) {
output.writeMessage(6, getComment());
}
if (format_ != null) {
output.writeMessage(7, getFormat());
}
if (releaseDescription_ != null) {
output.writeMessage(8, getReleaseDescription());
}
if (createBy_ != null) {
output.writeMessage(11, getCreateBy());
}
if (modifyBy_ != null) {
output.writeMessage(13, getModifyBy());
}
for (int i = 0; i < tags_.size(); i++) {
output.writeMessage(14, tags_.get(i));
}
if (md5_ != null) {
output.writeMessage(15, getMd5());
}
if (encrypted_ != null) {
output.writeMessage(16, getEncrypted());
}
if (encryptAlgo_ != null) {
output.writeMessage(17, getEncryptAlgo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (releaseName_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getReleaseName());
}
if (namespace_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getNamespace());
}
if (group_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getGroup());
}
if (fileName_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getFileName());
}
if (content_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getContent());
}
if (comment_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getComment());
}
if (format_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getFormat());
}
if (releaseDescription_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getReleaseDescription());
}
if (createBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getCreateBy());
}
if (modifyBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getModifyBy());
}
for (int i = 0; i < tags_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, tags_.get(i));
}
if (md5_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getMd5());
}
if (encrypted_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getEncrypted());
}
if (encryptAlgo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getEncryptAlgo());
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo) obj;
if (hasReleaseName() != other.hasReleaseName()) return false;
if (hasReleaseName()) {
if (!getReleaseName()
.equals(other.getReleaseName())) return false;
}
if (hasNamespace() != other.hasNamespace()) return false;
if (hasNamespace()) {
if (!getNamespace()
.equals(other.getNamespace())) return false;
}
if (hasGroup() != other.hasGroup()) return false;
if (hasGroup()) {
if (!getGroup()
.equals(other.getGroup())) return false;
}
if (hasFileName() != other.hasFileName()) return false;
if (hasFileName()) {
if (!getFileName()
.equals(other.getFileName())) return false;
}
if (hasContent() != other.hasContent()) return false;
if (hasContent()) {
if (!getContent()
.equals(other.getContent())) return false;
}
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasFormat() != other.hasFormat()) return false;
if (hasFormat()) {
if (!getFormat()
.equals(other.getFormat())) return false;
}
if (hasReleaseDescription() != other.hasReleaseDescription()) return false;
if (hasReleaseDescription()) {
if (!getReleaseDescription()
.equals(other.getReleaseDescription())) return false;
}
if (hasCreateBy() != other.hasCreateBy()) return false;
if (hasCreateBy()) {
if (!getCreateBy()
.equals(other.getCreateBy())) return false;
}
if (hasModifyBy() != other.hasModifyBy()) return false;
if (hasModifyBy()) {
if (!getModifyBy()
.equals(other.getModifyBy())) return false;
}
if (!getTagsList()
.equals(other.getTagsList())) return false;
if (hasMd5() != other.hasMd5()) return false;
if (hasMd5()) {
if (!getMd5()
.equals(other.getMd5())) return false;
}
if (hasEncrypted() != other.hasEncrypted()) return false;
if (hasEncrypted()) {
if (!getEncrypted()
.equals(other.getEncrypted())) return false;
}
if (hasEncryptAlgo() != other.hasEncryptAlgo()) return false;
if (hasEncryptAlgo()) {
if (!getEncryptAlgo()
.equals(other.getEncryptAlgo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasReleaseName()) {
hash = (37 * hash) + RELEASE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getReleaseName().hashCode();
}
if (hasNamespace()) {
hash = (37 * hash) + NAMESPACE_FIELD_NUMBER;
hash = (53 * hash) + getNamespace().hashCode();
}
if (hasGroup()) {
hash = (37 * hash) + GROUP_FIELD_NUMBER;
hash = (53 * hash) + getGroup().hashCode();
}
if (hasFileName()) {
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
}
if (hasContent()) {
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasFormat()) {
hash = (37 * hash) + FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getFormat().hashCode();
}
if (hasReleaseDescription()) {
hash = (37 * hash) + RELEASE_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getReleaseDescription().hashCode();
}
if (hasCreateBy()) {
hash = (37 * hash) + CREATE_BY_FIELD_NUMBER;
hash = (53 * hash) + getCreateBy().hashCode();
}
if (hasModifyBy()) {
hash = (37 * hash) + MODIFY_BY_FIELD_NUMBER;
hash = (53 * hash) + getModifyBy().hashCode();
}
if (getTagsCount() > 0) {
hash = (37 * hash) + TAGS_FIELD_NUMBER;
hash = (53 * hash) + getTagsList().hashCode();
}
if (hasMd5()) {
hash = (37 * hash) + MD5_FIELD_NUMBER;
hash = (53 * hash) + getMd5().hashCode();
}
if (hasEncrypted()) {
hash = (37 * hash) + ENCRYPTED_FIELD_NUMBER;
hash = (53 * hash) + getEncrypted().hashCode();
}
if (hasEncryptAlgo()) {
hash = (37 * hash) + ENCRYPT_ALGO_FIELD_NUMBER;
hash = (53 * hash) + getEncryptAlgo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo 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 v1.ConfigFilePublishInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFilePublishInfo)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFilePublishInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFilePublishInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (releaseNameBuilder_ == null) {
releaseName_ = null;
} else {
releaseName_ = null;
releaseNameBuilder_ = null;
}
if (namespaceBuilder_ == null) {
namespace_ = null;
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
if (groupBuilder_ == null) {
group_ = null;
} else {
group_ = null;
groupBuilder_ = null;
}
if (fileNameBuilder_ == null) {
fileName_ = null;
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
if (contentBuilder_ == null) {
content_ = null;
} else {
content_ = null;
contentBuilder_ = null;
}
if (commentBuilder_ == null) {
comment_ = null;
} else {
comment_ = null;
commentBuilder_ = null;
}
if (formatBuilder_ == null) {
format_ = null;
} else {
format_ = null;
formatBuilder_ = null;
}
if (releaseDescriptionBuilder_ == null) {
releaseDescription_ = null;
} else {
releaseDescription_ = null;
releaseDescriptionBuilder_ = null;
}
if (createByBuilder_ == null) {
createBy_ = null;
} else {
createBy_ = null;
createByBuilder_ = null;
}
if (modifyByBuilder_ == null) {
modifyBy_ = null;
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
} else {
tags_ = null;
tagsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (md5Builder_ == null) {
md5_ = null;
} else {
md5_ = null;
md5Builder_ = null;
}
if (encryptedBuilder_ == null) {
encrypted_ = null;
} else {
encrypted_ = null;
encryptedBuilder_ = null;
}
if (encryptAlgoBuilder_ == null) {
encryptAlgo_ = null;
} else {
encryptAlgo_ = null;
encryptAlgoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFilePublishInfo_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo(this);
int from_bitField0_ = bitField0_;
if (releaseNameBuilder_ == null) {
result.releaseName_ = releaseName_;
} else {
result.releaseName_ = releaseNameBuilder_.build();
}
if (namespaceBuilder_ == null) {
result.namespace_ = namespace_;
} else {
result.namespace_ = namespaceBuilder_.build();
}
if (groupBuilder_ == null) {
result.group_ = group_;
} else {
result.group_ = groupBuilder_.build();
}
if (fileNameBuilder_ == null) {
result.fileName_ = fileName_;
} else {
result.fileName_ = fileNameBuilder_.build();
}
if (contentBuilder_ == null) {
result.content_ = content_;
} else {
result.content_ = contentBuilder_.build();
}
if (commentBuilder_ == null) {
result.comment_ = comment_;
} else {
result.comment_ = commentBuilder_.build();
}
if (formatBuilder_ == null) {
result.format_ = format_;
} else {
result.format_ = formatBuilder_.build();
}
if (releaseDescriptionBuilder_ == null) {
result.releaseDescription_ = releaseDescription_;
} else {
result.releaseDescription_ = releaseDescriptionBuilder_.build();
}
if (createByBuilder_ == null) {
result.createBy_ = createBy_;
} else {
result.createBy_ = createByBuilder_.build();
}
if (modifyByBuilder_ == null) {
result.modifyBy_ = modifyBy_;
} else {
result.modifyBy_ = modifyByBuilder_.build();
}
if (tagsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
tags_ = java.util.Collections.unmodifiableList(tags_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.tags_ = tags_;
} else {
result.tags_ = tagsBuilder_.build();
}
if (md5Builder_ == null) {
result.md5_ = md5_;
} else {
result.md5_ = md5Builder_.build();
}
if (encryptedBuilder_ == null) {
result.encrypted_ = encrypted_;
} else {
result.encrypted_ = encryptedBuilder_.build();
}
if (encryptAlgoBuilder_ == null) {
result.encryptAlgo_ = encryptAlgo_;
} else {
result.encryptAlgo_ = encryptAlgoBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo.getDefaultInstance()) return this;
if (other.hasReleaseName()) {
mergeReleaseName(other.getReleaseName());
}
if (other.hasNamespace()) {
mergeNamespace(other.getNamespace());
}
if (other.hasGroup()) {
mergeGroup(other.getGroup());
}
if (other.hasFileName()) {
mergeFileName(other.getFileName());
}
if (other.hasContent()) {
mergeContent(other.getContent());
}
if (other.hasComment()) {
mergeComment(other.getComment());
}
if (other.hasFormat()) {
mergeFormat(other.getFormat());
}
if (other.hasReleaseDescription()) {
mergeReleaseDescription(other.getReleaseDescription());
}
if (other.hasCreateBy()) {
mergeCreateBy(other.getCreateBy());
}
if (other.hasModifyBy()) {
mergeModifyBy(other.getModifyBy());
}
if (tagsBuilder_ == null) {
if (!other.tags_.isEmpty()) {
if (tags_.isEmpty()) {
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTagsIsMutable();
tags_.addAll(other.tags_);
}
onChanged();
}
} else {
if (!other.tags_.isEmpty()) {
if (tagsBuilder_.isEmpty()) {
tagsBuilder_.dispose();
tagsBuilder_ = null;
tags_ = other.tags_;
bitField0_ = (bitField0_ & ~0x00000001);
tagsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTagsFieldBuilder() : null;
} else {
tagsBuilder_.addAllMessages(other.tags_);
}
}
}
if (other.hasMd5()) {
mergeMd5(other.getMd5());
}
if (other.hasEncrypted()) {
mergeEncrypted(other.getEncrypted());
}
if (other.hasEncryptAlgo()) {
mergeEncryptAlgo(other.getEncryptAlgo());
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getReleaseNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getNamespaceFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getGroupFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getFileNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getContentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
input.readMessage(
getCommentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 50
case 58: {
input.readMessage(
getFormatFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 58
case 66: {
input.readMessage(
getReleaseDescriptionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 66
case 90: {
input.readMessage(
getCreateByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 90
case 106: {
input.readMessage(
getModifyByFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 106
case 114: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.parser(),
extensionRegistry);
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(m);
} else {
tagsBuilder_.addMessage(m);
}
break;
} // case 114
case 122: {
input.readMessage(
getMd5FieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 122
case 130: {
input.readMessage(
getEncryptedFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 130
case 138: {
input.readMessage(
getEncryptAlgoFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 138
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.StringValue releaseName_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> releaseNameBuilder_;
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
* @return Whether the releaseName field is set.
*/
public boolean hasReleaseName() {
return releaseNameBuilder_ != null || releaseName_ != null;
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
* @return The releaseName.
*/
public com.google.protobuf.StringValue getReleaseName() {
if (releaseNameBuilder_ == null) {
return releaseName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseName_;
} else {
return releaseNameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
*/
public Builder setReleaseName(com.google.protobuf.StringValue value) {
if (releaseNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
releaseName_ = value;
onChanged();
} else {
releaseNameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
*/
public Builder setReleaseName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (releaseNameBuilder_ == null) {
releaseName_ = builderForValue.build();
onChanged();
} else {
releaseNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
*/
public Builder mergeReleaseName(com.google.protobuf.StringValue value) {
if (releaseNameBuilder_ == null) {
if (releaseName_ != null) {
releaseName_ =
com.google.protobuf.StringValue.newBuilder(releaseName_).mergeFrom(value).buildPartial();
} else {
releaseName_ = value;
}
onChanged();
} else {
releaseNameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
*/
public Builder clearReleaseName() {
if (releaseNameBuilder_ == null) {
releaseName_ = null;
onChanged();
} else {
releaseName_ = null;
releaseNameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
*/
public com.google.protobuf.StringValue.Builder getReleaseNameBuilder() {
onChanged();
return getReleaseNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
*/
public com.google.protobuf.StringValueOrBuilder getReleaseNameOrBuilder() {
if (releaseNameBuilder_ != null) {
return releaseNameBuilder_.getMessageOrBuilder();
} else {
return releaseName_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : releaseName_;
}
}
/**
* .google.protobuf.StringValue release_name = 1 [json_name = "release_name"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getReleaseNameFieldBuilder() {
if (releaseNameBuilder_ == null) {
releaseNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getReleaseName(),
getParentForChildren(),
isClean());
releaseName_ = null;
}
return releaseNameBuilder_;
}
private com.google.protobuf.StringValue namespace_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> namespaceBuilder_;
/**
* .google.protobuf.StringValue namespace = 2;
* @return Whether the namespace field is set.
*/
public boolean hasNamespace() {
return namespaceBuilder_ != null || namespace_ != null;
}
/**
* .google.protobuf.StringValue namespace = 2;
* @return The namespace.
*/
public com.google.protobuf.StringValue getNamespace() {
if (namespaceBuilder_ == null) {
return namespace_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
} else {
return namespaceBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue namespace = 2;
*/
public Builder setNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
namespace_ = value;
onChanged();
} else {
namespaceBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 2;
*/
public Builder setNamespace(
com.google.protobuf.StringValue.Builder builderForValue) {
if (namespaceBuilder_ == null) {
namespace_ = builderForValue.build();
onChanged();
} else {
namespaceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 2;
*/
public Builder mergeNamespace(com.google.protobuf.StringValue value) {
if (namespaceBuilder_ == null) {
if (namespace_ != null) {
namespace_ =
com.google.protobuf.StringValue.newBuilder(namespace_).mergeFrom(value).buildPartial();
} else {
namespace_ = value;
}
onChanged();
} else {
namespaceBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 2;
*/
public Builder clearNamespace() {
if (namespaceBuilder_ == null) {
namespace_ = null;
onChanged();
} else {
namespace_ = null;
namespaceBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue namespace = 2;
*/
public com.google.protobuf.StringValue.Builder getNamespaceBuilder() {
onChanged();
return getNamespaceFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue namespace = 2;
*/
public com.google.protobuf.StringValueOrBuilder getNamespaceOrBuilder() {
if (namespaceBuilder_ != null) {
return namespaceBuilder_.getMessageOrBuilder();
} else {
return namespace_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : namespace_;
}
}
/**
* .google.protobuf.StringValue namespace = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getNamespaceFieldBuilder() {
if (namespaceBuilder_ == null) {
namespaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getNamespace(),
getParentForChildren(),
isClean());
namespace_ = null;
}
return namespaceBuilder_;
}
private com.google.protobuf.StringValue group_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> groupBuilder_;
/**
* .google.protobuf.StringValue group = 3;
* @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
}
/**
* .google.protobuf.StringValue group = 3;
* @return The group.
*/
public com.google.protobuf.StringValue getGroup() {
if (groupBuilder_ == null) {
return group_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : group_;
} else {
return groupBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue group = 3;
*/
public Builder setGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
group_ = value;
onChanged();
} else {
groupBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 3;
*/
public Builder setGroup(
com.google.protobuf.StringValue.Builder builderForValue) {
if (groupBuilder_ == null) {
group_ = builderForValue.build();
onChanged();
} else {
groupBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue group = 3;
*/
public Builder mergeGroup(com.google.protobuf.StringValue value) {
if (groupBuilder_ == null) {
if (group_ != null) {
group_ =
com.google.protobuf.StringValue.newBuilder(group_).mergeFrom(value).buildPartial();
} else {
group_ = value;
}
onChanged();
} else {
groupBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue group = 3;
*/
public Builder clearGroup() {
if (groupBuilder_ == null) {
group_ = null;
onChanged();
} else {
group_ = null;
groupBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue group = 3;
*/
public com.google.protobuf.StringValue.Builder getGroupBuilder() {
onChanged();
return getGroupFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue group = 3;
*/
public com.google.protobuf.StringValueOrBuilder getGroupOrBuilder() {
if (groupBuilder_ != null) {
return groupBuilder_.getMessageOrBuilder();
} else {
return group_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : group_;
}
}
/**
* .google.protobuf.StringValue group = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getGroupFieldBuilder() {
if (groupBuilder_ == null) {
groupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getGroup(),
getParentForChildren(),
isClean());
group_ = null;
}
return groupBuilder_;
}
private com.google.protobuf.StringValue fileName_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> fileNameBuilder_;
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
* @return Whether the fileName field is set.
*/
public boolean hasFileName() {
return fileNameBuilder_ != null || fileName_ != null;
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
* @return The fileName.
*/
public com.google.protobuf.StringValue getFileName() {
if (fileNameBuilder_ == null) {
return fileName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
} else {
return fileNameBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
*/
public Builder setFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fileName_ = value;
onChanged();
} else {
fileNameBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
*/
public Builder setFileName(
com.google.protobuf.StringValue.Builder builderForValue) {
if (fileNameBuilder_ == null) {
fileName_ = builderForValue.build();
onChanged();
} else {
fileNameBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
*/
public Builder mergeFileName(com.google.protobuf.StringValue value) {
if (fileNameBuilder_ == null) {
if (fileName_ != null) {
fileName_ =
com.google.protobuf.StringValue.newBuilder(fileName_).mergeFrom(value).buildPartial();
} else {
fileName_ = value;
}
onChanged();
} else {
fileNameBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
*/
public Builder clearFileName() {
if (fileNameBuilder_ == null) {
fileName_ = null;
onChanged();
} else {
fileName_ = null;
fileNameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
*/
public com.google.protobuf.StringValue.Builder getFileNameBuilder() {
onChanged();
return getFileNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
*/
public com.google.protobuf.StringValueOrBuilder getFileNameOrBuilder() {
if (fileNameBuilder_ != null) {
return fileNameBuilder_.getMessageOrBuilder();
} else {
return fileName_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : fileName_;
}
}
/**
* .google.protobuf.StringValue file_name = 4 [json_name = "file_name"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFileNameFieldBuilder() {
if (fileNameBuilder_ == null) {
fileNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFileName(),
getParentForChildren(),
isClean());
fileName_ = null;
}
return fileNameBuilder_;
}
private com.google.protobuf.StringValue content_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> contentBuilder_;
/**
* .google.protobuf.StringValue content = 5;
* @return Whether the content field is set.
*/
public boolean hasContent() {
return contentBuilder_ != null || content_ != null;
}
/**
* .google.protobuf.StringValue content = 5;
* @return The content.
*/
public com.google.protobuf.StringValue getContent() {
if (contentBuilder_ == null) {
return content_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : content_;
} else {
return contentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue content = 5;
*/
public Builder setContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
} else {
contentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 5;
*/
public Builder setContent(
com.google.protobuf.StringValue.Builder builderForValue) {
if (contentBuilder_ == null) {
content_ = builderForValue.build();
onChanged();
} else {
contentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue content = 5;
*/
public Builder mergeContent(com.google.protobuf.StringValue value) {
if (contentBuilder_ == null) {
if (content_ != null) {
content_ =
com.google.protobuf.StringValue.newBuilder(content_).mergeFrom(value).buildPartial();
} else {
content_ = value;
}
onChanged();
} else {
contentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue content = 5;
*/
public Builder clearContent() {
if (contentBuilder_ == null) {
content_ = null;
onChanged();
} else {
content_ = null;
contentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue content = 5;
*/
public com.google.protobuf.StringValue.Builder getContentBuilder() {
onChanged();
return getContentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue content = 5;
*/
public com.google.protobuf.StringValueOrBuilder getContentOrBuilder() {
if (contentBuilder_ != null) {
return contentBuilder_.getMessageOrBuilder();
} else {
return content_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : content_;
}
}
/**
* .google.protobuf.StringValue content = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getContentFieldBuilder() {
if (contentBuilder_ == null) {
contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getContent(),
getParentForChildren(),
isClean());
content_ = null;
}
return contentBuilder_;
}
private com.google.protobuf.StringValue comment_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> commentBuilder_;
/**
* .google.protobuf.StringValue comment = 6;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return commentBuilder_ != null || comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 6;
* @return The comment.
*/
public com.google.protobuf.StringValue getComment() {
if (commentBuilder_ == null) {
return comment_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : comment_;
} else {
return commentBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue comment = 6;
*/
public Builder setComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
comment_ = value;
onChanged();
} else {
commentBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 6;
*/
public Builder setComment(
com.google.protobuf.StringValue.Builder builderForValue) {
if (commentBuilder_ == null) {
comment_ = builderForValue.build();
onChanged();
} else {
commentBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue comment = 6;
*/
public Builder mergeComment(com.google.protobuf.StringValue value) {
if (commentBuilder_ == null) {
if (comment_ != null) {
comment_ =
com.google.protobuf.StringValue.newBuilder(comment_).mergeFrom(value).buildPartial();
} else {
comment_ = value;
}
onChanged();
} else {
commentBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue comment = 6;
*/
public Builder clearComment() {
if (commentBuilder_ == null) {
comment_ = null;
onChanged();
} else {
comment_ = null;
commentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue comment = 6;
*/
public com.google.protobuf.StringValue.Builder getCommentBuilder() {
onChanged();
return getCommentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue comment = 6;
*/
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
if (commentBuilder_ != null) {
return commentBuilder_.getMessageOrBuilder();
} else {
return comment_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : comment_;
}
}
/**
* .google.protobuf.StringValue comment = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCommentFieldBuilder() {
if (commentBuilder_ == null) {
commentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getComment(),
getParentForChildren(),
isClean());
comment_ = null;
}
return commentBuilder_;
}
private com.google.protobuf.StringValue format_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> formatBuilder_;
/**
* .google.protobuf.StringValue format = 7;
* @return Whether the format field is set.
*/
public boolean hasFormat() {
return formatBuilder_ != null || format_ != null;
}
/**
* .google.protobuf.StringValue format = 7;
* @return The format.
*/
public com.google.protobuf.StringValue getFormat() {
if (formatBuilder_ == null) {
return format_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : format_;
} else {
return formatBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue format = 7;
*/
public Builder setFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
} else {
formatBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 7;
*/
public Builder setFormat(
com.google.protobuf.StringValue.Builder builderForValue) {
if (formatBuilder_ == null) {
format_ = builderForValue.build();
onChanged();
} else {
formatBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue format = 7;
*/
public Builder mergeFormat(com.google.protobuf.StringValue value) {
if (formatBuilder_ == null) {
if (format_ != null) {
format_ =
com.google.protobuf.StringValue.newBuilder(format_).mergeFrom(value).buildPartial();
} else {
format_ = value;
}
onChanged();
} else {
formatBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue format = 7;
*/
public Builder clearFormat() {
if (formatBuilder_ == null) {
format_ = null;
onChanged();
} else {
format_ = null;
formatBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue format = 7;
*/
public com.google.protobuf.StringValue.Builder getFormatBuilder() {
onChanged();
return getFormatFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue format = 7;
*/
public com.google.protobuf.StringValueOrBuilder getFormatOrBuilder() {
if (formatBuilder_ != null) {
return formatBuilder_.getMessageOrBuilder();
} else {
return format_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : format_;
}
}
/**
* .google.protobuf.StringValue format = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getFormatFieldBuilder() {
if (formatBuilder_ == null) {
formatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getFormat(),
getParentForChildren(),
isClean());
format_ = null;
}
return formatBuilder_;
}
private com.google.protobuf.StringValue releaseDescription_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> releaseDescriptionBuilder_;
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
* @return Whether the releaseDescription field is set.
*/
public boolean hasReleaseDescription() {
return releaseDescriptionBuilder_ != null || releaseDescription_ != null;
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
* @return The releaseDescription.
*/
public com.google.protobuf.StringValue getReleaseDescription() {
if (releaseDescriptionBuilder_ == null) {
return releaseDescription_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : releaseDescription_;
} else {
return releaseDescriptionBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
*/
public Builder setReleaseDescription(com.google.protobuf.StringValue value) {
if (releaseDescriptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
releaseDescription_ = value;
onChanged();
} else {
releaseDescriptionBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
*/
public Builder setReleaseDescription(
com.google.protobuf.StringValue.Builder builderForValue) {
if (releaseDescriptionBuilder_ == null) {
releaseDescription_ = builderForValue.build();
onChanged();
} else {
releaseDescriptionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
*/
public Builder mergeReleaseDescription(com.google.protobuf.StringValue value) {
if (releaseDescriptionBuilder_ == null) {
if (releaseDescription_ != null) {
releaseDescription_ =
com.google.protobuf.StringValue.newBuilder(releaseDescription_).mergeFrom(value).buildPartial();
} else {
releaseDescription_ = value;
}
onChanged();
} else {
releaseDescriptionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
*/
public Builder clearReleaseDescription() {
if (releaseDescriptionBuilder_ == null) {
releaseDescription_ = null;
onChanged();
} else {
releaseDescription_ = null;
releaseDescriptionBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
*/
public com.google.protobuf.StringValue.Builder getReleaseDescriptionBuilder() {
onChanged();
return getReleaseDescriptionFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
*/
public com.google.protobuf.StringValueOrBuilder getReleaseDescriptionOrBuilder() {
if (releaseDescriptionBuilder_ != null) {
return releaseDescriptionBuilder_.getMessageOrBuilder();
} else {
return releaseDescription_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : releaseDescription_;
}
}
/**
* .google.protobuf.StringValue release_description = 8 [json_name = "release_description"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getReleaseDescriptionFieldBuilder() {
if (releaseDescriptionBuilder_ == null) {
releaseDescriptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getReleaseDescription(),
getParentForChildren(),
isClean());
releaseDescription_ = null;
}
return releaseDescriptionBuilder_;
}
private com.google.protobuf.StringValue createBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> createByBuilder_;
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
* @return Whether the createBy field is set.
*/
public boolean hasCreateBy() {
return createByBuilder_ != null || createBy_ != null;
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
* @return The createBy.
*/
public com.google.protobuf.StringValue getCreateBy() {
if (createByBuilder_ == null) {
return createBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
} else {
return createByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
*/
public Builder setCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
createBy_ = value;
onChanged();
} else {
createByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
*/
public Builder setCreateBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (createByBuilder_ == null) {
createBy_ = builderForValue.build();
onChanged();
} else {
createByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
*/
public Builder mergeCreateBy(com.google.protobuf.StringValue value) {
if (createByBuilder_ == null) {
if (createBy_ != null) {
createBy_ =
com.google.protobuf.StringValue.newBuilder(createBy_).mergeFrom(value).buildPartial();
} else {
createBy_ = value;
}
onChanged();
} else {
createByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
*/
public Builder clearCreateBy() {
if (createByBuilder_ == null) {
createBy_ = null;
onChanged();
} else {
createBy_ = null;
createByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
*/
public com.google.protobuf.StringValue.Builder getCreateByBuilder() {
onChanged();
return getCreateByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
*/
public com.google.protobuf.StringValueOrBuilder getCreateByOrBuilder() {
if (createByBuilder_ != null) {
return createByBuilder_.getMessageOrBuilder();
} else {
return createBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : createBy_;
}
}
/**
* .google.protobuf.StringValue create_by = 11 [json_name = "create_by"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCreateByFieldBuilder() {
if (createByBuilder_ == null) {
createByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCreateBy(),
getParentForChildren(),
isClean());
createBy_ = null;
}
return createByBuilder_;
}
private com.google.protobuf.StringValue modifyBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> modifyByBuilder_;
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
* @return Whether the modifyBy field is set.
*/
public boolean hasModifyBy() {
return modifyByBuilder_ != null || modifyBy_ != null;
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
* @return The modifyBy.
*/
public com.google.protobuf.StringValue getModifyBy() {
if (modifyByBuilder_ == null) {
return modifyBy_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
} else {
return modifyByBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
*/
public Builder setModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
modifyBy_ = value;
onChanged();
} else {
modifyByBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
*/
public Builder setModifyBy(
com.google.protobuf.StringValue.Builder builderForValue) {
if (modifyByBuilder_ == null) {
modifyBy_ = builderForValue.build();
onChanged();
} else {
modifyByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
*/
public Builder mergeModifyBy(com.google.protobuf.StringValue value) {
if (modifyByBuilder_ == null) {
if (modifyBy_ != null) {
modifyBy_ =
com.google.protobuf.StringValue.newBuilder(modifyBy_).mergeFrom(value).buildPartial();
} else {
modifyBy_ = value;
}
onChanged();
} else {
modifyByBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
*/
public Builder clearModifyBy() {
if (modifyByBuilder_ == null) {
modifyBy_ = null;
onChanged();
} else {
modifyBy_ = null;
modifyByBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
*/
public com.google.protobuf.StringValue.Builder getModifyByBuilder() {
onChanged();
return getModifyByFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
*/
public com.google.protobuf.StringValueOrBuilder getModifyByOrBuilder() {
if (modifyByBuilder_ != null) {
return modifyByBuilder_.getMessageOrBuilder();
} else {
return modifyBy_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : modifyBy_;
}
}
/**
* .google.protobuf.StringValue modify_by = 13 [json_name = "modify_by"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getModifyByFieldBuilder() {
if (modifyByBuilder_ == null) {
modifyByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getModifyBy(),
getParentForChildren(),
isClean());
modifyBy_ = null;
}
return modifyByBuilder_;
}
private java.util.List tags_ =
java.util.Collections.emptyList();
private void ensureTagsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
tags_ = new java.util.ArrayList(tags_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder> tagsBuilder_;
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public java.util.List getTagsList() {
if (tagsBuilder_ == null) {
return java.util.Collections.unmodifiableList(tags_);
} else {
return tagsBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public int getTagsCount() {
if (tagsBuilder_ == null) {
return tags_.size();
} else {
return tagsBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag getTags(int index) {
if (tagsBuilder_ == null) {
return tags_.get(index);
} else {
return tagsBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.set(index, value);
onChanged();
} else {
tagsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder setTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.set(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addTags(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(value);
onChanged();
} else {
tagsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag value) {
if (tagsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTagsIsMutable();
tags_.add(index, value);
onChanged();
} else {
tagsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addTags(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addTags(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder builderForValue) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.add(index, builderForValue.build());
onChanged();
} else {
tagsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder addAllTags(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag> values) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tags_);
onChanged();
} else {
tagsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder clearTags() {
if (tagsBuilder_ == null) {
tags_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
tagsBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public Builder removeTags(int index) {
if (tagsBuilder_ == null) {
ensureTagsIsMutable();
tags_.remove(index);
onChanged();
} else {
tagsBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder getTagsBuilder(
int index) {
return getTagsFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder getTagsOrBuilder(
int index) {
if (tagsBuilder_ == null) {
return tags_.get(index); } else {
return tagsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsOrBuilderList() {
if (tagsBuilder_ != null) {
return tagsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tags_);
}
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder() {
return getTagsFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder addTagsBuilder(
int index) {
return getTagsFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileTag tags = 14;
*/
public java.util.List
getTagsBuilderList() {
return getTagsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>
getTagsFieldBuilder() {
if (tagsBuilder_ == null) {
tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTag.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileTagOrBuilder>(
tags_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
tags_ = null;
}
return tagsBuilder_;
}
private com.google.protobuf.StringValue md5_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> md5Builder_;
/**
* .google.protobuf.StringValue md5 = 15;
* @return Whether the md5 field is set.
*/
public boolean hasMd5() {
return md5Builder_ != null || md5_ != null;
}
/**
* .google.protobuf.StringValue md5 = 15;
* @return The md5.
*/
public com.google.protobuf.StringValue getMd5() {
if (md5Builder_ == null) {
return md5_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : md5_;
} else {
return md5Builder_.getMessage();
}
}
/**
* .google.protobuf.StringValue md5 = 15;
*/
public Builder setMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (value == null) {
throw new NullPointerException();
}
md5_ = value;
onChanged();
} else {
md5Builder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 15;
*/
public Builder setMd5(
com.google.protobuf.StringValue.Builder builderForValue) {
if (md5Builder_ == null) {
md5_ = builderForValue.build();
onChanged();
} else {
md5Builder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 15;
*/
public Builder mergeMd5(com.google.protobuf.StringValue value) {
if (md5Builder_ == null) {
if (md5_ != null) {
md5_ =
com.google.protobuf.StringValue.newBuilder(md5_).mergeFrom(value).buildPartial();
} else {
md5_ = value;
}
onChanged();
} else {
md5Builder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 15;
*/
public Builder clearMd5() {
if (md5Builder_ == null) {
md5_ = null;
onChanged();
} else {
md5_ = null;
md5Builder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue md5 = 15;
*/
public com.google.protobuf.StringValue.Builder getMd5Builder() {
onChanged();
return getMd5FieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue md5 = 15;
*/
public com.google.protobuf.StringValueOrBuilder getMd5OrBuilder() {
if (md5Builder_ != null) {
return md5Builder_.getMessageOrBuilder();
} else {
return md5_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : md5_;
}
}
/**
* .google.protobuf.StringValue md5 = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getMd5FieldBuilder() {
if (md5Builder_ == null) {
md5Builder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getMd5(),
getParentForChildren(),
isClean());
md5_ = null;
}
return md5Builder_;
}
private com.google.protobuf.BoolValue encrypted_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> encryptedBuilder_;
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return Whether the encrypted field is set.
*/
public boolean hasEncrypted() {
return encryptedBuilder_ != null || encrypted_ != null;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
* @return The encrypted.
*/
public com.google.protobuf.BoolValue getEncrypted() {
if (encryptedBuilder_ == null) {
return encrypted_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : encrypted_;
} else {
return encryptedBuilder_.getMessage();
}
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public Builder setEncrypted(com.google.protobuf.BoolValue value) {
if (encryptedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
encrypted_ = value;
onChanged();
} else {
encryptedBuilder_.setMessage(value);
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public Builder setEncrypted(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (encryptedBuilder_ == null) {
encrypted_ = builderForValue.build();
onChanged();
} else {
encryptedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public Builder mergeEncrypted(com.google.protobuf.BoolValue value) {
if (encryptedBuilder_ == null) {
if (encrypted_ != null) {
encrypted_ =
com.google.protobuf.BoolValue.newBuilder(encrypted_).mergeFrom(value).buildPartial();
} else {
encrypted_ = value;
}
onChanged();
} else {
encryptedBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public Builder clearEncrypted() {
if (encryptedBuilder_ == null) {
encrypted_ = null;
onChanged();
} else {
encrypted_ = null;
encryptedBuilder_ = null;
}
return this;
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public com.google.protobuf.BoolValue.Builder getEncryptedBuilder() {
onChanged();
return getEncryptedFieldBuilder().getBuilder();
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
public com.google.protobuf.BoolValueOrBuilder getEncryptedOrBuilder() {
if (encryptedBuilder_ != null) {
return encryptedBuilder_.getMessageOrBuilder();
} else {
return encrypted_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : encrypted_;
}
}
/**
*
* 是否为加密配置文件
*
*
* .google.protobuf.BoolValue encrypted = 16;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getEncryptedFieldBuilder() {
if (encryptedBuilder_ == null) {
encryptedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getEncrypted(),
getParentForChildren(),
isClean());
encrypted_ = null;
}
return encryptedBuilder_;
}
private com.google.protobuf.StringValue encryptAlgo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> encryptAlgoBuilder_;
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return Whether the encryptAlgo field is set.
*/
public boolean hasEncryptAlgo() {
return encryptAlgoBuilder_ != null || encryptAlgo_ != null;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
* @return The encryptAlgo.
*/
public com.google.protobuf.StringValue getEncryptAlgo() {
if (encryptAlgoBuilder_ == null) {
return encryptAlgo_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : encryptAlgo_;
} else {
return encryptAlgoBuilder_.getMessage();
}
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public Builder setEncryptAlgo(com.google.protobuf.StringValue value) {
if (encryptAlgoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
encryptAlgo_ = value;
onChanged();
} else {
encryptAlgoBuilder_.setMessage(value);
}
return this;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public Builder setEncryptAlgo(
com.google.protobuf.StringValue.Builder builderForValue) {
if (encryptAlgoBuilder_ == null) {
encryptAlgo_ = builderForValue.build();
onChanged();
} else {
encryptAlgoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public Builder mergeEncryptAlgo(com.google.protobuf.StringValue value) {
if (encryptAlgoBuilder_ == null) {
if (encryptAlgo_ != null) {
encryptAlgo_ =
com.google.protobuf.StringValue.newBuilder(encryptAlgo_).mergeFrom(value).buildPartial();
} else {
encryptAlgo_ = value;
}
onChanged();
} else {
encryptAlgoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public Builder clearEncryptAlgo() {
if (encryptAlgoBuilder_ == null) {
encryptAlgo_ = null;
onChanged();
} else {
encryptAlgo_ = null;
encryptAlgoBuilder_ = null;
}
return this;
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public com.google.protobuf.StringValue.Builder getEncryptAlgoBuilder() {
onChanged();
return getEncryptAlgoFieldBuilder().getBuilder();
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
public com.google.protobuf.StringValueOrBuilder getEncryptAlgoOrBuilder() {
if (encryptAlgoBuilder_ != null) {
return encryptAlgoBuilder_.getMessageOrBuilder();
} else {
return encryptAlgo_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : encryptAlgo_;
}
}
/**
*
* 加密算法
*
*
* .google.protobuf.StringValue encrypt_algo = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getEncryptAlgoFieldBuilder() {
if (encryptAlgoBuilder_ == null) {
encryptAlgoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getEncryptAlgo(),
getParentForChildren(),
isClean());
encryptAlgo_ = null;
}
return encryptAlgoBuilder_;
}
@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:v1.ConfigFilePublishInfo)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFilePublishInfo)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFilePublishInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFilePublishInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigFileGroupRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigFileGroupRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue revision = 1;
* @return Whether the revision field is set.
*/
boolean hasRevision();
/**
* .google.protobuf.StringValue revision = 1;
* @return The revision.
*/
com.google.protobuf.StringValue getRevision();
/**
* .google.protobuf.StringValue revision = 1;
*/
com.google.protobuf.StringValueOrBuilder getRevisionOrBuilder();
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
* @return Whether the configFileGroup field is set.
*/
boolean hasConfigFileGroup();
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
* @return The configFileGroup.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroup();
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupOrBuilder();
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
int getClientLabelsCount();
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
boolean containsClientLabels(
java.lang.String key);
/**
* Use {@link #getClientLabelsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getClientLabels();
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
java.util.Map
getClientLabelsMap();
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
/* nullable */
java.lang.String getClientLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
java.lang.String getClientLabelsOrThrow(
java.lang.String key);
}
/**
* Protobuf type {@code v1.ConfigFileGroupRequest}
*/
public static final class ConfigFileGroupRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigFileGroupRequest)
ConfigFileGroupRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigFileGroupRequest.newBuilder() to construct.
private ConfigFileGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigFileGroupRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigFileGroupRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroupRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 12:
return internalGetClientLabels();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroupRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest.Builder.class);
}
public static final int REVISION_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue revision_;
/**
* .google.protobuf.StringValue revision = 1;
* @return Whether the revision field is set.
*/
@java.lang.Override
public boolean hasRevision() {
return revision_ != null;
}
/**
* .google.protobuf.StringValue revision = 1;
* @return The revision.
*/
@java.lang.Override
public com.google.protobuf.StringValue getRevision() {
return revision_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : revision_;
}
/**
* .google.protobuf.StringValue revision = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getRevisionOrBuilder() {
return getRevision();
}
public static final int CONFIG_FILE_GROUP_FIELD_NUMBER = 2;
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup configFileGroup_;
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
* @return Whether the configFileGroup field is set.
*/
@java.lang.Override
public boolean hasConfigFileGroup() {
return configFileGroup_ != null;
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
* @return The configFileGroup.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroup() {
return configFileGroup_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance() : configFileGroup_;
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupOrBuilder() {
return getConfigFileGroup();
}
public static final int CLIENT_LABELS_FIELD_NUMBER = 12;
private static final class ClientLabelsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroupRequest_ClientLabelsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> clientLabels_;
private com.google.protobuf.MapField
internalGetClientLabels() {
if (clientLabels_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ClientLabelsDefaultEntryHolder.defaultEntry);
}
return clientLabels_;
}
public int getClientLabelsCount() {
return internalGetClientLabels().getMap().size();
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
@java.lang.Override
public boolean containsClientLabels(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetClientLabels().getMap().containsKey(key);
}
/**
* Use {@link #getClientLabelsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getClientLabels() {
return getClientLabelsMap();
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
@java.lang.Override
public java.util.Map getClientLabelsMap() {
return internalGetClientLabels().getMap();
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
@java.lang.Override
public java.lang.String getClientLabelsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetClientLabels().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
@java.lang.Override
public java.lang.String getClientLabelsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetClientLabels().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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 (revision_ != null) {
output.writeMessage(1, getRevision());
}
if (configFileGroup_ != null) {
output.writeMessage(2, getConfigFileGroup());
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetClientLabels(),
ClientLabelsDefaultEntryHolder.defaultEntry,
12);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (revision_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRevision());
}
if (configFileGroup_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getConfigFileGroup());
}
for (java.util.Map.Entry entry
: internalGetClientLabels().getMap().entrySet()) {
com.google.protobuf.MapEntry
clientLabels__ = ClientLabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, clientLabels__);
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest) obj;
if (hasRevision() != other.hasRevision()) return false;
if (hasRevision()) {
if (!getRevision()
.equals(other.getRevision())) return false;
}
if (hasConfigFileGroup() != other.hasConfigFileGroup()) return false;
if (hasConfigFileGroup()) {
if (!getConfigFileGroup()
.equals(other.getConfigFileGroup())) return false;
}
if (!internalGetClientLabels().equals(
other.internalGetClientLabels())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRevision()) {
hash = (37 * hash) + REVISION_FIELD_NUMBER;
hash = (53 * hash) + getRevision().hashCode();
}
if (hasConfigFileGroup()) {
hash = (37 * hash) + CONFIG_FILE_GROUP_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileGroup().hashCode();
}
if (!internalGetClientLabels().getMap().isEmpty()) {
hash = (37 * hash) + CLIENT_LABELS_FIELD_NUMBER;
hash = (53 * hash) + internalGetClientLabels().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest 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 v1.ConfigFileGroupRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigFileGroupRequest)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroupRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 12:
return internalGetClientLabels();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 12:
return internalGetMutableClientLabels();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroupRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (revisionBuilder_ == null) {
revision_ = null;
} else {
revision_ = null;
revisionBuilder_ = null;
}
if (configFileGroupBuilder_ == null) {
configFileGroup_ = null;
} else {
configFileGroup_ = null;
configFileGroupBuilder_ = null;
}
internalGetMutableClientLabels().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigFileGroupRequest_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest(this);
int from_bitField0_ = bitField0_;
if (revisionBuilder_ == null) {
result.revision_ = revision_;
} else {
result.revision_ = revisionBuilder_.build();
}
if (configFileGroupBuilder_ == null) {
result.configFileGroup_ = configFileGroup_;
} else {
result.configFileGroup_ = configFileGroupBuilder_.build();
}
result.clientLabels_ = internalGetClientLabels();
result.clientLabels_.makeImmutable();
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest.getDefaultInstance()) return this;
if (other.hasRevision()) {
mergeRevision(other.getRevision());
}
if (other.hasConfigFileGroup()) {
mergeConfigFileGroup(other.getConfigFileGroup());
}
internalGetMutableClientLabels().mergeFrom(
other.internalGetClientLabels());
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getRevisionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getConfigFileGroupFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 98: {
com.google.protobuf.MapEntry
clientLabels__ = input.readMessage(
ClientLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableClientLabels().getMutableMap().put(
clientLabels__.getKey(), clientLabels__.getValue());
break;
} // case 98
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.StringValue revision_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> revisionBuilder_;
/**
* .google.protobuf.StringValue revision = 1;
* @return Whether the revision field is set.
*/
public boolean hasRevision() {
return revisionBuilder_ != null || revision_ != null;
}
/**
* .google.protobuf.StringValue revision = 1;
* @return The revision.
*/
public com.google.protobuf.StringValue getRevision() {
if (revisionBuilder_ == null) {
return revision_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : revision_;
} else {
return revisionBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue revision = 1;
*/
public Builder setRevision(com.google.protobuf.StringValue value) {
if (revisionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
revision_ = value;
onChanged();
} else {
revisionBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue revision = 1;
*/
public Builder setRevision(
com.google.protobuf.StringValue.Builder builderForValue) {
if (revisionBuilder_ == null) {
revision_ = builderForValue.build();
onChanged();
} else {
revisionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue revision = 1;
*/
public Builder mergeRevision(com.google.protobuf.StringValue value) {
if (revisionBuilder_ == null) {
if (revision_ != null) {
revision_ =
com.google.protobuf.StringValue.newBuilder(revision_).mergeFrom(value).buildPartial();
} else {
revision_ = value;
}
onChanged();
} else {
revisionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue revision = 1;
*/
public Builder clearRevision() {
if (revisionBuilder_ == null) {
revision_ = null;
onChanged();
} else {
revision_ = null;
revisionBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue revision = 1;
*/
public com.google.protobuf.StringValue.Builder getRevisionBuilder() {
onChanged();
return getRevisionFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue revision = 1;
*/
public com.google.protobuf.StringValueOrBuilder getRevisionOrBuilder() {
if (revisionBuilder_ != null) {
return revisionBuilder_.getMessageOrBuilder();
} else {
return revision_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : revision_;
}
}
/**
* .google.protobuf.StringValue revision = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getRevisionFieldBuilder() {
if (revisionBuilder_ == null) {
revisionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getRevision(),
getParentForChildren(),
isClean());
revision_ = null;
}
return revisionBuilder_;
}
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup configFileGroup_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder> configFileGroupBuilder_;
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
* @return Whether the configFileGroup field is set.
*/
public boolean hasConfigFileGroup() {
return configFileGroupBuilder_ != null || configFileGroup_ != null;
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
* @return The configFileGroup.
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroup() {
if (configFileGroupBuilder_ == null) {
return configFileGroup_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance() : configFileGroup_;
} else {
return configFileGroupBuilder_.getMessage();
}
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
*/
public Builder setConfigFileGroup(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFileGroup_ = value;
onChanged();
} else {
configFileGroupBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
*/
public Builder setConfigFileGroup(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder builderForValue) {
if (configFileGroupBuilder_ == null) {
configFileGroup_ = builderForValue.build();
onChanged();
} else {
configFileGroupBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
*/
public Builder mergeConfigFileGroup(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupBuilder_ == null) {
if (configFileGroup_ != null) {
configFileGroup_ =
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.newBuilder(configFileGroup_).mergeFrom(value).buildPartial();
} else {
configFileGroup_ = value;
}
onChanged();
} else {
configFileGroupBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
*/
public Builder clearConfigFileGroup() {
if (configFileGroupBuilder_ == null) {
configFileGroup_ = null;
onChanged();
} else {
configFileGroup_ = null;
configFileGroupBuilder_ = null;
}
return this;
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder getConfigFileGroupBuilder() {
onChanged();
return getConfigFileGroupFieldBuilder().getBuilder();
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupOrBuilder() {
if (configFileGroupBuilder_ != null) {
return configFileGroupBuilder_.getMessageOrBuilder();
} else {
return configFileGroup_ == null ?
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance() : configFileGroup_;
}
}
/**
* .v1.ConfigFileGroup config_file_group = 2 [json_name = "config_file_group"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupFieldBuilder() {
if (configFileGroupBuilder_ == null) {
configFileGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>(
getConfigFileGroup(),
getParentForChildren(),
isClean());
configFileGroup_ = null;
}
return configFileGroupBuilder_;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> clientLabels_;
private com.google.protobuf.MapField
internalGetClientLabels() {
if (clientLabels_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ClientLabelsDefaultEntryHolder.defaultEntry);
}
return clientLabels_;
}
private com.google.protobuf.MapField
internalGetMutableClientLabels() {
onChanged();;
if (clientLabels_ == null) {
clientLabels_ = com.google.protobuf.MapField.newMapField(
ClientLabelsDefaultEntryHolder.defaultEntry);
}
if (!clientLabels_.isMutable()) {
clientLabels_ = clientLabels_.copy();
}
return clientLabels_;
}
public int getClientLabelsCount() {
return internalGetClientLabels().getMap().size();
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
@java.lang.Override
public boolean containsClientLabels(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetClientLabels().getMap().containsKey(key);
}
/**
* Use {@link #getClientLabelsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getClientLabels() {
return getClientLabelsMap();
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
@java.lang.Override
public java.util.Map getClientLabelsMap() {
return internalGetClientLabels().getMap();
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
@java.lang.Override
public java.lang.String getClientLabelsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetClientLabels().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
@java.lang.Override
public java.lang.String getClientLabelsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetClientLabels().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearClientLabels() {
internalGetMutableClientLabels().getMutableMap()
.clear();
return this;
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
public Builder removeClientLabels(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableClientLabels().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableClientLabels() {
return internalGetMutableClientLabels().getMutableMap();
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
public Builder putClientLabels(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableClientLabels().getMutableMap()
.put(key, value);
return this;
}
/**
*
* 配置标签
*
*
* map<string, string> client_labels = 12 [json_name = "client_labels"];
*/
public Builder putAllClientLabels(
java.util.Map values) {
internalGetMutableClientLabels().getMutableMap()
.putAll(values);
return this;
}
@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:v1.ConfigFileGroupRequest)
}
// @@protoc_insertion_point(class_scope:v1.ConfigFileGroupRequest)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigFileGroupRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigDiscoverRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigDiscoverRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .v1.ConfigDiscoverRequest.ConfigDiscoverRequestType type = 1;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .v1.ConfigDiscoverRequest.ConfigDiscoverRequestType type = 1;
* @return The type.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType getType();
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
* @return Whether the configFile field is set.
*/
boolean hasConfigFile();
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
* @return The configFile.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFile();
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileOrBuilder();
/**
* string revision = 3;
* @return The revision.
*/
java.lang.String getRevision();
/**
* string revision = 3;
* @return The bytes for revision.
*/
com.google.protobuf.ByteString
getRevisionBytes();
}
/**
* Protobuf type {@code v1.ConfigDiscoverRequest}
*/
public static final class ConfigDiscoverRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigDiscoverRequest)
ConfigDiscoverRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigDiscoverRequest.newBuilder() to construct.
private ConfigDiscoverRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigDiscoverRequest() {
type_ = 0;
revision_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigDiscoverRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.Builder.class);
}
/**
* Protobuf enum {@code v1.ConfigDiscoverRequest.ConfigDiscoverRequestType}
*/
public enum ConfigDiscoverRequestType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN = 0;
*/
UNKNOWN(0),
/**
* CONFIG_FILE = 1;
*/
CONFIG_FILE(1),
/**
* CONFIG_FILE_Names = 2;
*/
CONFIG_FILE_Names(2),
/**
* CONFIG_FILE_GROUPS = 3;
*/
CONFIG_FILE_GROUPS(3),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN = 0;
*/
public static final int UNKNOWN_VALUE = 0;
/**
* CONFIG_FILE = 1;
*/
public static final int CONFIG_FILE_VALUE = 1;
/**
* CONFIG_FILE_Names = 2;
*/
public static final int CONFIG_FILE_Names_VALUE = 2;
/**
* CONFIG_FILE_GROUPS = 3;
*/
public static final int CONFIG_FILE_GROUPS_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ConfigDiscoverRequestType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ConfigDiscoverRequestType forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return CONFIG_FILE;
case 2: return CONFIG_FILE_Names;
case 3: return CONFIG_FILE_GROUPS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ConfigDiscoverRequestType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ConfigDiscoverRequestType findValueByNumber(int number) {
return ConfigDiscoverRequestType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.getDescriptor().getEnumTypes().get(0);
}
private static final ConfigDiscoverRequestType[] VALUES = values();
public static ConfigDiscoverRequestType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ConfigDiscoverRequestType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:v1.ConfigDiscoverRequest.ConfigDiscoverRequestType)
}
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* .v1.ConfigDiscoverRequest.ConfigDiscoverRequestType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .v1.ConfigDiscoverRequest.ConfigDiscoverRequestType type = 1;
* @return The type.
*/
@java.lang.Override public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType getType() {
@SuppressWarnings("deprecation")
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType result = com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType.valueOf(type_);
return result == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType.UNRECOGNIZED : result;
}
public static final int CONFIG_FILE_FIELD_NUMBER = 2;
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo configFile_;
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
* @return Whether the configFile field is set.
*/
@java.lang.Override
public boolean hasConfigFile() {
return configFile_ != null;
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
* @return The configFile.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFile() {
return configFile_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance() : configFile_;
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileOrBuilder() {
return getConfigFile();
}
public static final int REVISION_FIELD_NUMBER = 3;
private volatile java.lang.Object revision_;
/**
* string revision = 3;
* @return The revision.
*/
@java.lang.Override
public java.lang.String getRevision() {
java.lang.Object ref = revision_;
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();
revision_ = s;
return s;
}
}
/**
* string revision = 3;
* @return The bytes for revision.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRevisionBytes() {
java.lang.Object ref = revision_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
revision_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (type_ != com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType.UNKNOWN.getNumber()) {
output.writeEnum(1, type_);
}
if (configFile_ != null) {
output.writeMessage(2, getConfigFile());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revision_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, revision_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (type_ != com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
if (configFile_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getConfigFile());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revision_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, revision_);
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest) obj;
if (type_ != other.type_) return false;
if (hasConfigFile() != other.hasConfigFile()) return false;
if (hasConfigFile()) {
if (!getConfigFile()
.equals(other.getConfigFile())) return false;
}
if (!getRevision()
.equals(other.getRevision())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
if (hasConfigFile()) {
hash = (37 * hash) + CONFIG_FILE_FIELD_NUMBER;
hash = (53 * hash) + getConfigFile().hashCode();
}
hash = (37 * hash) + REVISION_FIELD_NUMBER;
hash = (53 * hash) + getRevision().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest 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 v1.ConfigDiscoverRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigDiscoverRequest)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
type_ = 0;
if (configFileBuilder_ == null) {
configFile_ = null;
} else {
configFile_ = null;
configFileBuilder_ = null;
}
revision_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverRequest_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest(this);
result.type_ = type_;
if (configFileBuilder_ == null) {
result.configFile_ = configFile_;
} else {
result.configFile_ = configFileBuilder_.build();
}
result.revision_ = revision_;
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.getDefaultInstance()) return this;
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (other.hasConfigFile()) {
mergeConfigFile(other.getConfigFile());
}
if (!other.getRevision().isEmpty()) {
revision_ = other.revision_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
type_ = input.readEnum();
break;
} // case 8
case 18: {
input.readMessage(
getConfigFileFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
revision_ = input.readStringRequireUtf8();
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int type_ = 0;
/**
* .v1.ConfigDiscoverRequest.ConfigDiscoverRequestType type = 1;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .v1.ConfigDiscoverRequest.ConfigDiscoverRequestType type = 1;
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
onChanged();
return this;
}
/**
* .v1.ConfigDiscoverRequest.ConfigDiscoverRequestType type = 1;
* @return The type.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType getType() {
@SuppressWarnings("deprecation")
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType result = com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType.valueOf(type_);
return result == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType.UNRECOGNIZED : result;
}
/**
* .v1.ConfigDiscoverRequest.ConfigDiscoverRequestType type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest.ConfigDiscoverRequestType value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .v1.ConfigDiscoverRequest.ConfigDiscoverRequestType type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo configFile_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder> configFileBuilder_;
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
* @return Whether the configFile field is set.
*/
public boolean hasConfigFile() {
return configFileBuilder_ != null || configFile_ != null;
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
* @return The configFile.
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFile() {
if (configFileBuilder_ == null) {
return configFile_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance() : configFile_;
} else {
return configFileBuilder_.getMessage();
}
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
*/
public Builder setConfigFile(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFile_ = value;
onChanged();
} else {
configFileBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
*/
public Builder setConfigFile(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (configFileBuilder_ == null) {
configFile_ = builderForValue.build();
onChanged();
} else {
configFileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
*/
public Builder mergeConfigFile(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileBuilder_ == null) {
if (configFile_ != null) {
configFile_ =
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.newBuilder(configFile_).mergeFrom(value).buildPartial();
} else {
configFile_ = value;
}
onChanged();
} else {
configFileBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
*/
public Builder clearConfigFile() {
if (configFileBuilder_ == null) {
configFile_ = null;
onChanged();
} else {
configFile_ = null;
configFileBuilder_ = null;
}
return this;
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder getConfigFileBuilder() {
onChanged();
return getConfigFileFieldBuilder().getBuilder();
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileOrBuilder() {
if (configFileBuilder_ != null) {
return configFileBuilder_.getMessageOrBuilder();
} else {
return configFile_ == null ?
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance() : configFile_;
}
}
/**
* .v1.ClientConfigFileInfo config_file = 2 [json_name = "config_file"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileFieldBuilder() {
if (configFileBuilder_ == null) {
configFileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>(
getConfigFile(),
getParentForChildren(),
isClean());
configFile_ = null;
}
return configFileBuilder_;
}
private java.lang.Object revision_ = "";
/**
* string revision = 3;
* @return The revision.
*/
public java.lang.String getRevision() {
java.lang.Object ref = revision_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
revision_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string revision = 3;
* @return The bytes for revision.
*/
public com.google.protobuf.ByteString
getRevisionBytes() {
java.lang.Object ref = revision_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
revision_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string revision = 3;
* @param value The revision to set.
* @return This builder for chaining.
*/
public Builder setRevision(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
revision_ = value;
onChanged();
return this;
}
/**
* string revision = 3;
* @return This builder for chaining.
*/
public Builder clearRevision() {
revision_ = getDefaultInstance().getRevision();
onChanged();
return this;
}
/**
* string revision = 3;
* @param value The bytes for revision to set.
* @return This builder for chaining.
*/
public Builder setRevisionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
revision_ = value;
onChanged();
return this;
}
@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:v1.ConfigDiscoverRequest)
}
// @@protoc_insertion_point(class_scope:v1.ConfigDiscoverRequest)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigDiscoverRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigDiscoverResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.ConfigDiscoverResponse)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 code = 1;
* @return The code.
*/
int getCode();
/**
* string info = 2;
* @return The info.
*/
java.lang.String getInfo();
/**
* string info = 2;
* @return The bytes for info.
*/
com.google.protobuf.ByteString
getInfoBytes();
/**
* string revision = 3;
* @return The revision.
*/
java.lang.String getRevision();
/**
* string revision = 3;
* @return The bytes for revision.
*/
com.google.protobuf.ByteString
getRevisionBytes();
/**
* .v1.ConfigDiscoverResponse.ConfigDiscoverResponseType type = 4;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .v1.ConfigDiscoverResponse.ConfigDiscoverResponseType type = 4;
* @return The type.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType getType();
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
* @return Whether the configFile field is set.
*/
boolean hasConfigFile();
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
* @return The configFile.
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFile();
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileOrBuilder();
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
java.util.List
getConfigFileNamesList();
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFileNames(int index);
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
int getConfigFileNamesCount();
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileNamesOrBuilderList();
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileNamesOrBuilder(
int index);
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
java.util.List
getConfigFileGroupsList();
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroups(int index);
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
int getConfigFileGroupsCount();
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupsOrBuilderList();
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupsOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.ConfigDiscoverResponse}
*/
public static final class ConfigDiscoverResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.ConfigDiscoverResponse)
ConfigDiscoverResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConfigDiscoverResponse.newBuilder() to construct.
private ConfigDiscoverResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConfigDiscoverResponse() {
info_ = "";
revision_ = "";
type_ = 0;
configFileNames_ = java.util.Collections.emptyList();
configFileGroups_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConfigDiscoverResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.Builder.class);
}
/**
* Protobuf enum {@code v1.ConfigDiscoverResponse.ConfigDiscoverResponseType}
*/
public enum ConfigDiscoverResponseType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNKNOWN = 0;
*/
UNKNOWN(0),
/**
* CONFIG_FILE = 1;
*/
CONFIG_FILE(1),
/**
* CONFIG_FILE_Names = 2;
*/
CONFIG_FILE_Names(2),
/**
* CONFIG_FILE_GROUPS = 3;
*/
CONFIG_FILE_GROUPS(3),
UNRECOGNIZED(-1),
;
/**
* UNKNOWN = 0;
*/
public static final int UNKNOWN_VALUE = 0;
/**
* CONFIG_FILE = 1;
*/
public static final int CONFIG_FILE_VALUE = 1;
/**
* CONFIG_FILE_Names = 2;
*/
public static final int CONFIG_FILE_Names_VALUE = 2;
/**
* CONFIG_FILE_GROUPS = 3;
*/
public static final int CONFIG_FILE_GROUPS_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ConfigDiscoverResponseType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ConfigDiscoverResponseType forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return CONFIG_FILE;
case 2: return CONFIG_FILE_Names;
case 3: return CONFIG_FILE_GROUPS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ConfigDiscoverResponseType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ConfigDiscoverResponseType findValueByNumber(int number) {
return ConfigDiscoverResponseType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.getDescriptor().getEnumTypes().get(0);
}
private static final ConfigDiscoverResponseType[] VALUES = values();
public static ConfigDiscoverResponseType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ConfigDiscoverResponseType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:v1.ConfigDiscoverResponse.ConfigDiscoverResponseType)
}
public static final int CODE_FIELD_NUMBER = 1;
private int code_;
/**
* uint32 code = 1;
* @return The code.
*/
@java.lang.Override
public int getCode() {
return code_;
}
public static final int INFO_FIELD_NUMBER = 2;
private volatile java.lang.Object info_;
/**
* string info = 2;
* @return The info.
*/
@java.lang.Override
public java.lang.String getInfo() {
java.lang.Object ref = info_;
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();
info_ = s;
return s;
}
}
/**
* string info = 2;
* @return The bytes for info.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInfoBytes() {
java.lang.Object ref = info_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
info_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REVISION_FIELD_NUMBER = 3;
private volatile java.lang.Object revision_;
/**
* string revision = 3;
* @return The revision.
*/
@java.lang.Override
public java.lang.String getRevision() {
java.lang.Object ref = revision_;
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();
revision_ = s;
return s;
}
}
/**
* string revision = 3;
* @return The bytes for revision.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRevisionBytes() {
java.lang.Object ref = revision_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
revision_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 4;
private int type_;
/**
* .v1.ConfigDiscoverResponse.ConfigDiscoverResponseType type = 4;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .v1.ConfigDiscoverResponse.ConfigDiscoverResponseType type = 4;
* @return The type.
*/
@java.lang.Override public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType getType() {
@SuppressWarnings("deprecation")
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType result = com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType.valueOf(type_);
return result == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType.UNRECOGNIZED : result;
}
public static final int CONFIG_FILE_FIELD_NUMBER = 5;
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo configFile_;
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
* @return Whether the configFile field is set.
*/
@java.lang.Override
public boolean hasConfigFile() {
return configFile_ != null;
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
* @return The configFile.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFile() {
return configFile_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance() : configFile_;
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileOrBuilder() {
return getConfigFile();
}
public static final int CONFIG_FILE_NAMES_FIELD_NUMBER = 6;
private java.util.List configFileNames_;
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
@java.lang.Override
public java.util.List getConfigFileNamesList() {
return configFileNames_;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileNamesOrBuilderList() {
return configFileNames_;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
@java.lang.Override
public int getConfigFileNamesCount() {
return configFileNames_.size();
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFileNames(int index) {
return configFileNames_.get(index);
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileNamesOrBuilder(
int index) {
return configFileNames_.get(index);
}
public static final int CONFIG_FILE_GROUPS_FIELD_NUMBER = 7;
private java.util.List configFileGroups_;
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
@java.lang.Override
public java.util.List getConfigFileGroupsList() {
return configFileGroups_;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
@java.lang.Override
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupsOrBuilderList() {
return configFileGroups_;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
@java.lang.Override
public int getConfigFileGroupsCount() {
return configFileGroups_.size();
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroups(int index) {
return configFileGroups_.get(index);
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupsOrBuilder(
int index) {
return configFileGroups_.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 (code_ != 0) {
output.writeUInt32(1, code_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(info_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, info_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revision_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, revision_);
}
if (type_ != com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType.UNKNOWN.getNumber()) {
output.writeEnum(4, type_);
}
if (configFile_ != null) {
output.writeMessage(5, getConfigFile());
}
for (int i = 0; i < configFileNames_.size(); i++) {
output.writeMessage(6, configFileNames_.get(i));
}
for (int i = 0; i < configFileGroups_.size(); i++) {
output.writeMessage(7, configFileGroups_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (code_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, code_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(info_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, info_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revision_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, revision_);
}
if (type_ != com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType.UNKNOWN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, type_);
}
if (configFile_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getConfigFile());
}
for (int i = 0; i < configFileNames_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, configFileNames_.get(i));
}
for (int i = 0; i < configFileGroups_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, configFileGroups_.get(i));
}
size += getUnknownFields().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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse other = (com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse) obj;
if (getCode()
!= other.getCode()) return false;
if (!getInfo()
.equals(other.getInfo())) return false;
if (!getRevision()
.equals(other.getRevision())) return false;
if (type_ != other.type_) return false;
if (hasConfigFile() != other.hasConfigFile()) return false;
if (hasConfigFile()) {
if (!getConfigFile()
.equals(other.getConfigFile())) return false;
}
if (!getConfigFileNamesList()
.equals(other.getConfigFileNamesList())) return false;
if (!getConfigFileGroupsList()
.equals(other.getConfigFileGroupsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + CODE_FIELD_NUMBER;
hash = (53 * hash) + getCode();
hash = (37 * hash) + INFO_FIELD_NUMBER;
hash = (53 * hash) + getInfo().hashCode();
hash = (37 * hash) + REVISION_FIELD_NUMBER;
hash = (53 * hash) + getRevision().hashCode();
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
if (hasConfigFile()) {
hash = (37 * hash) + CONFIG_FILE_FIELD_NUMBER;
hash = (53 * hash) + getConfigFile().hashCode();
}
if (getConfigFileNamesCount() > 0) {
hash = (37 * hash) + CONFIG_FILE_NAMES_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileNamesList().hashCode();
}
if (getConfigFileGroupsCount() > 0) {
hash = (37 * hash) + CONFIG_FILE_GROUPS_FIELD_NUMBER;
hash = (53 * hash) + getConfigFileGroupsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse 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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse 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 v1.ConfigDiscoverResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.ConfigDiscoverResponse)
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.class, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
code_ = 0;
info_ = "";
revision_ = "";
type_ = 0;
if (configFileBuilder_ == null) {
configFile_ = null;
} else {
configFile_ = null;
configFileBuilder_ = null;
}
if (configFileNamesBuilder_ == null) {
configFileNames_ = java.util.Collections.emptyList();
} else {
configFileNames_ = null;
configFileNamesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (configFileGroupsBuilder_ == null) {
configFileGroups_ = java.util.Collections.emptyList();
} else {
configFileGroups_ = null;
configFileGroupsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.internal_static_v1_ConfigDiscoverResponse_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse build() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse buildPartial() {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse result = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse(this);
int from_bitField0_ = bitField0_;
result.code_ = code_;
result.info_ = info_;
result.revision_ = revision_;
result.type_ = type_;
if (configFileBuilder_ == null) {
result.configFile_ = configFile_;
} else {
result.configFile_ = configFileBuilder_.build();
}
if (configFileNamesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
configFileNames_ = java.util.Collections.unmodifiableList(configFileNames_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.configFileNames_ = configFileNames_;
} else {
result.configFileNames_ = configFileNamesBuilder_.build();
}
if (configFileGroupsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
configFileGroups_ = java.util.Collections.unmodifiableList(configFileGroups_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.configFileGroups_ = configFileGroups_;
} else {
result.configFileGroups_ = configFileGroupsBuilder_.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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse) {
return mergeFrom((com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse other) {
if (other == com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.getDefaultInstance()) return this;
if (other.getCode() != 0) {
setCode(other.getCode());
}
if (!other.getInfo().isEmpty()) {
info_ = other.info_;
onChanged();
}
if (!other.getRevision().isEmpty()) {
revision_ = other.revision_;
onChanged();
}
if (other.type_ != 0) {
setTypeValue(other.getTypeValue());
}
if (other.hasConfigFile()) {
mergeConfigFile(other.getConfigFile());
}
if (configFileNamesBuilder_ == null) {
if (!other.configFileNames_.isEmpty()) {
if (configFileNames_.isEmpty()) {
configFileNames_ = other.configFileNames_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureConfigFileNamesIsMutable();
configFileNames_.addAll(other.configFileNames_);
}
onChanged();
}
} else {
if (!other.configFileNames_.isEmpty()) {
if (configFileNamesBuilder_.isEmpty()) {
configFileNamesBuilder_.dispose();
configFileNamesBuilder_ = null;
configFileNames_ = other.configFileNames_;
bitField0_ = (bitField0_ & ~0x00000001);
configFileNamesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigFileNamesFieldBuilder() : null;
} else {
configFileNamesBuilder_.addAllMessages(other.configFileNames_);
}
}
}
if (configFileGroupsBuilder_ == null) {
if (!other.configFileGroups_.isEmpty()) {
if (configFileGroups_.isEmpty()) {
configFileGroups_ = other.configFileGroups_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureConfigFileGroupsIsMutable();
configFileGroups_.addAll(other.configFileGroups_);
}
onChanged();
}
} else {
if (!other.configFileGroups_.isEmpty()) {
if (configFileGroupsBuilder_.isEmpty()) {
configFileGroupsBuilder_.dispose();
configFileGroupsBuilder_ = null;
configFileGroups_ = other.configFileGroups_;
bitField0_ = (bitField0_ & ~0x00000002);
configFileGroupsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConfigFileGroupsFieldBuilder() : null;
} else {
configFileGroupsBuilder_.addAllMessages(other.configFileGroups_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
code_ = input.readUInt32();
break;
} // case 8
case 18: {
info_ = input.readStringRequireUtf8();
break;
} // case 18
case 26: {
revision_ = input.readStringRequireUtf8();
break;
} // case 26
case 32: {
type_ = input.readEnum();
break;
} // case 32
case 42: {
input.readMessage(
getConfigFileFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.parser(),
extensionRegistry);
if (configFileNamesBuilder_ == null) {
ensureConfigFileNamesIsMutable();
configFileNames_.add(m);
} else {
configFileNamesBuilder_.addMessage(m);
}
break;
} // case 50
case 58: {
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup m =
input.readMessage(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.parser(),
extensionRegistry);
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(m);
} else {
configFileGroupsBuilder_.addMessage(m);
}
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int code_ ;
/**
* uint32 code = 1;
* @return The code.
*/
@java.lang.Override
public int getCode() {
return code_;
}
/**
* uint32 code = 1;
* @param value The code to set.
* @return This builder for chaining.
*/
public Builder setCode(int value) {
code_ = value;
onChanged();
return this;
}
/**
* uint32 code = 1;
* @return This builder for chaining.
*/
public Builder clearCode() {
code_ = 0;
onChanged();
return this;
}
private java.lang.Object info_ = "";
/**
* string info = 2;
* @return The info.
*/
public java.lang.String getInfo() {
java.lang.Object ref = info_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
info_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string info = 2;
* @return The bytes for info.
*/
public com.google.protobuf.ByteString
getInfoBytes() {
java.lang.Object ref = info_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
info_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string info = 2;
* @param value The info to set.
* @return This builder for chaining.
*/
public Builder setInfo(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
info_ = value;
onChanged();
return this;
}
/**
* string info = 2;
* @return This builder for chaining.
*/
public Builder clearInfo() {
info_ = getDefaultInstance().getInfo();
onChanged();
return this;
}
/**
* string info = 2;
* @param value The bytes for info to set.
* @return This builder for chaining.
*/
public Builder setInfoBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
info_ = value;
onChanged();
return this;
}
private java.lang.Object revision_ = "";
/**
* string revision = 3;
* @return The revision.
*/
public java.lang.String getRevision() {
java.lang.Object ref = revision_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
revision_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string revision = 3;
* @return The bytes for revision.
*/
public com.google.protobuf.ByteString
getRevisionBytes() {
java.lang.Object ref = revision_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
revision_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string revision = 3;
* @param value The revision to set.
* @return This builder for chaining.
*/
public Builder setRevision(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
revision_ = value;
onChanged();
return this;
}
/**
* string revision = 3;
* @return This builder for chaining.
*/
public Builder clearRevision() {
revision_ = getDefaultInstance().getRevision();
onChanged();
return this;
}
/**
* string revision = 3;
* @param value The bytes for revision to set.
* @return This builder for chaining.
*/
public Builder setRevisionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
revision_ = value;
onChanged();
return this;
}
private int type_ = 0;
/**
* .v1.ConfigDiscoverResponse.ConfigDiscoverResponseType type = 4;
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override public int getTypeValue() {
return type_;
}
/**
* .v1.ConfigDiscoverResponse.ConfigDiscoverResponseType type = 4;
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
type_ = value;
onChanged();
return this;
}
/**
* .v1.ConfigDiscoverResponse.ConfigDiscoverResponseType type = 4;
* @return The type.
*/
@java.lang.Override
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType getType() {
@SuppressWarnings("deprecation")
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType result = com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType.valueOf(type_);
return result == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType.UNRECOGNIZED : result;
}
/**
* .v1.ConfigDiscoverResponse.ConfigDiscoverResponseType type = 4;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse.ConfigDiscoverResponseType value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value.getNumber();
onChanged();
return this;
}
/**
* .v1.ConfigDiscoverResponse.ConfigDiscoverResponseType type = 4;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = 0;
onChanged();
return this;
}
private com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo configFile_;
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder> configFileBuilder_;
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
* @return Whether the configFile field is set.
*/
public boolean hasConfigFile() {
return configFileBuilder_ != null || configFile_ != null;
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
* @return The configFile.
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFile() {
if (configFileBuilder_ == null) {
return configFile_ == null ? com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance() : configFile_;
} else {
return configFileBuilder_.getMessage();
}
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
*/
public Builder setConfigFile(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
configFile_ = value;
onChanged();
} else {
configFileBuilder_.setMessage(value);
}
return this;
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
*/
public Builder setConfigFile(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (configFileBuilder_ == null) {
configFile_ = builderForValue.build();
onChanged();
} else {
configFileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
*/
public Builder mergeConfigFile(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileBuilder_ == null) {
if (configFile_ != null) {
configFile_ =
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.newBuilder(configFile_).mergeFrom(value).buildPartial();
} else {
configFile_ = value;
}
onChanged();
} else {
configFileBuilder_.mergeFrom(value);
}
return this;
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
*/
public Builder clearConfigFile() {
if (configFileBuilder_ == null) {
configFile_ = null;
onChanged();
} else {
configFile_ = null;
configFileBuilder_ = null;
}
return this;
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder getConfigFileBuilder() {
onChanged();
return getConfigFileFieldBuilder().getBuilder();
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileOrBuilder() {
if (configFileBuilder_ != null) {
return configFileBuilder_.getMessageOrBuilder();
} else {
return configFile_ == null ?
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance() : configFile_;
}
}
/**
* .v1.ClientConfigFileInfo config_file = 5 [json_name = "config_file"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileFieldBuilder() {
if (configFileBuilder_ == null) {
configFileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>(
getConfigFile(),
getParentForChildren(),
isClean());
configFile_ = null;
}
return configFileBuilder_;
}
private java.util.List configFileNames_ =
java.util.Collections.emptyList();
private void ensureConfigFileNamesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
configFileNames_ = new java.util.ArrayList(configFileNames_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder> configFileNamesBuilder_;
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public java.util.List getConfigFileNamesList() {
if (configFileNamesBuilder_ == null) {
return java.util.Collections.unmodifiableList(configFileNames_);
} else {
return configFileNamesBuilder_.getMessageList();
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public int getConfigFileNamesCount() {
if (configFileNamesBuilder_ == null) {
return configFileNames_.size();
} else {
return configFileNamesBuilder_.getCount();
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo getConfigFileNames(int index) {
if (configFileNamesBuilder_ == null) {
return configFileNames_.get(index);
} else {
return configFileNamesBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public Builder setConfigFileNames(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileNamesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileNamesIsMutable();
configFileNames_.set(index, value);
onChanged();
} else {
configFileNamesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public Builder setConfigFileNames(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (configFileNamesBuilder_ == null) {
ensureConfigFileNamesIsMutable();
configFileNames_.set(index, builderForValue.build());
onChanged();
} else {
configFileNamesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public Builder addConfigFileNames(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileNamesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileNamesIsMutable();
configFileNames_.add(value);
onChanged();
} else {
configFileNamesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public Builder addConfigFileNames(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo value) {
if (configFileNamesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileNamesIsMutable();
configFileNames_.add(index, value);
onChanged();
} else {
configFileNamesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public Builder addConfigFileNames(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (configFileNamesBuilder_ == null) {
ensureConfigFileNamesIsMutable();
configFileNames_.add(builderForValue.build());
onChanged();
} else {
configFileNamesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public Builder addConfigFileNames(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder builderForValue) {
if (configFileNamesBuilder_ == null) {
ensureConfigFileNamesIsMutable();
configFileNames_.add(index, builderForValue.build());
onChanged();
} else {
configFileNamesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public Builder addAllConfigFileNames(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo> values) {
if (configFileNamesBuilder_ == null) {
ensureConfigFileNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configFileNames_);
onChanged();
} else {
configFileNamesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public Builder clearConfigFileNames() {
if (configFileNamesBuilder_ == null) {
configFileNames_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
configFileNamesBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public Builder removeConfigFileNames(int index) {
if (configFileNamesBuilder_ == null) {
ensureConfigFileNamesIsMutable();
configFileNames_.remove(index);
onChanged();
} else {
configFileNamesBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder getConfigFileNamesBuilder(
int index) {
return getConfigFileNamesFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder getConfigFileNamesOrBuilder(
int index) {
if (configFileNamesBuilder_ == null) {
return configFileNames_.get(index); } else {
return configFileNamesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileNamesOrBuilderList() {
if (configFileNamesBuilder_ != null) {
return configFileNamesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(configFileNames_);
}
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder addConfigFileNamesBuilder() {
return getConfigFileNamesFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance());
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder addConfigFileNamesBuilder(
int index) {
return getConfigFileNamesFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.getDefaultInstance());
}
/**
* repeated .v1.ClientConfigFileInfo config_file_names = 6 [json_name = "config_file_names"];
*/
public java.util.List
getConfigFileNamesBuilderList() {
return getConfigFileNamesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>
getConfigFileNamesFieldBuilder() {
if (configFileNamesBuilder_ == null) {
configFileNamesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfo.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ClientConfigFileInfoOrBuilder>(
configFileNames_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
configFileNames_ = null;
}
return configFileNamesBuilder_;
}
private java.util.List configFileGroups_ =
java.util.Collections.emptyList();
private void ensureConfigFileGroupsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
configFileGroups_ = new java.util.ArrayList(configFileGroups_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder> configFileGroupsBuilder_;
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public java.util.List getConfigFileGroupsList() {
if (configFileGroupsBuilder_ == null) {
return java.util.Collections.unmodifiableList(configFileGroups_);
} else {
return configFileGroupsBuilder_.getMessageList();
}
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public int getConfigFileGroupsCount() {
if (configFileGroupsBuilder_ == null) {
return configFileGroups_.size();
} else {
return configFileGroupsBuilder_.getCount();
}
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup getConfigFileGroups(int index) {
if (configFileGroupsBuilder_ == null) {
return configFileGroups_.get(index);
} else {
return configFileGroupsBuilder_.getMessage(index);
}
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public Builder setConfigFileGroups(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileGroupsIsMutable();
configFileGroups_.set(index, value);
onChanged();
} else {
configFileGroupsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public Builder setConfigFileGroups(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder builderForValue) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.set(index, builderForValue.build());
onChanged();
} else {
configFileGroupsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public Builder addConfigFileGroups(com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(value);
onChanged();
} else {
configFileGroupsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public Builder addConfigFileGroups(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup value) {
if (configFileGroupsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(index, value);
onChanged();
} else {
configFileGroupsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public Builder addConfigFileGroups(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder builderForValue) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(builderForValue.build());
onChanged();
} else {
configFileGroupsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public Builder addConfigFileGroups(
int index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder builderForValue) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.add(index, builderForValue.build());
onChanged();
} else {
configFileGroupsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public Builder addAllConfigFileGroups(
java.lang.Iterable extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup> values) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, configFileGroups_);
onChanged();
} else {
configFileGroupsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public Builder clearConfigFileGroups() {
if (configFileGroupsBuilder_ == null) {
configFileGroups_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
configFileGroupsBuilder_.clear();
}
return this;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public Builder removeConfigFileGroups(int index) {
if (configFileGroupsBuilder_ == null) {
ensureConfigFileGroupsIsMutable();
configFileGroups_.remove(index);
onChanged();
} else {
configFileGroupsBuilder_.remove(index);
}
return this;
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder getConfigFileGroupsBuilder(
int index) {
return getConfigFileGroupsFieldBuilder().getBuilder(index);
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder getConfigFileGroupsOrBuilder(
int index) {
if (configFileGroupsBuilder_ == null) {
return configFileGroups_.get(index); } else {
return configFileGroupsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public java.util.List extends com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupsOrBuilderList() {
if (configFileGroupsBuilder_ != null) {
return configFileGroupsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(configFileGroups_);
}
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder addConfigFileGroupsBuilder() {
return getConfigFileGroupsFieldBuilder().addBuilder(
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder addConfigFileGroupsBuilder(
int index) {
return getConfigFileGroupsFieldBuilder().addBuilder(
index, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.getDefaultInstance());
}
/**
* repeated .v1.ConfigFileGroup config_file_groups = 7 [json_name = "config_file_groups"];
*/
public java.util.List
getConfigFileGroupsBuilderList() {
return getConfigFileGroupsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>
getConfigFileGroupsFieldBuilder() {
if (configFileGroupsBuilder_ == null) {
configFileGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroup.Builder, com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigFileGroupOrBuilder>(
configFileGroups_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
configFileGroups_ = null;
}
return configFileGroupsBuilder_;
}
@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:v1.ConfigDiscoverResponse)
}
// @@protoc_insertion_point(class_scope:v1.ConfigDiscoverResponse)
private static final com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse();
}
public static com.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConfigDiscoverResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
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.tencent.polaris.specification.api.v1.config.manage.ConfigFileProto.ConfigDiscoverResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileGroup_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileGroup_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileGroup_MetadataEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileGroup_MetadataEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFile_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFile_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileTag_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileTag_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileRelease_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileRelease_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileReleaseHistory_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileReleaseHistory_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileTemplate_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileTemplate_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ClientConfigFileInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ClientConfigFileInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ClientWatchConfigFileRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ClientWatchConfigFileRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileExportRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileExportRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFilePublishInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFilePublishInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileGroupRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileGroupRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigFileGroupRequest_ClientLabelsEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigFileGroupRequest_ClientLabelsEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigDiscoverRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigDiscoverRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_ConfigDiscoverResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_ConfigDiscoverResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\021config_file.proto\022\002v1\032\036google/protobuf" +
"/wrappers.proto\032\013model.proto\"\353\007\n\017ConfigF" +
"ileGroup\022(\n\002id\030\001 \001(\0132\034.google.protobuf.U" +
"Int64Value\022*\n\004name\030\002 \001(\0132\034.google.protob" +
"uf.StringValue\022/\n\tnamespace\030\003 \001(\0132\034.goog" +
"le.protobuf.StringValue\022-\n\007comment\030\004 \001(\013" +
"2\034.google.protobuf.StringValue\0221\n\013create" +
"_time\030\005 \001(\0132\034.google.protobuf.StringValu" +
"e\022/\n\tcreate_by\030\006 \001(\0132\034.google.protobuf.S" +
"tringValue\0221\n\013modify_time\030\007 \001(\0132\034.google" +
".protobuf.StringValue\022/\n\tmodify_by\030\010 \001(\013" +
"2\034.google.protobuf.StringValue\022/\n\tfileCo" +
"unt\030\t \001(\0132\034.google.protobuf.UInt64Value\022" +
"8\n\010user_ids\030\n \003(\0132\034.google.protobuf.Stri" +
"ngValueR\010user_ids\022:\n\tgroup_ids\030\013 \003(\0132\034.g" +
"oogle.protobuf.StringValueR\tgroup_ids\022F\n" +
"\017remove_user_ids\030\r \003(\0132\034.google.protobuf" +
".StringValueR\017remove_user_ids\022H\n\020remove_" +
"group_ids\030\016 \003(\0132\034.google.protobuf.String" +
"ValueR\020remove_group_ids\022,\n\010editable\030\017 \001(" +
"\0132\032.google.protobuf.BoolValue\022+\n\005owner\030\020" +
" \001(\0132\034.google.protobuf.StringValue\022.\n\010bu" +
"siness\030\021 \001(\0132\034.google.protobuf.StringVal" +
"ue\0220\n\ndepartment\030\022 \001(\0132\034.google.protobuf" +
".StringValue\0223\n\010metadata\030\023 \003(\0132!.v1.Conf" +
"igFileGroup.MetadataEntry\032/\n\rMetadataEnt" +
"ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\254\006\n\nC" +
"onfigFile\022(\n\002id\030\001 \001(\0132\034.google.protobuf." +
"UInt64Value\022*\n\004name\030\002 \001(\0132\034.google.proto" +
"buf.StringValue\022/\n\tnamespace\030\003 \001(\0132\034.goo" +
"gle.protobuf.StringValue\022+\n\005group\030\004 \001(\0132" +
"\034.google.protobuf.StringValue\022-\n\007content" +
"\030\005 \001(\0132\034.google.protobuf.StringValue\022,\n\006" +
"format\030\006 \001(\0132\034.google.protobuf.StringVal" +
"ue\022-\n\007comment\030\007 \001(\0132\034.google.protobuf.St" +
"ringValue\022,\n\006status\030\010 \001(\0132\034.google.proto" +
"buf.StringValue\022\037\n\004tags\030\t \003(\0132\021.v1.Confi" +
"gFileTag\0221\n\013create_time\030\n \001(\0132\034.google.p" +
"rotobuf.StringValue\022/\n\tcreate_by\030\013 \001(\0132\034" +
".google.protobuf.StringValue\0221\n\013modify_t" +
"ime\030\014 \001(\0132\034.google.protobuf.StringValue\022" +
"/\n\tmodify_by\030\r \001(\0132\034.google.protobuf.Str" +
"ingValue\0222\n\014release_time\030\016 \001(\0132\034.google." +
"protobuf.StringValue\0220\n\nrelease_by\030\017 \001(\013" +
"2\034.google.protobuf.StringValue\022-\n\tencryp" +
"ted\030\020 \001(\0132\032.google.protobuf.BoolValue\0222\n" +
"\014encrypt_algo\030\021 \001(\0132\034.google.protobuf.St" +
"ringValue\"g\n\rConfigFileTag\022)\n\003key\030\001 \001(\0132" +
"\034.google.protobuf.StringValue\022+\n\005value\030\002" +
" \001(\0132\034.google.protobuf.StringValue\"\210\007\n\021C" +
"onfigFileRelease\022(\n\002id\030\001 \001(\0132\034.google.pr" +
"otobuf.UInt64Value\022*\n\004name\030\002 \001(\0132\034.googl" +
"e.protobuf.StringValue\022/\n\tnamespace\030\003 \001(" +
"\0132\034.google.protobuf.StringValue\022+\n\005group" +
"\030\004 \001(\0132\034.google.protobuf.StringValue\022/\n\t" +
"file_name\030\005 \001(\0132\034.google.protobuf.String" +
"Value\022-\n\007content\030\006 \001(\0132\034.google.protobuf" +
".StringValue\022-\n\007comment\030\007 \001(\0132\034.google.p" +
"rotobuf.StringValue\022)\n\003md5\030\010 \001(\0132\034.googl" +
"e.protobuf.StringValue\022-\n\007version\030\t \001(\0132" +
"\034.google.protobuf.UInt64Value\0221\n\013create_" +
"time\030\n \001(\0132\034.google.protobuf.StringValue" +
"\022/\n\tcreate_by\030\013 \001(\0132\034.google.protobuf.St" +
"ringValue\0221\n\013modify_time\030\014 \001(\0132\034.google." +
"protobuf.StringValue\022/\n\tmodify_by\030\r \001(\0132" +
"\034.google.protobuf.StringValue\022\037\n\004tags\030\016 " +
"\003(\0132\021.v1.ConfigFileTag\022*\n\006active\030\017 \001(\0132\032" +
".google.protobuf.BoolValue\022,\n\006format\030\020 \001" +
"(\0132\034.google.protobuf.StringValue\0229\n\023rele" +
"ase_description\030\021 \001(\0132\034.google.protobuf." +
"StringValue\0222\n\014release_type\030\022 \001(\0132\034.goog" +
"le.protobuf.StringValue\022$\n\013beta_labels\030\023" +
" \003(\0132\017.v1.ClientLabel\"\342\006\n\030ConfigFileRele" +
"aseHistory\022(\n\002id\030\001 \001(\0132\034.google.protobuf" +
".UInt64Value\022*\n\004name\030\002 \001(\0132\034.google.prot" +
"obuf.StringValue\022/\n\tnamespace\030\003 \001(\0132\034.go" +
"ogle.protobuf.StringValue\022+\n\005group\030\004 \001(\013" +
"2\034.google.protobuf.StringValue\022/\n\tfile_n" +
"ame\030\005 \001(\0132\034.google.protobuf.StringValue\022" +
"-\n\007content\030\006 \001(\0132\034.google.protobuf.Strin" +
"gValue\022,\n\006format\030\007 \001(\0132\034.google.protobuf" +
".StringValue\022-\n\007comment\030\010 \001(\0132\034.google.p" +
"rotobuf.StringValue\022)\n\003md5\030\t \001(\0132\034.googl" +
"e.protobuf.StringValue\022*\n\004type\030\n \001(\0132\034.g" +
"oogle.protobuf.StringValue\022,\n\006status\030\013 \001" +
"(\0132\034.google.protobuf.StringValue\022\037\n\004tags" +
"\030\014 \003(\0132\021.v1.ConfigFileTag\0221\n\013create_time" +
"\030\r \001(\0132\034.google.protobuf.StringValue\022/\n\t" +
"create_by\030\016 \001(\0132\034.google.protobuf.String" +
"Value\0221\n\013modify_time\030\017 \001(\0132\034.google.prot" +
"obuf.StringValue\022/\n\tmodify_by\030\020 \001(\0132\034.go" +
"ogle.protobuf.StringValue\022,\n\006reason\030\021 \001(" +
"\0132\034.google.protobuf.StringValue\0229\n\023relea" +
"se_description\030\022 \001(\0132\034.google.protobuf.S" +
"tringValue\"\276\003\n\022ConfigFileTemplate\022(\n\002id\030" +
"\001 \001(\0132\034.google.protobuf.UInt64Value\022*\n\004n" +
"ame\030\002 \001(\0132\034.google.protobuf.StringValue\022" +
"-\n\007content\030\003 \001(\0132\034.google.protobuf.Strin" +
"gValue\022,\n\006format\030\004 \001(\0132\034.google.protobuf" +
".StringValue\022-\n\007comment\030\005 \001(\0132\034.google.p" +
"rotobuf.StringValue\0221\n\013create_time\030\006 \001(\013" +
"2\034.google.protobuf.StringValue\022/\n\tcreate" +
"_by\030\007 \001(\0132\034.google.protobuf.StringValue\022" +
"1\n\013modify_time\030\010 \001(\0132\034.google.protobuf.S" +
"tringValue\022/\n\tmodify_by\030\t \001(\0132\034.google.p" +
"rotobuf.StringValue\"\236\004\n\024ClientConfigFile" +
"Info\022/\n\tnamespace\030\001 \001(\0132\034.google.protobu" +
"f.StringValue\022+\n\005group\030\002 \001(\0132\034.google.pr" +
"otobuf.StringValue\022/\n\tfile_name\030\003 \001(\0132\034." +
"google.protobuf.StringValue\022-\n\007content\030\004" +
" \001(\0132\034.google.protobuf.StringValue\022-\n\007ve" +
"rsion\030\005 \001(\0132\034.google.protobuf.UInt64Valu" +
"e\022)\n\003md5\030\006 \001(\0132\034.google.protobuf.StringV" +
"alue\022\037\n\004tags\030\007 \003(\0132\021.v1.ConfigFileTag\022-\n" +
"\tencrypted\030\010 \001(\0132\032.google.protobuf.BoolV" +
"alue\0220\n\npublic_key\030\t \001(\0132\034.google.protob" +
"uf.StringValue\022*\n\004name\030\n \001(\0132\034.google.pr" +
"otobuf.StringValue\022@\n\014release_time\030\013 \001(\013" +
"2\034.google.protobuf.StringValueR\014release_" +
"time\"\262\001\n\034ClientWatchConfigFileRequest\022/\n" +
"\tclient_ip\030\001 \001(\0132\034.google.protobuf.Strin" +
"gValue\0222\n\014service_name\030\002 \001(\0132\034.google.pr" +
"otobuf.StringValue\022-\n\013watch_files\030\003 \003(\0132" +
"\030.v1.ClientConfigFileInfo\"\245\001\n\027ConfigFile" +
"ExportRequest\022/\n\tnamespace\030\001 \001(\0132\034.googl" +
"e.protobuf.StringValue\022,\n\006groups\030\002 \003(\0132\034" +
".google.protobuf.StringValue\022+\n\005names\030\003 " +
"\003(\0132\034.google.protobuf.StringValue\"\366\005\n\025Co" +
"nfigFilePublishInfo\022@\n\014release_name\030\001 \001(" +
"\0132\034.google.protobuf.StringValueR\014release" +
"_name\022/\n\tnamespace\030\002 \001(\0132\034.google.protob" +
"uf.StringValue\022+\n\005group\030\003 \001(\0132\034.google.p" +
"rotobuf.StringValue\022:\n\tfile_name\030\004 \001(\0132\034" +
".google.protobuf.StringValueR\tfile_name\022" +
"-\n\007content\030\005 \001(\0132\034.google.protobuf.Strin" +
"gValue\022-\n\007comment\030\006 \001(\0132\034.google.protobu" +
"f.StringValue\022,\n\006format\030\007 \001(\0132\034.google.p" +
"rotobuf.StringValue\022N\n\023release_descripti" +
"on\030\010 \001(\0132\034.google.protobuf.StringValueR\023" +
"release_description\022:\n\tcreate_by\030\013 \001(\0132\034" +
".google.protobuf.StringValueR\tcreate_by\022" +
":\n\tmodify_by\030\r \001(\0132\034.google.protobuf.Str" +
"ingValueR\tmodify_by\022\037\n\004tags\030\016 \003(\0132\021.v1.C" +
"onfigFileTag\022)\n\003md5\030\017 \001(\0132\034.google.proto" +
"buf.StringValue\022-\n\tencrypted\030\020 \001(\0132\032.goo" +
"gle.protobuf.BoolValue\0222\n\014encrypt_algo\030\021" +
" \001(\0132\034.google.protobuf.StringValue\"\224\002\n\026C" +
"onfigFileGroupRequest\022.\n\010revision\030\001 \001(\0132" +
"\034.google.protobuf.StringValue\022A\n\021config_" +
"file_group\030\002 \001(\0132\023.v1.ConfigFileGroupR\021c" +
"onfig_file_group\022R\n\rclient_labels\030\014 \003(\0132" +
",.v1.ConfigFileGroupRequest.ClientLabels" +
"EntryR\rclient_labels\0323\n\021ClientLabelsEntr" +
"y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\222\002\n\025Co" +
"nfigDiscoverRequest\022A\n\004type\030\001 \001(\01623.v1.C" +
"onfigDiscoverRequest.ConfigDiscoverReque" +
"stType\022:\n\013config_file\030\002 \001(\0132\030.v1.ClientC" +
"onfigFileInfoR\013config_file\022\020\n\010revision\030\003" +
" \001(\t\"h\n\031ConfigDiscoverRequestType\022\013\n\007UNK" +
"NOWN\020\000\022\017\n\013CONFIG_FILE\020\001\022\025\n\021CONFIG_FILE_N" +
"ames\020\002\022\026\n\022CONFIG_FILE_GROUPS\020\003\"\277\003\n\026Confi" +
"gDiscoverResponse\022\014\n\004code\030\001 \001(\r\022\014\n\004info\030" +
"\002 \001(\t\022\020\n\010revision\030\003 \001(\t\022C\n\004type\030\004 \001(\01625." +
"v1.ConfigDiscoverResponse.ConfigDiscover" +
"ResponseType\022:\n\013config_file\030\005 \001(\0132\030.v1.C" +
"lientConfigFileInfoR\013config_file\022F\n\021conf" +
"ig_file_names\030\006 \003(\0132\030.v1.ClientConfigFil" +
"eInfoR\021config_file_names\022C\n\022config_file_" +
"groups\030\007 \003(\0132\023.v1.ConfigFileGroupR\022confi" +
"g_file_groups\"i\n\032ConfigDiscoverResponseT" +
"ype\022\013\n\007UNKNOWN\020\000\022\017\n\013CONFIG_FILE\020\001\022\025\n\021CON" +
"FIG_FILE_Names\020\002\022\026\n\022CONFIG_FILE_GROUPS\020\003" +
"B\216\001\n6com.tencent.polaris.specification.a" +
"pi.v1.config.manageB\017ConfigFileProtoZCgi" +
"thub.com/polarismesh/specification/sourc" +
"e/go/api/v1/config_manageb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.WrappersProto.getDescriptor(),
com.tencent.polaris.specification.api.v1.model.ModelProto.getDescriptor(),
});
internal_static_v1_ConfigFileGroup_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_v1_ConfigFileGroup_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileGroup_descriptor,
new java.lang.String[] { "Id", "Name", "Namespace", "Comment", "CreateTime", "CreateBy", "ModifyTime", "ModifyBy", "FileCount", "UserIds", "GroupIds", "RemoveUserIds", "RemoveGroupIds", "Editable", "Owner", "Business", "Department", "Metadata", });
internal_static_v1_ConfigFileGroup_MetadataEntry_descriptor =
internal_static_v1_ConfigFileGroup_descriptor.getNestedTypes().get(0);
internal_static_v1_ConfigFileGroup_MetadataEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileGroup_MetadataEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_v1_ConfigFile_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_v1_ConfigFile_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFile_descriptor,
new java.lang.String[] { "Id", "Name", "Namespace", "Group", "Content", "Format", "Comment", "Status", "Tags", "CreateTime", "CreateBy", "ModifyTime", "ModifyBy", "ReleaseTime", "ReleaseBy", "Encrypted", "EncryptAlgo", });
internal_static_v1_ConfigFileTag_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_v1_ConfigFileTag_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileTag_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_v1_ConfigFileRelease_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_v1_ConfigFileRelease_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileRelease_descriptor,
new java.lang.String[] { "Id", "Name", "Namespace", "Group", "FileName", "Content", "Comment", "Md5", "Version", "CreateTime", "CreateBy", "ModifyTime", "ModifyBy", "Tags", "Active", "Format", "ReleaseDescription", "ReleaseType", "BetaLabels", });
internal_static_v1_ConfigFileReleaseHistory_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_v1_ConfigFileReleaseHistory_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileReleaseHistory_descriptor,
new java.lang.String[] { "Id", "Name", "Namespace", "Group", "FileName", "Content", "Format", "Comment", "Md5", "Type", "Status", "Tags", "CreateTime", "CreateBy", "ModifyTime", "ModifyBy", "Reason", "ReleaseDescription", });
internal_static_v1_ConfigFileTemplate_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_v1_ConfigFileTemplate_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileTemplate_descriptor,
new java.lang.String[] { "Id", "Name", "Content", "Format", "Comment", "CreateTime", "CreateBy", "ModifyTime", "ModifyBy", });
internal_static_v1_ClientConfigFileInfo_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_v1_ClientConfigFileInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ClientConfigFileInfo_descriptor,
new java.lang.String[] { "Namespace", "Group", "FileName", "Content", "Version", "Md5", "Tags", "Encrypted", "PublicKey", "Name", "ReleaseTime", });
internal_static_v1_ClientWatchConfigFileRequest_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_v1_ClientWatchConfigFileRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ClientWatchConfigFileRequest_descriptor,
new java.lang.String[] { "ClientIp", "ServiceName", "WatchFiles", });
internal_static_v1_ConfigFileExportRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_v1_ConfigFileExportRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileExportRequest_descriptor,
new java.lang.String[] { "Namespace", "Groups", "Names", });
internal_static_v1_ConfigFilePublishInfo_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_v1_ConfigFilePublishInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFilePublishInfo_descriptor,
new java.lang.String[] { "ReleaseName", "Namespace", "Group", "FileName", "Content", "Comment", "Format", "ReleaseDescription", "CreateBy", "ModifyBy", "Tags", "Md5", "Encrypted", "EncryptAlgo", });
internal_static_v1_ConfigFileGroupRequest_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_v1_ConfigFileGroupRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileGroupRequest_descriptor,
new java.lang.String[] { "Revision", "ConfigFileGroup", "ClientLabels", });
internal_static_v1_ConfigFileGroupRequest_ClientLabelsEntry_descriptor =
internal_static_v1_ConfigFileGroupRequest_descriptor.getNestedTypes().get(0);
internal_static_v1_ConfigFileGroupRequest_ClientLabelsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigFileGroupRequest_ClientLabelsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_v1_ConfigDiscoverRequest_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_v1_ConfigDiscoverRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigDiscoverRequest_descriptor,
new java.lang.String[] { "Type", "ConfigFile", "Revision", });
internal_static_v1_ConfigDiscoverResponse_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_v1_ConfigDiscoverResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_ConfigDiscoverResponse_descriptor,
new java.lang.String[] { "Code", "Info", "Revision", "Type", "ConfigFile", "ConfigFileNames", "ConfigFileGroups", });
com.google.protobuf.WrappersProto.getDescriptor();
com.tencent.polaris.specification.api.v1.model.ModelProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy