com.tencent.polaris.specification.api.v1.model.NamespaceProto Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: namespace.proto
package com.tencent.polaris.specification.api.v1.model;
public final class NamespaceProto {
private NamespaceProto() {}
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 NamespaceOrBuilder extends
// @@protoc_insertion_point(interface_extends:v1.Namespace)
com.google.protobuf.MessageOrBuilder {
/**
* .google.protobuf.StringValue name = 1;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* .google.protobuf.StringValue name = 1;
* @return The name.
*/
com.google.protobuf.StringValue getName();
/**
* .google.protobuf.StringValue name = 1;
*/
com.google.protobuf.StringValueOrBuilder getNameOrBuilder();
/**
* .google.protobuf.StringValue comment = 2;
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* .google.protobuf.StringValue comment = 2;
* @return The comment.
*/
com.google.protobuf.StringValue getComment();
/**
* .google.protobuf.StringValue comment = 2;
*/
com.google.protobuf.StringValueOrBuilder getCommentOrBuilder();
/**
* .google.protobuf.StringValue owners = 3;
* @return Whether the owners field is set.
*/
boolean hasOwners();
/**
* .google.protobuf.StringValue owners = 3;
* @return The owners.
*/
com.google.protobuf.StringValue getOwners();
/**
* .google.protobuf.StringValue owners = 3;
*/
com.google.protobuf.StringValueOrBuilder getOwnersOrBuilder();
/**
* .google.protobuf.StringValue token = 4;
* @return Whether the token field is set.
*/
boolean hasToken();
/**
* .google.protobuf.StringValue token = 4;
* @return The token.
*/
com.google.protobuf.StringValue getToken();
/**
* .google.protobuf.StringValue token = 4;
*/
com.google.protobuf.StringValueOrBuilder getTokenOrBuilder();
/**
* .google.protobuf.StringValue ctime = 5;
* @return Whether the ctime field is set.
*/
boolean hasCtime();
/**
* .google.protobuf.StringValue ctime = 5;
* @return The ctime.
*/
com.google.protobuf.StringValue getCtime();
/**
* .google.protobuf.StringValue ctime = 5;
*/
com.google.protobuf.StringValueOrBuilder getCtimeOrBuilder();
/**
* .google.protobuf.StringValue mtime = 6;
* @return Whether the mtime field is set.
*/
boolean hasMtime();
/**
* .google.protobuf.StringValue mtime = 6;
* @return The mtime.
*/
com.google.protobuf.StringValue getMtime();
/**
* .google.protobuf.StringValue mtime = 6;
*/
com.google.protobuf.StringValueOrBuilder getMtimeOrBuilder();
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
* @return Whether the totalServiceCount field is set.
*/
boolean hasTotalServiceCount();
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
* @return The totalServiceCount.
*/
com.google.protobuf.UInt32Value getTotalServiceCount();
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
*/
com.google.protobuf.UInt32ValueOrBuilder getTotalServiceCountOrBuilder();
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
* @return Whether the totalHealthInstanceCount field is set.
*/
boolean hasTotalHealthInstanceCount();
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
* @return The totalHealthInstanceCount.
*/
com.google.protobuf.UInt32Value getTotalHealthInstanceCount();
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
*/
com.google.protobuf.UInt32ValueOrBuilder getTotalHealthInstanceCountOrBuilder();
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
* @return Whether the totalInstanceCount field is set.
*/
boolean hasTotalInstanceCount();
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
* @return The totalInstanceCount.
*/
com.google.protobuf.UInt32Value getTotalInstanceCount();
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
*/
com.google.protobuf.UInt32ValueOrBuilder getTotalInstanceCountOrBuilder();
/**
* 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.StringValue id = 12;
* @return Whether the id field is set.
*/
boolean hasId();
/**
* .google.protobuf.StringValue id = 12;
* @return The id.
*/
com.google.protobuf.StringValue getId();
/**
* .google.protobuf.StringValue id = 12;
*/
com.google.protobuf.StringValueOrBuilder getIdOrBuilder();
/**
* .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();
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
java.util.List
getServiceExportToList();
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
com.google.protobuf.StringValue getServiceExportTo(int index);
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
int getServiceExportToCount();
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
java.util.List extends com.google.protobuf.StringValueOrBuilder>
getServiceExportToOrBuilderList();
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
com.google.protobuf.StringValueOrBuilder getServiceExportToOrBuilder(
int index);
}
/**
* Protobuf type {@code v1.Namespace}
*/
public static final class Namespace extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:v1.Namespace)
NamespaceOrBuilder {
private static final long serialVersionUID = 0L;
// Use Namespace.newBuilder() to construct.
private Namespace(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Namespace() {
userIds_ = java.util.Collections.emptyList();
groupIds_ = java.util.Collections.emptyList();
removeUserIds_ = java.util.Collections.emptyList();
removeGroupIds_ = java.util.Collections.emptyList();
serviceExportTo_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Namespace();
}
@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.model.NamespaceProto.internal_static_v1_Namespace_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.model.NamespaceProto.internal_static_v1_Namespace_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace.class, com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private com.google.protobuf.StringValue name_;
/**
* .google.protobuf.StringValue name = 1;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return name_ != null;
}
/**
* .google.protobuf.StringValue name = 1;
* @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 = 1;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getNameOrBuilder() {
return getName();
}
public static final int COMMENT_FIELD_NUMBER = 2;
private com.google.protobuf.StringValue comment_;
/**
* .google.protobuf.StringValue comment = 2;
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 2;
* @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 = 2;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCommentOrBuilder() {
return getComment();
}
public static final int OWNERS_FIELD_NUMBER = 3;
private com.google.protobuf.StringValue owners_;
/**
* .google.protobuf.StringValue owners = 3;
* @return Whether the owners field is set.
*/
@java.lang.Override
public boolean hasOwners() {
return owners_ != null;
}
/**
* .google.protobuf.StringValue owners = 3;
* @return The owners.
*/
@java.lang.Override
public com.google.protobuf.StringValue getOwners() {
return owners_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : owners_;
}
/**
* .google.protobuf.StringValue owners = 3;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getOwnersOrBuilder() {
return getOwners();
}
public static final int TOKEN_FIELD_NUMBER = 4;
private com.google.protobuf.StringValue token_;
/**
* .google.protobuf.StringValue token = 4;
* @return Whether the token field is set.
*/
@java.lang.Override
public boolean hasToken() {
return token_ != null;
}
/**
* .google.protobuf.StringValue token = 4;
* @return The token.
*/
@java.lang.Override
public com.google.protobuf.StringValue getToken() {
return token_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : token_;
}
/**
* .google.protobuf.StringValue token = 4;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getTokenOrBuilder() {
return getToken();
}
public static final int CTIME_FIELD_NUMBER = 5;
private com.google.protobuf.StringValue ctime_;
/**
* .google.protobuf.StringValue ctime = 5;
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ctime_ != null;
}
/**
* .google.protobuf.StringValue ctime = 5;
* @return The ctime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getCtime() {
return ctime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : ctime_;
}
/**
* .google.protobuf.StringValue ctime = 5;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getCtimeOrBuilder() {
return getCtime();
}
public static final int MTIME_FIELD_NUMBER = 6;
private com.google.protobuf.StringValue mtime_;
/**
* .google.protobuf.StringValue mtime = 6;
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return mtime_ != null;
}
/**
* .google.protobuf.StringValue mtime = 6;
* @return The mtime.
*/
@java.lang.Override
public com.google.protobuf.StringValue getMtime() {
return mtime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : mtime_;
}
/**
* .google.protobuf.StringValue mtime = 6;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getMtimeOrBuilder() {
return getMtime();
}
public static final int TOTAL_SERVICE_COUNT_FIELD_NUMBER = 7;
private com.google.protobuf.UInt32Value totalServiceCount_;
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
* @return Whether the totalServiceCount field is set.
*/
@java.lang.Override
public boolean hasTotalServiceCount() {
return totalServiceCount_ != null;
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
* @return The totalServiceCount.
*/
@java.lang.Override
public com.google.protobuf.UInt32Value getTotalServiceCount() {
return totalServiceCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : totalServiceCount_;
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
*/
@java.lang.Override
public com.google.protobuf.UInt32ValueOrBuilder getTotalServiceCountOrBuilder() {
return getTotalServiceCount();
}
public static final int TOTAL_HEALTH_INSTANCE_COUNT_FIELD_NUMBER = 8;
private com.google.protobuf.UInt32Value totalHealthInstanceCount_;
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
* @return Whether the totalHealthInstanceCount field is set.
*/
@java.lang.Override
public boolean hasTotalHealthInstanceCount() {
return totalHealthInstanceCount_ != null;
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
* @return The totalHealthInstanceCount.
*/
@java.lang.Override
public com.google.protobuf.UInt32Value getTotalHealthInstanceCount() {
return totalHealthInstanceCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : totalHealthInstanceCount_;
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
*/
@java.lang.Override
public com.google.protobuf.UInt32ValueOrBuilder getTotalHealthInstanceCountOrBuilder() {
return getTotalHealthInstanceCount();
}
public static final int TOTAL_INSTANCE_COUNT_FIELD_NUMBER = 9;
private com.google.protobuf.UInt32Value totalInstanceCount_;
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
* @return Whether the totalInstanceCount field is set.
*/
@java.lang.Override
public boolean hasTotalInstanceCount() {
return totalInstanceCount_ != null;
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
* @return The totalInstanceCount.
*/
@java.lang.Override
public com.google.protobuf.UInt32Value getTotalInstanceCount() {
return totalInstanceCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : totalInstanceCount_;
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
*/
@java.lang.Override
public com.google.protobuf.UInt32ValueOrBuilder getTotalInstanceCountOrBuilder() {
return getTotalInstanceCount();
}
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 ID_FIELD_NUMBER = 12;
private com.google.protobuf.StringValue id_;
/**
* .google.protobuf.StringValue id = 12;
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return id_ != null;
}
/**
* .google.protobuf.StringValue id = 12;
* @return The id.
*/
@java.lang.Override
public com.google.protobuf.StringValue getId() {
return id_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : id_;
}
/**
* .google.protobuf.StringValue id = 12;
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getIdOrBuilder() {
return getId();
}
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 SERVICE_EXPORT_TO_FIELD_NUMBER = 16;
private java.util.List serviceExportTo_;
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
@java.lang.Override
public java.util.List getServiceExportToList() {
return serviceExportTo_;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
@java.lang.Override
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getServiceExportToOrBuilderList() {
return serviceExportTo_;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
@java.lang.Override
public int getServiceExportToCount() {
return serviceExportTo_.size();
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
@java.lang.Override
public com.google.protobuf.StringValue getServiceExportTo(int index) {
return serviceExportTo_.get(index);
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
@java.lang.Override
public com.google.protobuf.StringValueOrBuilder getServiceExportToOrBuilder(
int index) {
return serviceExportTo_.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 (name_ != null) {
output.writeMessage(1, getName());
}
if (comment_ != null) {
output.writeMessage(2, getComment());
}
if (owners_ != null) {
output.writeMessage(3, getOwners());
}
if (token_ != null) {
output.writeMessage(4, getToken());
}
if (ctime_ != null) {
output.writeMessage(5, getCtime());
}
if (mtime_ != null) {
output.writeMessage(6, getMtime());
}
if (totalServiceCount_ != null) {
output.writeMessage(7, getTotalServiceCount());
}
if (totalHealthInstanceCount_ != null) {
output.writeMessage(8, getTotalHealthInstanceCount());
}
if (totalInstanceCount_ != null) {
output.writeMessage(9, getTotalInstanceCount());
}
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));
}
if (id_ != null) {
output.writeMessage(12, getId());
}
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());
}
for (int i = 0; i < serviceExportTo_.size(); i++) {
output.writeMessage(16, serviceExportTo_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (name_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getName());
}
if (comment_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getComment());
}
if (owners_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getOwners());
}
if (token_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getToken());
}
if (ctime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getCtime());
}
if (mtime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getMtime());
}
if (totalServiceCount_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getTotalServiceCount());
}
if (totalHealthInstanceCount_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getTotalHealthInstanceCount());
}
if (totalInstanceCount_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getTotalInstanceCount());
}
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));
}
if (id_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getId());
}
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());
}
for (int i = 0; i < serviceExportTo_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, serviceExportTo_.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.model.NamespaceProto.Namespace)) {
return super.equals(obj);
}
com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace other = (com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace) obj;
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasOwners() != other.hasOwners()) return false;
if (hasOwners()) {
if (!getOwners()
.equals(other.getOwners())) return false;
}
if (hasToken() != other.hasToken()) return false;
if (hasToken()) {
if (!getToken()
.equals(other.getToken())) return false;
}
if (hasCtime() != other.hasCtime()) return false;
if (hasCtime()) {
if (!getCtime()
.equals(other.getCtime())) return false;
}
if (hasMtime() != other.hasMtime()) return false;
if (hasMtime()) {
if (!getMtime()
.equals(other.getMtime())) return false;
}
if (hasTotalServiceCount() != other.hasTotalServiceCount()) return false;
if (hasTotalServiceCount()) {
if (!getTotalServiceCount()
.equals(other.getTotalServiceCount())) return false;
}
if (hasTotalHealthInstanceCount() != other.hasTotalHealthInstanceCount()) return false;
if (hasTotalHealthInstanceCount()) {
if (!getTotalHealthInstanceCount()
.equals(other.getTotalHealthInstanceCount())) return false;
}
if (hasTotalInstanceCount() != other.hasTotalInstanceCount()) return false;
if (hasTotalInstanceCount()) {
if (!getTotalInstanceCount()
.equals(other.getTotalInstanceCount())) 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 (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasEditable() != other.hasEditable()) return false;
if (hasEditable()) {
if (!getEditable()
.equals(other.getEditable())) return false;
}
if (!getServiceExportToList()
.equals(other.getServiceExportToList())) 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 (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasOwners()) {
hash = (37 * hash) + OWNERS_FIELD_NUMBER;
hash = (53 * hash) + getOwners().hashCode();
}
if (hasToken()) {
hash = (37 * hash) + TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getToken().hashCode();
}
if (hasCtime()) {
hash = (37 * hash) + CTIME_FIELD_NUMBER;
hash = (53 * hash) + getCtime().hashCode();
}
if (hasMtime()) {
hash = (37 * hash) + MTIME_FIELD_NUMBER;
hash = (53 * hash) + getMtime().hashCode();
}
if (hasTotalServiceCount()) {
hash = (37 * hash) + TOTAL_SERVICE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getTotalServiceCount().hashCode();
}
if (hasTotalHealthInstanceCount()) {
hash = (37 * hash) + TOTAL_HEALTH_INSTANCE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getTotalHealthInstanceCount().hashCode();
}
if (hasTotalInstanceCount()) {
hash = (37 * hash) + TOTAL_INSTANCE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getTotalInstanceCount().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 (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasEditable()) {
hash = (37 * hash) + EDITABLE_FIELD_NUMBER;
hash = (53 * hash) + getEditable().hashCode();
}
if (getServiceExportToCount() > 0) {
hash = (37 * hash) + SERVICE_EXPORT_TO_FIELD_NUMBER;
hash = (53 * hash) + getServiceExportToList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace 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.model.NamespaceProto.Namespace parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace 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.model.NamespaceProto.Namespace parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace 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.model.NamespaceProto.Namespace 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.model.NamespaceProto.Namespace 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.model.NamespaceProto.Namespace 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.model.NamespaceProto.Namespace 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.model.NamespaceProto.Namespace 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.model.NamespaceProto.Namespace 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.model.NamespaceProto.Namespace 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.Namespace}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:v1.Namespace)
com.tencent.polaris.specification.api.v1.model.NamespaceProto.NamespaceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.tencent.polaris.specification.api.v1.model.NamespaceProto.internal_static_v1_Namespace_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.tencent.polaris.specification.api.v1.model.NamespaceProto.internal_static_v1_Namespace_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace.class, com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace.Builder.class);
}
// Construct using com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (nameBuilder_ == null) {
name_ = null;
} else {
name_ = null;
nameBuilder_ = null;
}
if (commentBuilder_ == null) {
comment_ = null;
} else {
comment_ = null;
commentBuilder_ = null;
}
if (ownersBuilder_ == null) {
owners_ = null;
} else {
owners_ = null;
ownersBuilder_ = null;
}
if (tokenBuilder_ == null) {
token_ = null;
} else {
token_ = null;
tokenBuilder_ = null;
}
if (ctimeBuilder_ == null) {
ctime_ = null;
} else {
ctime_ = null;
ctimeBuilder_ = null;
}
if (mtimeBuilder_ == null) {
mtime_ = null;
} else {
mtime_ = null;
mtimeBuilder_ = null;
}
if (totalServiceCountBuilder_ == null) {
totalServiceCount_ = null;
} else {
totalServiceCount_ = null;
totalServiceCountBuilder_ = null;
}
if (totalHealthInstanceCountBuilder_ == null) {
totalHealthInstanceCount_ = null;
} else {
totalHealthInstanceCount_ = null;
totalHealthInstanceCountBuilder_ = null;
}
if (totalInstanceCountBuilder_ == null) {
totalInstanceCount_ = null;
} else {
totalInstanceCount_ = null;
totalInstanceCountBuilder_ = 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 (idBuilder_ == null) {
id_ = null;
} else {
id_ = null;
idBuilder_ = null;
}
if (editableBuilder_ == null) {
editable_ = null;
} else {
editable_ = null;
editableBuilder_ = null;
}
if (serviceExportToBuilder_ == null) {
serviceExportTo_ = java.util.Collections.emptyList();
} else {
serviceExportTo_ = null;
serviceExportToBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.tencent.polaris.specification.api.v1.model.NamespaceProto.internal_static_v1_Namespace_descriptor;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace getDefaultInstanceForType() {
return com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace.getDefaultInstance();
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace build() {
com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace buildPartial() {
com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace result = new com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace(this);
int from_bitField0_ = bitField0_;
if (nameBuilder_ == null) {
result.name_ = name_;
} else {
result.name_ = nameBuilder_.build();
}
if (commentBuilder_ == null) {
result.comment_ = comment_;
} else {
result.comment_ = commentBuilder_.build();
}
if (ownersBuilder_ == null) {
result.owners_ = owners_;
} else {
result.owners_ = ownersBuilder_.build();
}
if (tokenBuilder_ == null) {
result.token_ = token_;
} else {
result.token_ = tokenBuilder_.build();
}
if (ctimeBuilder_ == null) {
result.ctime_ = ctime_;
} else {
result.ctime_ = ctimeBuilder_.build();
}
if (mtimeBuilder_ == null) {
result.mtime_ = mtime_;
} else {
result.mtime_ = mtimeBuilder_.build();
}
if (totalServiceCountBuilder_ == null) {
result.totalServiceCount_ = totalServiceCount_;
} else {
result.totalServiceCount_ = totalServiceCountBuilder_.build();
}
if (totalHealthInstanceCountBuilder_ == null) {
result.totalHealthInstanceCount_ = totalHealthInstanceCount_;
} else {
result.totalHealthInstanceCount_ = totalHealthInstanceCountBuilder_.build();
}
if (totalInstanceCountBuilder_ == null) {
result.totalInstanceCount_ = totalInstanceCount_;
} else {
result.totalInstanceCount_ = totalInstanceCountBuilder_.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 (idBuilder_ == null) {
result.id_ = id_;
} else {
result.id_ = idBuilder_.build();
}
if (editableBuilder_ == null) {
result.editable_ = editable_;
} else {
result.editable_ = editableBuilder_.build();
}
if (serviceExportToBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
serviceExportTo_ = java.util.Collections.unmodifiableList(serviceExportTo_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.serviceExportTo_ = serviceExportTo_;
} else {
result.serviceExportTo_ = serviceExportToBuilder_.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.model.NamespaceProto.Namespace) {
return mergeFrom((com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace other) {
if (other == com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace.getDefaultInstance()) return this;
if (other.hasName()) {
mergeName(other.getName());
}
if (other.hasComment()) {
mergeComment(other.getComment());
}
if (other.hasOwners()) {
mergeOwners(other.getOwners());
}
if (other.hasToken()) {
mergeToken(other.getToken());
}
if (other.hasCtime()) {
mergeCtime(other.getCtime());
}
if (other.hasMtime()) {
mergeMtime(other.getMtime());
}
if (other.hasTotalServiceCount()) {
mergeTotalServiceCount(other.getTotalServiceCount());
}
if (other.hasTotalHealthInstanceCount()) {
mergeTotalHealthInstanceCount(other.getTotalHealthInstanceCount());
}
if (other.hasTotalInstanceCount()) {
mergeTotalInstanceCount(other.getTotalInstanceCount());
}
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.hasId()) {
mergeId(other.getId());
}
if (other.hasEditable()) {
mergeEditable(other.getEditable());
}
if (serviceExportToBuilder_ == null) {
if (!other.serviceExportTo_.isEmpty()) {
if (serviceExportTo_.isEmpty()) {
serviceExportTo_ = other.serviceExportTo_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureServiceExportToIsMutable();
serviceExportTo_.addAll(other.serviceExportTo_);
}
onChanged();
}
} else {
if (!other.serviceExportTo_.isEmpty()) {
if (serviceExportToBuilder_.isEmpty()) {
serviceExportToBuilder_.dispose();
serviceExportToBuilder_ = null;
serviceExportTo_ = other.serviceExportTo_;
bitField0_ = (bitField0_ & ~0x00000010);
serviceExportToBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getServiceExportToFieldBuilder() : null;
} else {
serviceExportToBuilder_.addAllMessages(other.serviceExportTo_);
}
}
}
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(
getNameFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getCommentFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getOwnersFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
case 34: {
input.readMessage(
getTokenFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
case 42: {
input.readMessage(
getCtimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 42
case 50: {
input.readMessage(
getMtimeFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 50
case 58: {
input.readMessage(
getTotalServiceCountFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 58
case 66: {
input.readMessage(
getTotalHealthInstanceCountFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 66
case 74: {
input.readMessage(
getTotalInstanceCountFieldBuilder().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 98: {
input.readMessage(
getIdFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 98
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: {
com.google.protobuf.StringValue m =
input.readMessage(
com.google.protobuf.StringValue.parser(),
extensionRegistry);
if (serviceExportToBuilder_ == null) {
ensureServiceExportToIsMutable();
serviceExportTo_.add(m);
} else {
serviceExportToBuilder_.addMessage(m);
}
break;
} // case 130
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 name_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> nameBuilder_;
/**
* .google.protobuf.StringValue name = 1;
* @return Whether the name field is set.
*/
public boolean hasName() {
return nameBuilder_ != null || name_ != null;
}
/**
* .google.protobuf.StringValue name = 1;
* @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 = 1;
*/
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 = 1;
*/
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 = 1;
*/
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 = 1;
*/
public Builder clearName() {
if (nameBuilder_ == null) {
name_ = null;
onChanged();
} else {
name_ = null;
nameBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue name = 1;
*/
public com.google.protobuf.StringValue.Builder getNameBuilder() {
onChanged();
return getNameFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue name = 1;
*/
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 = 1;
*/
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 comment_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> commentBuilder_;
/**
* .google.protobuf.StringValue comment = 2;
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return commentBuilder_ != null || comment_ != null;
}
/**
* .google.protobuf.StringValue comment = 2;
* @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 = 2;
*/
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 = 2;
*/
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 = 2;
*/
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 = 2;
*/
public Builder clearComment() {
if (commentBuilder_ == null) {
comment_ = null;
onChanged();
} else {
comment_ = null;
commentBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue comment = 2;
*/
public com.google.protobuf.StringValue.Builder getCommentBuilder() {
onChanged();
return getCommentFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue comment = 2;
*/
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 = 2;
*/
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 owners_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> ownersBuilder_;
/**
* .google.protobuf.StringValue owners = 3;
* @return Whether the owners field is set.
*/
public boolean hasOwners() {
return ownersBuilder_ != null || owners_ != null;
}
/**
* .google.protobuf.StringValue owners = 3;
* @return The owners.
*/
public com.google.protobuf.StringValue getOwners() {
if (ownersBuilder_ == null) {
return owners_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : owners_;
} else {
return ownersBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue owners = 3;
*/
public Builder setOwners(com.google.protobuf.StringValue value) {
if (ownersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
owners_ = value;
onChanged();
} else {
ownersBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue owners = 3;
*/
public Builder setOwners(
com.google.protobuf.StringValue.Builder builderForValue) {
if (ownersBuilder_ == null) {
owners_ = builderForValue.build();
onChanged();
} else {
ownersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue owners = 3;
*/
public Builder mergeOwners(com.google.protobuf.StringValue value) {
if (ownersBuilder_ == null) {
if (owners_ != null) {
owners_ =
com.google.protobuf.StringValue.newBuilder(owners_).mergeFrom(value).buildPartial();
} else {
owners_ = value;
}
onChanged();
} else {
ownersBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue owners = 3;
*/
public Builder clearOwners() {
if (ownersBuilder_ == null) {
owners_ = null;
onChanged();
} else {
owners_ = null;
ownersBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue owners = 3;
*/
public com.google.protobuf.StringValue.Builder getOwnersBuilder() {
onChanged();
return getOwnersFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue owners = 3;
*/
public com.google.protobuf.StringValueOrBuilder getOwnersOrBuilder() {
if (ownersBuilder_ != null) {
return ownersBuilder_.getMessageOrBuilder();
} else {
return owners_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : owners_;
}
}
/**
* .google.protobuf.StringValue owners = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getOwnersFieldBuilder() {
if (ownersBuilder_ == null) {
ownersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getOwners(),
getParentForChildren(),
isClean());
owners_ = null;
}
return ownersBuilder_;
}
private com.google.protobuf.StringValue token_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> tokenBuilder_;
/**
* .google.protobuf.StringValue token = 4;
* @return Whether the token field is set.
*/
public boolean hasToken() {
return tokenBuilder_ != null || token_ != null;
}
/**
* .google.protobuf.StringValue token = 4;
* @return The token.
*/
public com.google.protobuf.StringValue getToken() {
if (tokenBuilder_ == null) {
return token_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : token_;
} else {
return tokenBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue token = 4;
*/
public Builder setToken(com.google.protobuf.StringValue value) {
if (tokenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
token_ = value;
onChanged();
} else {
tokenBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue token = 4;
*/
public Builder setToken(
com.google.protobuf.StringValue.Builder builderForValue) {
if (tokenBuilder_ == null) {
token_ = builderForValue.build();
onChanged();
} else {
tokenBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue token = 4;
*/
public Builder mergeToken(com.google.protobuf.StringValue value) {
if (tokenBuilder_ == null) {
if (token_ != null) {
token_ =
com.google.protobuf.StringValue.newBuilder(token_).mergeFrom(value).buildPartial();
} else {
token_ = value;
}
onChanged();
} else {
tokenBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue token = 4;
*/
public Builder clearToken() {
if (tokenBuilder_ == null) {
token_ = null;
onChanged();
} else {
token_ = null;
tokenBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue token = 4;
*/
public com.google.protobuf.StringValue.Builder getTokenBuilder() {
onChanged();
return getTokenFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue token = 4;
*/
public com.google.protobuf.StringValueOrBuilder getTokenOrBuilder() {
if (tokenBuilder_ != null) {
return tokenBuilder_.getMessageOrBuilder();
} else {
return token_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : token_;
}
}
/**
* .google.protobuf.StringValue token = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getTokenFieldBuilder() {
if (tokenBuilder_ == null) {
tokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getToken(),
getParentForChildren(),
isClean());
token_ = null;
}
return tokenBuilder_;
}
private com.google.protobuf.StringValue ctime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> ctimeBuilder_;
/**
* .google.protobuf.StringValue ctime = 5;
* @return Whether the ctime field is set.
*/
public boolean hasCtime() {
return ctimeBuilder_ != null || ctime_ != null;
}
/**
* .google.protobuf.StringValue ctime = 5;
* @return The ctime.
*/
public com.google.protobuf.StringValue getCtime() {
if (ctimeBuilder_ == null) {
return ctime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : ctime_;
} else {
return ctimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue ctime = 5;
*/
public Builder setCtime(com.google.protobuf.StringValue value) {
if (ctimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ctime_ = value;
onChanged();
} else {
ctimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue ctime = 5;
*/
public Builder setCtime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (ctimeBuilder_ == null) {
ctime_ = builderForValue.build();
onChanged();
} else {
ctimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue ctime = 5;
*/
public Builder mergeCtime(com.google.protobuf.StringValue value) {
if (ctimeBuilder_ == null) {
if (ctime_ != null) {
ctime_ =
com.google.protobuf.StringValue.newBuilder(ctime_).mergeFrom(value).buildPartial();
} else {
ctime_ = value;
}
onChanged();
} else {
ctimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue ctime = 5;
*/
public Builder clearCtime() {
if (ctimeBuilder_ == null) {
ctime_ = null;
onChanged();
} else {
ctime_ = null;
ctimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue ctime = 5;
*/
public com.google.protobuf.StringValue.Builder getCtimeBuilder() {
onChanged();
return getCtimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue ctime = 5;
*/
public com.google.protobuf.StringValueOrBuilder getCtimeOrBuilder() {
if (ctimeBuilder_ != null) {
return ctimeBuilder_.getMessageOrBuilder();
} else {
return ctime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : ctime_;
}
}
/**
* .google.protobuf.StringValue ctime = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getCtimeFieldBuilder() {
if (ctimeBuilder_ == null) {
ctimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getCtime(),
getParentForChildren(),
isClean());
ctime_ = null;
}
return ctimeBuilder_;
}
private com.google.protobuf.StringValue mtime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> mtimeBuilder_;
/**
* .google.protobuf.StringValue mtime = 6;
* @return Whether the mtime field is set.
*/
public boolean hasMtime() {
return mtimeBuilder_ != null || mtime_ != null;
}
/**
* .google.protobuf.StringValue mtime = 6;
* @return The mtime.
*/
public com.google.protobuf.StringValue getMtime() {
if (mtimeBuilder_ == null) {
return mtime_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : mtime_;
} else {
return mtimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue mtime = 6;
*/
public Builder setMtime(com.google.protobuf.StringValue value) {
if (mtimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mtime_ = value;
onChanged();
} else {
mtimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue mtime = 6;
*/
public Builder setMtime(
com.google.protobuf.StringValue.Builder builderForValue) {
if (mtimeBuilder_ == null) {
mtime_ = builderForValue.build();
onChanged();
} else {
mtimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue mtime = 6;
*/
public Builder mergeMtime(com.google.protobuf.StringValue value) {
if (mtimeBuilder_ == null) {
if (mtime_ != null) {
mtime_ =
com.google.protobuf.StringValue.newBuilder(mtime_).mergeFrom(value).buildPartial();
} else {
mtime_ = value;
}
onChanged();
} else {
mtimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue mtime = 6;
*/
public Builder clearMtime() {
if (mtimeBuilder_ == null) {
mtime_ = null;
onChanged();
} else {
mtime_ = null;
mtimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue mtime = 6;
*/
public com.google.protobuf.StringValue.Builder getMtimeBuilder() {
onChanged();
return getMtimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue mtime = 6;
*/
public com.google.protobuf.StringValueOrBuilder getMtimeOrBuilder() {
if (mtimeBuilder_ != null) {
return mtimeBuilder_.getMessageOrBuilder();
} else {
return mtime_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : mtime_;
}
}
/**
* .google.protobuf.StringValue mtime = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getMtimeFieldBuilder() {
if (mtimeBuilder_ == null) {
mtimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getMtime(),
getParentForChildren(),
isClean());
mtime_ = null;
}
return mtimeBuilder_;
}
private com.google.protobuf.UInt32Value totalServiceCount_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> totalServiceCountBuilder_;
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
* @return Whether the totalServiceCount field is set.
*/
public boolean hasTotalServiceCount() {
return totalServiceCountBuilder_ != null || totalServiceCount_ != null;
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
* @return The totalServiceCount.
*/
public com.google.protobuf.UInt32Value getTotalServiceCount() {
if (totalServiceCountBuilder_ == null) {
return totalServiceCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : totalServiceCount_;
} else {
return totalServiceCountBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
*/
public Builder setTotalServiceCount(com.google.protobuf.UInt32Value value) {
if (totalServiceCountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalServiceCount_ = value;
onChanged();
} else {
totalServiceCountBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
*/
public Builder setTotalServiceCount(
com.google.protobuf.UInt32Value.Builder builderForValue) {
if (totalServiceCountBuilder_ == null) {
totalServiceCount_ = builderForValue.build();
onChanged();
} else {
totalServiceCountBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
*/
public Builder mergeTotalServiceCount(com.google.protobuf.UInt32Value value) {
if (totalServiceCountBuilder_ == null) {
if (totalServiceCount_ != null) {
totalServiceCount_ =
com.google.protobuf.UInt32Value.newBuilder(totalServiceCount_).mergeFrom(value).buildPartial();
} else {
totalServiceCount_ = value;
}
onChanged();
} else {
totalServiceCountBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
*/
public Builder clearTotalServiceCount() {
if (totalServiceCountBuilder_ == null) {
totalServiceCount_ = null;
onChanged();
} else {
totalServiceCount_ = null;
totalServiceCountBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
*/
public com.google.protobuf.UInt32Value.Builder getTotalServiceCountBuilder() {
onChanged();
return getTotalServiceCountFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
*/
public com.google.protobuf.UInt32ValueOrBuilder getTotalServiceCountOrBuilder() {
if (totalServiceCountBuilder_ != null) {
return totalServiceCountBuilder_.getMessageOrBuilder();
} else {
return totalServiceCount_ == null ?
com.google.protobuf.UInt32Value.getDefaultInstance() : totalServiceCount_;
}
}
/**
* .google.protobuf.UInt32Value total_service_count = 7 [json_name = "total_service_count"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>
getTotalServiceCountFieldBuilder() {
if (totalServiceCountBuilder_ == null) {
totalServiceCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>(
getTotalServiceCount(),
getParentForChildren(),
isClean());
totalServiceCount_ = null;
}
return totalServiceCountBuilder_;
}
private com.google.protobuf.UInt32Value totalHealthInstanceCount_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> totalHealthInstanceCountBuilder_;
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
* @return Whether the totalHealthInstanceCount field is set.
*/
public boolean hasTotalHealthInstanceCount() {
return totalHealthInstanceCountBuilder_ != null || totalHealthInstanceCount_ != null;
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
* @return The totalHealthInstanceCount.
*/
public com.google.protobuf.UInt32Value getTotalHealthInstanceCount() {
if (totalHealthInstanceCountBuilder_ == null) {
return totalHealthInstanceCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : totalHealthInstanceCount_;
} else {
return totalHealthInstanceCountBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
*/
public Builder setTotalHealthInstanceCount(com.google.protobuf.UInt32Value value) {
if (totalHealthInstanceCountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalHealthInstanceCount_ = value;
onChanged();
} else {
totalHealthInstanceCountBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
*/
public Builder setTotalHealthInstanceCount(
com.google.protobuf.UInt32Value.Builder builderForValue) {
if (totalHealthInstanceCountBuilder_ == null) {
totalHealthInstanceCount_ = builderForValue.build();
onChanged();
} else {
totalHealthInstanceCountBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
*/
public Builder mergeTotalHealthInstanceCount(com.google.protobuf.UInt32Value value) {
if (totalHealthInstanceCountBuilder_ == null) {
if (totalHealthInstanceCount_ != null) {
totalHealthInstanceCount_ =
com.google.protobuf.UInt32Value.newBuilder(totalHealthInstanceCount_).mergeFrom(value).buildPartial();
} else {
totalHealthInstanceCount_ = value;
}
onChanged();
} else {
totalHealthInstanceCountBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
*/
public Builder clearTotalHealthInstanceCount() {
if (totalHealthInstanceCountBuilder_ == null) {
totalHealthInstanceCount_ = null;
onChanged();
} else {
totalHealthInstanceCount_ = null;
totalHealthInstanceCountBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
*/
public com.google.protobuf.UInt32Value.Builder getTotalHealthInstanceCountBuilder() {
onChanged();
return getTotalHealthInstanceCountFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
*/
public com.google.protobuf.UInt32ValueOrBuilder getTotalHealthInstanceCountOrBuilder() {
if (totalHealthInstanceCountBuilder_ != null) {
return totalHealthInstanceCountBuilder_.getMessageOrBuilder();
} else {
return totalHealthInstanceCount_ == null ?
com.google.protobuf.UInt32Value.getDefaultInstance() : totalHealthInstanceCount_;
}
}
/**
* .google.protobuf.UInt32Value total_health_instance_count = 8 [json_name = "total_health_instance_count"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>
getTotalHealthInstanceCountFieldBuilder() {
if (totalHealthInstanceCountBuilder_ == null) {
totalHealthInstanceCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>(
getTotalHealthInstanceCount(),
getParentForChildren(),
isClean());
totalHealthInstanceCount_ = null;
}
return totalHealthInstanceCountBuilder_;
}
private com.google.protobuf.UInt32Value totalInstanceCount_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> totalInstanceCountBuilder_;
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
* @return Whether the totalInstanceCount field is set.
*/
public boolean hasTotalInstanceCount() {
return totalInstanceCountBuilder_ != null || totalInstanceCount_ != null;
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
* @return The totalInstanceCount.
*/
public com.google.protobuf.UInt32Value getTotalInstanceCount() {
if (totalInstanceCountBuilder_ == null) {
return totalInstanceCount_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : totalInstanceCount_;
} else {
return totalInstanceCountBuilder_.getMessage();
}
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
*/
public Builder setTotalInstanceCount(com.google.protobuf.UInt32Value value) {
if (totalInstanceCountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalInstanceCount_ = value;
onChanged();
} else {
totalInstanceCountBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
*/
public Builder setTotalInstanceCount(
com.google.protobuf.UInt32Value.Builder builderForValue) {
if (totalInstanceCountBuilder_ == null) {
totalInstanceCount_ = builderForValue.build();
onChanged();
} else {
totalInstanceCountBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
*/
public Builder mergeTotalInstanceCount(com.google.protobuf.UInt32Value value) {
if (totalInstanceCountBuilder_ == null) {
if (totalInstanceCount_ != null) {
totalInstanceCount_ =
com.google.protobuf.UInt32Value.newBuilder(totalInstanceCount_).mergeFrom(value).buildPartial();
} else {
totalInstanceCount_ = value;
}
onChanged();
} else {
totalInstanceCountBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
*/
public Builder clearTotalInstanceCount() {
if (totalInstanceCountBuilder_ == null) {
totalInstanceCount_ = null;
onChanged();
} else {
totalInstanceCount_ = null;
totalInstanceCountBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
*/
public com.google.protobuf.UInt32Value.Builder getTotalInstanceCountBuilder() {
onChanged();
return getTotalInstanceCountFieldBuilder().getBuilder();
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
*/
public com.google.protobuf.UInt32ValueOrBuilder getTotalInstanceCountOrBuilder() {
if (totalInstanceCountBuilder_ != null) {
return totalInstanceCountBuilder_.getMessageOrBuilder();
} else {
return totalInstanceCount_ == null ?
com.google.protobuf.UInt32Value.getDefaultInstance() : totalInstanceCount_;
}
}
/**
* .google.protobuf.UInt32Value total_instance_count = 9 [json_name = "total_instance_count"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>
getTotalInstanceCountFieldBuilder() {
if (totalInstanceCountBuilder_ == null) {
totalInstanceCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>(
getTotalInstanceCount(),
getParentForChildren(),
isClean());
totalInstanceCount_ = null;
}
return totalInstanceCountBuilder_;
}
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.StringValue id_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> idBuilder_;
/**
* .google.protobuf.StringValue id = 12;
* @return Whether the id field is set.
*/
public boolean hasId() {
return idBuilder_ != null || id_ != null;
}
/**
* .google.protobuf.StringValue id = 12;
* @return The id.
*/
public com.google.protobuf.StringValue getId() {
if (idBuilder_ == null) {
return id_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : id_;
} else {
return idBuilder_.getMessage();
}
}
/**
* .google.protobuf.StringValue id = 12;
*/
public Builder setId(com.google.protobuf.StringValue value) {
if (idBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
} else {
idBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.StringValue id = 12;
*/
public Builder setId(
com.google.protobuf.StringValue.Builder builderForValue) {
if (idBuilder_ == null) {
id_ = builderForValue.build();
onChanged();
} else {
idBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.StringValue id = 12;
*/
public Builder mergeId(com.google.protobuf.StringValue value) {
if (idBuilder_ == null) {
if (id_ != null) {
id_ =
com.google.protobuf.StringValue.newBuilder(id_).mergeFrom(value).buildPartial();
} else {
id_ = value;
}
onChanged();
} else {
idBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.StringValue id = 12;
*/
public Builder clearId() {
if (idBuilder_ == null) {
id_ = null;
onChanged();
} else {
id_ = null;
idBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.StringValue id = 12;
*/
public com.google.protobuf.StringValue.Builder getIdBuilder() {
onChanged();
return getIdFieldBuilder().getBuilder();
}
/**
* .google.protobuf.StringValue id = 12;
*/
public com.google.protobuf.StringValueOrBuilder getIdOrBuilder() {
if (idBuilder_ != null) {
return idBuilder_.getMessageOrBuilder();
} else {
return id_ == null ?
com.google.protobuf.StringValue.getDefaultInstance() : id_;
}
}
/**
* .google.protobuf.StringValue id = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getIdFieldBuilder() {
if (idBuilder_ == null) {
idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
getId(),
getParentForChildren(),
isClean());
id_ = null;
}
return idBuilder_;
}
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 java.util.List serviceExportTo_ =
java.util.Collections.emptyList();
private void ensureServiceExportToIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
serviceExportTo_ = new java.util.ArrayList(serviceExportTo_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> serviceExportToBuilder_;
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public java.util.List getServiceExportToList() {
if (serviceExportToBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceExportTo_);
} else {
return serviceExportToBuilder_.getMessageList();
}
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public int getServiceExportToCount() {
if (serviceExportToBuilder_ == null) {
return serviceExportTo_.size();
} else {
return serviceExportToBuilder_.getCount();
}
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public com.google.protobuf.StringValue getServiceExportTo(int index) {
if (serviceExportToBuilder_ == null) {
return serviceExportTo_.get(index);
} else {
return serviceExportToBuilder_.getMessage(index);
}
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public Builder setServiceExportTo(
int index, com.google.protobuf.StringValue value) {
if (serviceExportToBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceExportToIsMutable();
serviceExportTo_.set(index, value);
onChanged();
} else {
serviceExportToBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public Builder setServiceExportTo(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (serviceExportToBuilder_ == null) {
ensureServiceExportToIsMutable();
serviceExportTo_.set(index, builderForValue.build());
onChanged();
} else {
serviceExportToBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public Builder addServiceExportTo(com.google.protobuf.StringValue value) {
if (serviceExportToBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceExportToIsMutable();
serviceExportTo_.add(value);
onChanged();
} else {
serviceExportToBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public Builder addServiceExportTo(
int index, com.google.protobuf.StringValue value) {
if (serviceExportToBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceExportToIsMutable();
serviceExportTo_.add(index, value);
onChanged();
} else {
serviceExportToBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public Builder addServiceExportTo(
com.google.protobuf.StringValue.Builder builderForValue) {
if (serviceExportToBuilder_ == null) {
ensureServiceExportToIsMutable();
serviceExportTo_.add(builderForValue.build());
onChanged();
} else {
serviceExportToBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public Builder addServiceExportTo(
int index, com.google.protobuf.StringValue.Builder builderForValue) {
if (serviceExportToBuilder_ == null) {
ensureServiceExportToIsMutable();
serviceExportTo_.add(index, builderForValue.build());
onChanged();
} else {
serviceExportToBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public Builder addAllServiceExportTo(
java.lang.Iterable extends com.google.protobuf.StringValue> values) {
if (serviceExportToBuilder_ == null) {
ensureServiceExportToIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, serviceExportTo_);
onChanged();
} else {
serviceExportToBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public Builder clearServiceExportTo() {
if (serviceExportToBuilder_ == null) {
serviceExportTo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
serviceExportToBuilder_.clear();
}
return this;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public Builder removeServiceExportTo(int index) {
if (serviceExportToBuilder_ == null) {
ensureServiceExportToIsMutable();
serviceExportTo_.remove(index);
onChanged();
} else {
serviceExportToBuilder_.remove(index);
}
return this;
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public com.google.protobuf.StringValue.Builder getServiceExportToBuilder(
int index) {
return getServiceExportToFieldBuilder().getBuilder(index);
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public com.google.protobuf.StringValueOrBuilder getServiceExportToOrBuilder(
int index) {
if (serviceExportToBuilder_ == null) {
return serviceExportTo_.get(index); } else {
return serviceExportToBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public java.util.List extends com.google.protobuf.StringValueOrBuilder>
getServiceExportToOrBuilderList() {
if (serviceExportToBuilder_ != null) {
return serviceExportToBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(serviceExportTo_);
}
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public com.google.protobuf.StringValue.Builder addServiceExportToBuilder() {
return getServiceExportToFieldBuilder().addBuilder(
com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public com.google.protobuf.StringValue.Builder addServiceExportToBuilder(
int index) {
return getServiceExportToFieldBuilder().addBuilder(
index, com.google.protobuf.StringValue.getDefaultInstance());
}
/**
* repeated .google.protobuf.StringValue service_export_to = 16 [json_name = "service_export_to"];
*/
public java.util.List
getServiceExportToBuilderList() {
return getServiceExportToFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>
getServiceExportToFieldBuilder() {
if (serviceExportToBuilder_ == null) {
serviceExportToBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
serviceExportTo_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
serviceExportTo_ = null;
}
return serviceExportToBuilder_;
}
@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.Namespace)
}
// @@protoc_insertion_point(class_scope:v1.Namespace)
private static final com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace();
}
public static com.tencent.polaris.specification.api.v1.model.NamespaceProto.Namespace getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Namespace 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.model.NamespaceProto.Namespace getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_v1_Namespace_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v1_Namespace_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\017namespace.proto\022\002v1\032\036google/protobuf/w" +
"rappers.proto\"\311\007\n\tNamespace\022*\n\004name\030\001 \001(" +
"\0132\034.google.protobuf.StringValue\022-\n\007comme" +
"nt\030\002 \001(\0132\034.google.protobuf.StringValue\022," +
"\n\006owners\030\003 \001(\0132\034.google.protobuf.StringV" +
"alue\022+\n\005token\030\004 \001(\0132\034.google.protobuf.St" +
"ringValue\022+\n\005ctime\030\005 \001(\0132\034.google.protob" +
"uf.StringValue\022+\n\005mtime\030\006 \001(\0132\034.google.p" +
"rotobuf.StringValue\022N\n\023total_service_cou" +
"nt\030\007 \001(\0132\034.google.protobuf.UInt32ValueR\023" +
"total_service_count\022^\n\033total_health_inst" +
"ance_count\030\010 \001(\0132\034.google.protobuf.UInt3" +
"2ValueR\033total_health_instance_count\022P\n\024t" +
"otal_instance_count\030\t \001(\0132\034.google.proto" +
"buf.UInt32ValueR\024total_instance_count\0228\n" +
"\010user_ids\030\n \003(\0132\034.google.protobuf.String" +
"ValueR\010user_ids\022:\n\tgroup_ids\030\013 \003(\0132\034.goo" +
"gle.protobuf.StringValueR\tgroup_ids\022F\n\017r" +
"emove_user_ids\030\r \003(\0132\034.google.protobuf.S" +
"tringValueR\017remove_user_ids\022H\n\020remove_gr" +
"oup_ids\030\016 \003(\0132\034.google.protobuf.StringVa" +
"lueR\020remove_group_ids\022(\n\002id\030\014 \001(\0132\034.goog" +
"le.protobuf.StringValue\022,\n\010editable\030\017 \001(" +
"\0132\032.google.protobuf.BoolValue\022J\n\021service" +
"_export_to\030\020 \003(\0132\034.google.protobuf.Strin" +
"gValueR\021service_export_toB}\n.com.tencent" +
".polaris.specification.api.v1.modelB\016Nam" +
"espaceProtoZ;github.com/polarismesh/spec" +
"ification/source/go/api/v1/modelb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.WrappersProto.getDescriptor(),
});
internal_static_v1_Namespace_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_v1_Namespace_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v1_Namespace_descriptor,
new java.lang.String[] { "Name", "Comment", "Owners", "Token", "Ctime", "Mtime", "TotalServiceCount", "TotalHealthInstanceCount", "TotalInstanceCount", "UserIds", "GroupIds", "RemoveUserIds", "RemoveGroupIds", "Id", "Editable", "ServiceExportTo", });
com.google.protobuf.WrappersProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy