From 803a207ad2c0bbb22dc9fe9d455b15546f0c361e Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Thu, 28 May 2026 14:21:56 -0400 Subject: [PATCH] client/java: regenerate protos for BrowseChildren Regen'd from galaxy_repository.proto after BrowseChildren RPC was added. GalaxyRepositoryGrpc and GalaxyRepositoryOuterClass now include the BrowseChildrenRequest/BrowseChildrenReply types and stub methods. --- .../v1/GalaxyRepositoryGrpc.java | 111 + .../v1/GalaxyRepositoryOuterClass.java | 3664 ++++++++++++++++- 2 files changed, 3761 insertions(+), 14 deletions(-) diff --git a/clients/java/src/main/generated/main/grpc/galaxy_repository/v1/GalaxyRepositoryGrpc.java b/clients/java/src/main/generated/main/grpc/galaxy_repository/v1/GalaxyRepositoryGrpc.java index c0bb9db..2c16b6a 100644 --- a/clients/java/src/main/generated/main/grpc/galaxy_repository/v1/GalaxyRepositoryGrpc.java +++ b/clients/java/src/main/generated/main/grpc/galaxy_repository/v1/GalaxyRepositoryGrpc.java @@ -142,6 +142,37 @@ public final class GalaxyRepositoryGrpc { return getWatchDeployEventsMethod; } + private static volatile io.grpc.MethodDescriptor getBrowseChildrenMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BrowseChildren", + requestType = galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.class, + responseType = galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getBrowseChildrenMethod() { + io.grpc.MethodDescriptor getBrowseChildrenMethod; + if ((getBrowseChildrenMethod = GalaxyRepositoryGrpc.getBrowseChildrenMethod) == null) { + synchronized (GalaxyRepositoryGrpc.class) { + if ((getBrowseChildrenMethod = GalaxyRepositoryGrpc.getBrowseChildrenMethod) == null) { + GalaxyRepositoryGrpc.getBrowseChildrenMethod = getBrowseChildrenMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BrowseChildren")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply.getDefaultInstance())) + .setSchemaDescriptor(new GalaxyRepositoryMethodDescriptorSupplier("BrowseChildren")) + .build(); + } + } + } + return getBrowseChildrenMethod; + } + /** * Creates a new async stub that supports all call types for the service */ @@ -246,6 +277,19 @@ public final class GalaxyRepositoryGrpc { io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWatchDeployEventsMethod(), responseObserver); } + + /** + *
+     * Returns the direct children of a parent object (or the root objects when
+     * `parent` is unset). Designed for OPC UA-style lazy expand: clients walk
+     * one level at a time instead of paging the full hierarchy. Filters mirror
+     * DiscoverHierarchy exactly. Backed by the same shared hierarchy cache.
+     * 
+ */ + default void browseChildren(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBrowseChildrenMethod(), responseObserver); + } } /** @@ -326,6 +370,20 @@ public final class GalaxyRepositoryGrpc { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getWatchDeployEventsMethod(), getCallOptions()), request, responseObserver); } + + /** + *
+     * Returns the direct children of a parent object (or the root objects when
+     * `parent` is unset). Designed for OPC UA-style lazy expand: clients walk
+     * one level at a time instead of paging the full hierarchy. Filters mirror
+     * DiscoverHierarchy exactly. Backed by the same shared hierarchy cache.
+     * 
+ */ + public void browseChildren(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBrowseChildrenMethod(), getCallOptions()), request, responseObserver); + } } /** @@ -387,6 +445,19 @@ public final class GalaxyRepositoryGrpc { return io.grpc.stub.ClientCalls.blockingV2ServerStreamingCall( getChannel(), getWatchDeployEventsMethod(), getCallOptions(), request); } + + /** + *
+     * Returns the direct children of a parent object (or the root objects when
+     * `parent` is unset). Designed for OPC UA-style lazy expand: clients walk
+     * one level at a time instead of paging the full hierarchy. Filters mirror
+     * DiscoverHierarchy exactly. Backed by the same shared hierarchy cache.
+     * 
+ */ + public galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply browseChildren(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getBrowseChildrenMethod(), getCallOptions(), request); + } } /** @@ -447,6 +518,19 @@ public final class GalaxyRepositoryGrpc { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getWatchDeployEventsMethod(), getCallOptions(), request); } + + /** + *
+     * Returns the direct children of a parent object (or the root objects when
+     * `parent` is unset). Designed for OPC UA-style lazy expand: clients walk
+     * one level at a time instead of paging the full hierarchy. Filters mirror
+     * DiscoverHierarchy exactly. Backed by the same shared hierarchy cache.
+     * 
+ */ + public galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply browseChildren(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBrowseChildrenMethod(), getCallOptions(), request); + } } /** @@ -494,12 +578,27 @@ public final class GalaxyRepositoryGrpc { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDiscoverHierarchyMethod(), getCallOptions()), request); } + + /** + *
+     * Returns the direct children of a parent object (or the root objects when
+     * `parent` is unset). Designed for OPC UA-style lazy expand: clients walk
+     * one level at a time instead of paging the full hierarchy. Filters mirror
+     * DiscoverHierarchy exactly. Backed by the same shared hierarchy cache.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture browseChildren( + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBrowseChildrenMethod(), getCallOptions()), request); + } } private static final int METHODID_TEST_CONNECTION = 0; private static final int METHODID_GET_LAST_DEPLOY_TIME = 1; private static final int METHODID_DISCOVER_HIERARCHY = 2; private static final int METHODID_WATCH_DEPLOY_EVENTS = 3; + private static final int METHODID_BROWSE_CHILDREN = 4; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, @@ -534,6 +633,10 @@ public final class GalaxyRepositoryGrpc { serviceImpl.watchDeployEvents((galaxy_repository.v1.GalaxyRepositoryOuterClass.WatchDeployEventsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; + case METHODID_BROWSE_CHILDREN: + serviceImpl.browseChildren((galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; default: throw new AssertionError(); } @@ -580,6 +683,13 @@ public final class GalaxyRepositoryGrpc { galaxy_repository.v1.GalaxyRepositoryOuterClass.WatchDeployEventsRequest, galaxy_repository.v1.GalaxyRepositoryOuterClass.DeployEvent>( service, METHODID_WATCH_DEPLOY_EVENTS))) + .addMethod( + getBrowseChildrenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest, + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply>( + service, METHODID_BROWSE_CHILDREN))) .build(); } @@ -632,6 +742,7 @@ public final class GalaxyRepositoryGrpc { .addMethod(getGetLastDeployTimeMethod()) .addMethod(getDiscoverHierarchyMethod()) .addMethod(getWatchDeployEventsMethod()) + .addMethod(getBrowseChildrenMethod()) .build(); } } diff --git a/clients/java/src/main/generated/main/java/galaxy_repository/v1/GalaxyRepositoryOuterClass.java b/clients/java/src/main/generated/main/java/galaxy_repository/v1/GalaxyRepositoryOuterClass.java index 4a4651d..e217715 100644 --- a/clients/java/src/main/generated/main/java/galaxy_repository/v1/GalaxyRepositoryOuterClass.java +++ b/clients/java/src/main/generated/main/java/galaxy_repository/v1/GalaxyRepositoryOuterClass.java @@ -10483,6 +10483,3604 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera } + public interface BrowseChildrenRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:galaxy_repository.v1.BrowseChildrenRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 parent_gobject_id = 1; + * @return Whether the parentGobjectId field is set. + */ + boolean hasParentGobjectId(); + /** + * int32 parent_gobject_id = 1; + * @return The parentGobjectId. + */ + int getParentGobjectId(); + + /** + * string parent_tag_name = 2; + * @return Whether the parentTagName field is set. + */ + boolean hasParentTagName(); + /** + * string parent_tag_name = 2; + * @return The parentTagName. + */ + java.lang.String getParentTagName(); + /** + * string parent_tag_name = 2; + * @return The bytes for parentTagName. + */ + com.google.protobuf.ByteString + getParentTagNameBytes(); + + /** + * string parent_contained_path = 3; + * @return Whether the parentContainedPath field is set. + */ + boolean hasParentContainedPath(); + /** + * string parent_contained_path = 3; + * @return The parentContainedPath. + */ + java.lang.String getParentContainedPath(); + /** + * string parent_contained_path = 3; + * @return The bytes for parentContainedPath. + */ + com.google.protobuf.ByteString + getParentContainedPathBytes(); + + /** + *
+     * Maximum number of direct children to return. Server default 500; cap 5000.
+     * 
+ * + * int32 page_size = 4; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+     * Opaque token returned by a previous BrowseChildren response. Bound to the
+     * cache sequence, parent selector, and the filter set; a mismatch returns
+     * InvalidArgument.
+     * 
+ * + * string page_token = 5; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+     * Opaque token returned by a previous BrowseChildren response. Bound to the
+     * cache sequence, parent selector, and the filter set; a mismatch returns
+     * InvalidArgument.
+     * 
+ * + * string page_token = 5; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); + + /** + *
+     * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+     * 
+ * + * repeated int32 category_ids = 6; + * @return A list containing the categoryIds. + */ + java.util.List getCategoryIdsList(); + /** + *
+     * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+     * 
+ * + * repeated int32 category_ids = 6; + * @return The count of categoryIds. + */ + int getCategoryIdsCount(); + /** + *
+     * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+     * 
+ * + * repeated int32 category_ids = 6; + * @param index The index of the element to return. + * @return The categoryIds at the given index. + */ + int getCategoryIds(int index); + + /** + * repeated string template_chain_contains = 7; + * @return A list containing the templateChainContains. + */ + java.util.List + getTemplateChainContainsList(); + /** + * repeated string template_chain_contains = 7; + * @return The count of templateChainContains. + */ + int getTemplateChainContainsCount(); + /** + * repeated string template_chain_contains = 7; + * @param index The index of the element to return. + * @return The templateChainContains at the given index. + */ + java.lang.String getTemplateChainContains(int index); + /** + * repeated string template_chain_contains = 7; + * @param index The index of the value to return. + * @return The bytes of the templateChainContains at the given index. + */ + com.google.protobuf.ByteString + getTemplateChainContainsBytes(int index); + + /** + * string tag_name_glob = 8; + * @return The tagNameGlob. + */ + java.lang.String getTagNameGlob(); + /** + * string tag_name_glob = 8; + * @return The bytes for tagNameGlob. + */ + com.google.protobuf.ByteString + getTagNameGlobBytes(); + + /** + * optional bool include_attributes = 9; + * @return Whether the includeAttributes field is set. + */ + boolean hasIncludeAttributes(); + /** + * optional bool include_attributes = 9; + * @return The includeAttributes. + */ + boolean getIncludeAttributes(); + + /** + * bool alarm_bearing_only = 10; + * @return The alarmBearingOnly. + */ + boolean getAlarmBearingOnly(); + + /** + * bool historized_only = 11; + * @return The historizedOnly. + */ + boolean getHistorizedOnly(); + + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.ParentCase getParentCase(); + } + /** + * Protobuf type {@code galaxy_repository.v1.BrowseChildrenRequest} + */ + public static final class BrowseChildrenRequest extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:galaxy_repository.v1.BrowseChildrenRequest) + BrowseChildrenRequestOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "BrowseChildrenRequest"); + } + // Use BrowseChildrenRequest.newBuilder() to construct. + private BrowseChildrenRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private BrowseChildrenRequest() { + pageToken_ = ""; + categoryIds_ = emptyIntList(); + templateChainContains_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + tagNameGlob_ = ""; + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.class, galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.Builder.class); + } + + private int bitField0_; + private int parentCase_ = 0; + @SuppressWarnings("serial") + private java.lang.Object parent_; + public enum ParentCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + PARENT_GOBJECT_ID(1), + PARENT_TAG_NAME(2), + PARENT_CONTAINED_PATH(3), + PARENT_NOT_SET(0); + private final int value; + private ParentCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ParentCase valueOf(int value) { + return forNumber(value); + } + + public static ParentCase forNumber(int value) { + switch (value) { + case 1: return PARENT_GOBJECT_ID; + case 2: return PARENT_TAG_NAME; + case 3: return PARENT_CONTAINED_PATH; + case 0: return PARENT_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public ParentCase + getParentCase() { + return ParentCase.forNumber( + parentCase_); + } + + public static final int PARENT_GOBJECT_ID_FIELD_NUMBER = 1; + /** + * int32 parent_gobject_id = 1; + * @return Whether the parentGobjectId field is set. + */ + @java.lang.Override + public boolean hasParentGobjectId() { + return parentCase_ == 1; + } + /** + * int32 parent_gobject_id = 1; + * @return The parentGobjectId. + */ + @java.lang.Override + public int getParentGobjectId() { + if (parentCase_ == 1) { + return (java.lang.Integer) parent_; + } + return 0; + } + + public static final int PARENT_TAG_NAME_FIELD_NUMBER = 2; + /** + * string parent_tag_name = 2; + * @return Whether the parentTagName field is set. + */ + public boolean hasParentTagName() { + return parentCase_ == 2; + } + /** + * string parent_tag_name = 2; + * @return The parentTagName. + */ + public java.lang.String getParentTagName() { + java.lang.Object ref = ""; + if (parentCase_ == 2) { + ref = parent_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (parentCase_ == 2) { + parent_ = s; + } + return s; + } + } + /** + * string parent_tag_name = 2; + * @return The bytes for parentTagName. + */ + public com.google.protobuf.ByteString + getParentTagNameBytes() { + java.lang.Object ref = ""; + if (parentCase_ == 2) { + ref = parent_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (parentCase_ == 2) { + parent_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARENT_CONTAINED_PATH_FIELD_NUMBER = 3; + /** + * string parent_contained_path = 3; + * @return Whether the parentContainedPath field is set. + */ + public boolean hasParentContainedPath() { + return parentCase_ == 3; + } + /** + * string parent_contained_path = 3; + * @return The parentContainedPath. + */ + public java.lang.String getParentContainedPath() { + java.lang.Object ref = ""; + if (parentCase_ == 3) { + ref = parent_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (parentCase_ == 3) { + parent_ = s; + } + return s; + } + } + /** + * string parent_contained_path = 3; + * @return The bytes for parentContainedPath. + */ + public com.google.protobuf.ByteString + getParentContainedPathBytes() { + java.lang.Object ref = ""; + if (parentCase_ == 3) { + ref = parent_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (parentCase_ == 3) { + parent_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 4; + private int pageSize_ = 0; + /** + *
+     * Maximum number of direct children to return. Server default 500; cap 5000.
+     * 
+ * + * int32 page_size = 4; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + *
+     * Opaque token returned by a previous BrowseChildren response. Bound to the
+     * cache sequence, parent selector, and the filter set; a mismatch returns
+     * InvalidArgument.
+     * 
+ * + * string page_token = 5; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+     * Opaque token returned by a previous BrowseChildren response. Bound to the
+     * cache sequence, parent selector, and the filter set; a mismatch returns
+     * InvalidArgument.
+     * 
+ * + * string page_token = 5; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CATEGORY_IDS_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList categoryIds_ = + emptyIntList(); + /** + *
+     * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+     * 
+ * + * repeated int32 category_ids = 6; + * @return A list containing the categoryIds. + */ + @java.lang.Override + public java.util.List + getCategoryIdsList() { + return categoryIds_; + } + /** + *
+     * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+     * 
+ * + * repeated int32 category_ids = 6; + * @return The count of categoryIds. + */ + public int getCategoryIdsCount() { + return categoryIds_.size(); + } + /** + *
+     * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+     * 
+ * + * repeated int32 category_ids = 6; + * @param index The index of the element to return. + * @return The categoryIds at the given index. + */ + public int getCategoryIds(int index) { + return categoryIds_.getInt(index); + } + private int categoryIdsMemoizedSerializedSize = -1; + + public static final int TEMPLATE_CHAIN_CONTAINS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList templateChainContains_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + /** + * repeated string template_chain_contains = 7; + * @return A list containing the templateChainContains. + */ + public com.google.protobuf.ProtocolStringList + getTemplateChainContainsList() { + return templateChainContains_; + } + /** + * repeated string template_chain_contains = 7; + * @return The count of templateChainContains. + */ + public int getTemplateChainContainsCount() { + return templateChainContains_.size(); + } + /** + * repeated string template_chain_contains = 7; + * @param index The index of the element to return. + * @return The templateChainContains at the given index. + */ + public java.lang.String getTemplateChainContains(int index) { + return templateChainContains_.get(index); + } + /** + * repeated string template_chain_contains = 7; + * @param index The index of the value to return. + * @return The bytes of the templateChainContains at the given index. + */ + public com.google.protobuf.ByteString + getTemplateChainContainsBytes(int index) { + return templateChainContains_.getByteString(index); + } + + public static final int TAG_NAME_GLOB_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object tagNameGlob_ = ""; + /** + * string tag_name_glob = 8; + * @return The tagNameGlob. + */ + @java.lang.Override + public java.lang.String getTagNameGlob() { + java.lang.Object ref = tagNameGlob_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tagNameGlob_ = s; + return s; + } + } + /** + * string tag_name_glob = 8; + * @return The bytes for tagNameGlob. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTagNameGlobBytes() { + java.lang.Object ref = tagNameGlob_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tagNameGlob_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INCLUDE_ATTRIBUTES_FIELD_NUMBER = 9; + private boolean includeAttributes_ = false; + /** + * optional bool include_attributes = 9; + * @return Whether the includeAttributes field is set. + */ + @java.lang.Override + public boolean hasIncludeAttributes() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional bool include_attributes = 9; + * @return The includeAttributes. + */ + @java.lang.Override + public boolean getIncludeAttributes() { + return includeAttributes_; + } + + public static final int ALARM_BEARING_ONLY_FIELD_NUMBER = 10; + private boolean alarmBearingOnly_ = false; + /** + * bool alarm_bearing_only = 10; + * @return The alarmBearingOnly. + */ + @java.lang.Override + public boolean getAlarmBearingOnly() { + return alarmBearingOnly_; + } + + public static final int HISTORIZED_ONLY_FIELD_NUMBER = 11; + private boolean historizedOnly_ = false; + /** + * bool historized_only = 11; + * @return The historizedOnly. + */ + @java.lang.Override + public boolean getHistorizedOnly() { + return historizedOnly_; + } + + 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 { + getSerializedSize(); + if (parentCase_ == 1) { + output.writeInt32( + 1, (int)((java.lang.Integer) parent_)); + } + if (parentCase_ == 2) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, parent_); + } + if (parentCase_ == 3) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(4, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, pageToken_); + } + if (getCategoryIdsList().size() > 0) { + output.writeUInt32NoTag(50); + output.writeUInt32NoTag(categoryIdsMemoizedSerializedSize); + } + for (int i = 0; i < categoryIds_.size(); i++) { + output.writeInt32NoTag(categoryIds_.getInt(i)); + } + for (int i = 0; i < templateChainContains_.size(); i++) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, templateChainContains_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tagNameGlob_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, tagNameGlob_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(9, includeAttributes_); + } + if (alarmBearingOnly_ != false) { + output.writeBool(10, alarmBearingOnly_); + } + if (historizedOnly_ != false) { + output.writeBool(11, historizedOnly_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (parentCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) parent_)); + } + if (parentCase_ == 2) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, parent_); + } + if (parentCase_ == 3) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, pageToken_); + } + { + int dataSize = 0; + for (int i = 0; i < categoryIds_.size(); i++) { + dataSize += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(categoryIds_.getInt(i)); + } + size += dataSize; + if (!getCategoryIdsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + categoryIdsMemoizedSerializedSize = dataSize; + } + { + int dataSize = 0; + for (int i = 0; i < templateChainContains_.size(); i++) { + dataSize += computeStringSizeNoTag(templateChainContains_.getRaw(i)); + } + size += dataSize; + size += 1 * getTemplateChainContainsList().size(); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(tagNameGlob_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, tagNameGlob_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, includeAttributes_); + } + if (alarmBearingOnly_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(10, alarmBearingOnly_); + } + if (historizedOnly_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(11, historizedOnly_); + } + 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 galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest)) { + return super.equals(obj); + } + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest other = (galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest) obj; + + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getCategoryIdsList() + .equals(other.getCategoryIdsList())) return false; + if (!getTemplateChainContainsList() + .equals(other.getTemplateChainContainsList())) return false; + if (!getTagNameGlob() + .equals(other.getTagNameGlob())) return false; + if (hasIncludeAttributes() != other.hasIncludeAttributes()) return false; + if (hasIncludeAttributes()) { + if (getIncludeAttributes() + != other.getIncludeAttributes()) return false; + } + if (getAlarmBearingOnly() + != other.getAlarmBearingOnly()) return false; + if (getHistorizedOnly() + != other.getHistorizedOnly()) return false; + if (!getParentCase().equals(other.getParentCase())) return false; + switch (parentCase_) { + case 1: + if (getParentGobjectId() + != other.getParentGobjectId()) return false; + break; + case 2: + if (!getParentTagName() + .equals(other.getParentTagName())) return false; + break; + case 3: + if (!getParentContainedPath() + .equals(other.getParentContainedPath())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + if (getCategoryIdsCount() > 0) { + hash = (37 * hash) + CATEGORY_IDS_FIELD_NUMBER; + hash = (53 * hash) + getCategoryIdsList().hashCode(); + } + if (getTemplateChainContainsCount() > 0) { + hash = (37 * hash) + TEMPLATE_CHAIN_CONTAINS_FIELD_NUMBER; + hash = (53 * hash) + getTemplateChainContainsList().hashCode(); + } + hash = (37 * hash) + TAG_NAME_GLOB_FIELD_NUMBER; + hash = (53 * hash) + getTagNameGlob().hashCode(); + if (hasIncludeAttributes()) { + hash = (37 * hash) + INCLUDE_ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeAttributes()); + } + hash = (37 * hash) + ALARM_BEARING_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAlarmBearingOnly()); + hash = (37 * hash) + HISTORIZED_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHistorizedOnly()); + switch (parentCase_) { + case 1: + hash = (37 * hash) + PARENT_GOBJECT_ID_FIELD_NUMBER; + hash = (53 * hash) + getParentGobjectId(); + break; + case 2: + hash = (37 * hash) + PARENT_TAG_NAME_FIELD_NUMBER; + hash = (53 * hash) + getParentTagName().hashCode(); + break; + case 3: + hash = (37 * hash) + PARENT_CONTAINED_PATH_FIELD_NUMBER; + hash = (53 * hash) + getParentContainedPath().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code galaxy_repository.v1.BrowseChildrenRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:galaxy_repository.v1.BrowseChildrenRequest) + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.class, galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.Builder.class); + } + + // Construct using galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + pageSize_ = 0; + pageToken_ = ""; + categoryIds_ = emptyIntList(); + templateChainContains_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + tagNameGlob_ = ""; + includeAttributes_ = false; + alarmBearingOnly_ = false; + historizedOnly_ = false; + parentCase_ = 0; + parent_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenRequest_descriptor; + } + + @java.lang.Override + public galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest getDefaultInstanceForType() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.getDefaultInstance(); + } + + @java.lang.Override + public galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest build() { + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest buildPartial() { + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest result = new galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + buildPartialOneofs(result); + onBuilt(); + return result; + } + + private void buildPartial0(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.pageToken_ = pageToken_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + categoryIds_.makeImmutable(); + result.categoryIds_ = categoryIds_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + templateChainContains_.makeImmutable(); + result.templateChainContains_ = templateChainContains_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.tagNameGlob_ = tagNameGlob_; + } + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000100) != 0)) { + result.includeAttributes_ = includeAttributes_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.alarmBearingOnly_ = alarmBearingOnly_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.historizedOnly_ = historizedOnly_; + } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartialOneofs(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest result) { + result.parentCase_ = parentCase_; + result.parent_ = this.parent_; + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest) { + return mergeFrom((galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest other) { + if (other == galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest.getDefaultInstance()) return this; + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.categoryIds_.isEmpty()) { + if (categoryIds_.isEmpty()) { + categoryIds_ = other.categoryIds_; + categoryIds_.makeImmutable(); + bitField0_ |= 0x00000020; + } else { + ensureCategoryIdsIsMutable(); + categoryIds_.addAll(other.categoryIds_); + } + onChanged(); + } + if (!other.templateChainContains_.isEmpty()) { + if (templateChainContains_.isEmpty()) { + templateChainContains_ = other.templateChainContains_; + bitField0_ |= 0x00000040; + } else { + ensureTemplateChainContainsIsMutable(); + templateChainContains_.addAll(other.templateChainContains_); + } + onChanged(); + } + if (!other.getTagNameGlob().isEmpty()) { + tagNameGlob_ = other.tagNameGlob_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (other.hasIncludeAttributes()) { + setIncludeAttributes(other.getIncludeAttributes()); + } + if (other.getAlarmBearingOnly() != false) { + setAlarmBearingOnly(other.getAlarmBearingOnly()); + } + if (other.getHistorizedOnly() != false) { + setHistorizedOnly(other.getHistorizedOnly()); + } + switch (other.getParentCase()) { + case PARENT_GOBJECT_ID: { + setParentGobjectId(other.getParentGobjectId()); + break; + } + case PARENT_TAG_NAME: { + parentCase_ = 2; + parent_ = other.parent_; + onChanged(); + break; + } + case PARENT_CONTAINED_PATH: { + parentCase_ = 3; + parent_ = other.parent_; + onChanged(); + break; + } + case PARENT_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + parent_ = input.readInt32(); + parentCase_ = 1; + break; + } // case 8 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + parentCase_ = 2; + parent_ = s; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + parentCase_ = 3; + parent_ = s; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 48: { + int v = input.readInt32(); + ensureCategoryIdsIsMutable(); + categoryIds_.addInt(v); + break; + } // case 48 + case 50: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensureCategoryIdsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + categoryIds_.addInt(input.readInt32()); + } + input.popLimit(limit); + break; + } // case 50 + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + ensureTemplateChainContainsIsMutable(); + templateChainContains_.add(s); + break; + } // case 58 + case 66: { + tagNameGlob_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 72: { + includeAttributes_ = input.readBool(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: { + alarmBearingOnly_ = input.readBool(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: { + historizedOnly_ = input.readBool(); + bitField0_ |= 0x00000400; + break; + } // case 88 + 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 parentCase_ = 0; + private java.lang.Object parent_; + public ParentCase + getParentCase() { + return ParentCase.forNumber( + parentCase_); + } + + public Builder clearParent() { + parentCase_ = 0; + parent_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + /** + * int32 parent_gobject_id = 1; + * @return Whether the parentGobjectId field is set. + */ + public boolean hasParentGobjectId() { + return parentCase_ == 1; + } + /** + * int32 parent_gobject_id = 1; + * @return The parentGobjectId. + */ + public int getParentGobjectId() { + if (parentCase_ == 1) { + return (java.lang.Integer) parent_; + } + return 0; + } + /** + * int32 parent_gobject_id = 1; + * @param value The parentGobjectId to set. + * @return This builder for chaining. + */ + public Builder setParentGobjectId(int value) { + + parentCase_ = 1; + parent_ = value; + onChanged(); + return this; + } + /** + * int32 parent_gobject_id = 1; + * @return This builder for chaining. + */ + public Builder clearParentGobjectId() { + if (parentCase_ == 1) { + parentCase_ = 0; + parent_ = null; + onChanged(); + } + return this; + } + + /** + * string parent_tag_name = 2; + * @return Whether the parentTagName field is set. + */ + @java.lang.Override + public boolean hasParentTagName() { + return parentCase_ == 2; + } + /** + * string parent_tag_name = 2; + * @return The parentTagName. + */ + @java.lang.Override + public java.lang.String getParentTagName() { + java.lang.Object ref = ""; + if (parentCase_ == 2) { + ref = parent_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (parentCase_ == 2) { + parent_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string parent_tag_name = 2; + * @return The bytes for parentTagName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentTagNameBytes() { + java.lang.Object ref = ""; + if (parentCase_ == 2) { + ref = parent_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (parentCase_ == 2) { + parent_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string parent_tag_name = 2; + * @param value The parentTagName to set. + * @return This builder for chaining. + */ + public Builder setParentTagName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + parentCase_ = 2; + parent_ = value; + onChanged(); + return this; + } + /** + * string parent_tag_name = 2; + * @return This builder for chaining. + */ + public Builder clearParentTagName() { + if (parentCase_ == 2) { + parentCase_ = 0; + parent_ = null; + onChanged(); + } + return this; + } + /** + * string parent_tag_name = 2; + * @param value The bytes for parentTagName to set. + * @return This builder for chaining. + */ + public Builder setParentTagNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + parentCase_ = 2; + parent_ = value; + onChanged(); + return this; + } + + /** + * string parent_contained_path = 3; + * @return Whether the parentContainedPath field is set. + */ + @java.lang.Override + public boolean hasParentContainedPath() { + return parentCase_ == 3; + } + /** + * string parent_contained_path = 3; + * @return The parentContainedPath. + */ + @java.lang.Override + public java.lang.String getParentContainedPath() { + java.lang.Object ref = ""; + if (parentCase_ == 3) { + ref = parent_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (parentCase_ == 3) { + parent_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string parent_contained_path = 3; + * @return The bytes for parentContainedPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentContainedPathBytes() { + java.lang.Object ref = ""; + if (parentCase_ == 3) { + ref = parent_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (parentCase_ == 3) { + parent_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string parent_contained_path = 3; + * @param value The parentContainedPath to set. + * @return This builder for chaining. + */ + public Builder setParentContainedPath( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + parentCase_ = 3; + parent_ = value; + onChanged(); + return this; + } + /** + * string parent_contained_path = 3; + * @return This builder for chaining. + */ + public Builder clearParentContainedPath() { + if (parentCase_ == 3) { + parentCase_ = 0; + parent_ = null; + onChanged(); + } + return this; + } + /** + * string parent_contained_path = 3; + * @param value The bytes for parentContainedPath to set. + * @return This builder for chaining. + */ + public Builder setParentContainedPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + parentCase_ = 3; + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+       * Maximum number of direct children to return. Server default 500; cap 5000.
+       * 
+ * + * int32 page_size = 4; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+       * Maximum number of direct children to return. Server default 500; cap 5000.
+       * 
+ * + * int32 page_size = 4; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Maximum number of direct children to return. Server default 500; cap 5000.
+       * 
+ * + * int32 page_size = 4; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000008); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+       * Opaque token returned by a previous BrowseChildren response. Bound to the
+       * cache sequence, parent selector, and the filter set; a mismatch returns
+       * InvalidArgument.
+       * 
+ * + * string page_token = 5; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Opaque token returned by a previous BrowseChildren response. Bound to the
+       * cache sequence, parent selector, and the filter set; a mismatch returns
+       * InvalidArgument.
+       * 
+ * + * string page_token = 5; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Opaque token returned by a previous BrowseChildren response. Bound to the
+       * cache sequence, parent selector, and the filter set; a mismatch returns
+       * InvalidArgument.
+       * 
+ * + * string page_token = 5; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Opaque token returned by a previous BrowseChildren response. Bound to the
+       * cache sequence, parent selector, and the filter set; a mismatch returns
+       * InvalidArgument.
+       * 
+ * + * string page_token = 5; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * Opaque token returned by a previous BrowseChildren response. Bound to the
+       * cache sequence, parent selector, and the filter set; a mismatch returns
+       * InvalidArgument.
+       * 
+ * + * string page_token = 5; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.IntList categoryIds_ = emptyIntList(); + private void ensureCategoryIdsIsMutable() { + if (!categoryIds_.isModifiable()) { + categoryIds_ = makeMutableCopy(categoryIds_); + } + bitField0_ |= 0x00000020; + } + /** + *
+       * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+       * 
+ * + * repeated int32 category_ids = 6; + * @return A list containing the categoryIds. + */ + public java.util.List + getCategoryIdsList() { + categoryIds_.makeImmutable(); + return categoryIds_; + } + /** + *
+       * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+       * 
+ * + * repeated int32 category_ids = 6; + * @return The count of categoryIds. + */ + public int getCategoryIdsCount() { + return categoryIds_.size(); + } + /** + *
+       * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+       * 
+ * + * repeated int32 category_ids = 6; + * @param index The index of the element to return. + * @return The categoryIds at the given index. + */ + public int getCategoryIds(int index) { + return categoryIds_.getInt(index); + } + /** + *
+       * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+       * 
+ * + * repeated int32 category_ids = 6; + * @param index The index to set the value at. + * @param value The categoryIds to set. + * @return This builder for chaining. + */ + public Builder setCategoryIds( + int index, int value) { + + ensureCategoryIdsIsMutable(); + categoryIds_.setInt(index, value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+       * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+       * 
+ * + * repeated int32 category_ids = 6; + * @param value The categoryIds to add. + * @return This builder for chaining. + */ + public Builder addCategoryIds(int value) { + + ensureCategoryIdsIsMutable(); + categoryIds_.addInt(value); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+       * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+       * 
+ * + * repeated int32 category_ids = 6; + * @param values The categoryIds to add. + * @return This builder for chaining. + */ + public Builder addAllCategoryIds( + java.lang.Iterable values) { + ensureCategoryIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, categoryIds_); + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+       * --- Filter parity with DiscoverHierarchy. AND-combined. ---
+       * 
+ * + * repeated int32 category_ids = 6; + * @return This builder for chaining. + */ + public Builder clearCategoryIds() { + categoryIds_ = emptyIntList(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringArrayList templateChainContains_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureTemplateChainContainsIsMutable() { + if (!templateChainContains_.isModifiable()) { + templateChainContains_ = new com.google.protobuf.LazyStringArrayList(templateChainContains_); + } + bitField0_ |= 0x00000040; + } + /** + * repeated string template_chain_contains = 7; + * @return A list containing the templateChainContains. + */ + public com.google.protobuf.ProtocolStringList + getTemplateChainContainsList() { + templateChainContains_.makeImmutable(); + return templateChainContains_; + } + /** + * repeated string template_chain_contains = 7; + * @return The count of templateChainContains. + */ + public int getTemplateChainContainsCount() { + return templateChainContains_.size(); + } + /** + * repeated string template_chain_contains = 7; + * @param index The index of the element to return. + * @return The templateChainContains at the given index. + */ + public java.lang.String getTemplateChainContains(int index) { + return templateChainContains_.get(index); + } + /** + * repeated string template_chain_contains = 7; + * @param index The index of the value to return. + * @return The bytes of the templateChainContains at the given index. + */ + public com.google.protobuf.ByteString + getTemplateChainContainsBytes(int index) { + return templateChainContains_.getByteString(index); + } + /** + * repeated string template_chain_contains = 7; + * @param index The index to set the value at. + * @param value The templateChainContains to set. + * @return This builder for chaining. + */ + public Builder setTemplateChainContains( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureTemplateChainContainsIsMutable(); + templateChainContains_.set(index, value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * repeated string template_chain_contains = 7; + * @param value The templateChainContains to add. + * @return This builder for chaining. + */ + public Builder addTemplateChainContains( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + ensureTemplateChainContainsIsMutable(); + templateChainContains_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * repeated string template_chain_contains = 7; + * @param values The templateChainContains to add. + * @return This builder for chaining. + */ + public Builder addAllTemplateChainContains( + java.lang.Iterable values) { + ensureTemplateChainContainsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, templateChainContains_); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * repeated string template_chain_contains = 7; + * @return This builder for chaining. + */ + public Builder clearTemplateChainContains() { + templateChainContains_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040);; + onChanged(); + return this; + } + /** + * repeated string template_chain_contains = 7; + * @param value The bytes of the templateChainContains to add. + * @return This builder for chaining. + */ + public Builder addTemplateChainContainsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + ensureTemplateChainContainsIsMutable(); + templateChainContains_.add(value); + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object tagNameGlob_ = ""; + /** + * string tag_name_glob = 8; + * @return The tagNameGlob. + */ + public java.lang.String getTagNameGlob() { + java.lang.Object ref = tagNameGlob_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tagNameGlob_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string tag_name_glob = 8; + * @return The bytes for tagNameGlob. + */ + public com.google.protobuf.ByteString + getTagNameGlobBytes() { + java.lang.Object ref = tagNameGlob_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tagNameGlob_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string tag_name_glob = 8; + * @param value The tagNameGlob to set. + * @return This builder for chaining. + */ + public Builder setTagNameGlob( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + tagNameGlob_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + * string tag_name_glob = 8; + * @return This builder for chaining. + */ + public Builder clearTagNameGlob() { + tagNameGlob_ = getDefaultInstance().getTagNameGlob(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); + return this; + } + /** + * string tag_name_glob = 8; + * @param value The bytes for tagNameGlob to set. + * @return This builder for chaining. + */ + public Builder setTagNameGlobBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + tagNameGlob_ = value; + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + + private boolean includeAttributes_ ; + /** + * optional bool include_attributes = 9; + * @return Whether the includeAttributes field is set. + */ + @java.lang.Override + public boolean hasIncludeAttributes() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * optional bool include_attributes = 9; + * @return The includeAttributes. + */ + @java.lang.Override + public boolean getIncludeAttributes() { + return includeAttributes_; + } + /** + * optional bool include_attributes = 9; + * @param value The includeAttributes to set. + * @return This builder for chaining. + */ + public Builder setIncludeAttributes(boolean value) { + + includeAttributes_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + * optional bool include_attributes = 9; + * @return This builder for chaining. + */ + public Builder clearIncludeAttributes() { + bitField0_ = (bitField0_ & ~0x00000100); + includeAttributes_ = false; + onChanged(); + return this; + } + + private boolean alarmBearingOnly_ ; + /** + * bool alarm_bearing_only = 10; + * @return The alarmBearingOnly. + */ + @java.lang.Override + public boolean getAlarmBearingOnly() { + return alarmBearingOnly_; + } + /** + * bool alarm_bearing_only = 10; + * @param value The alarmBearingOnly to set. + * @return This builder for chaining. + */ + public Builder setAlarmBearingOnly(boolean value) { + + alarmBearingOnly_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + * bool alarm_bearing_only = 10; + * @return This builder for chaining. + */ + public Builder clearAlarmBearingOnly() { + bitField0_ = (bitField0_ & ~0x00000200); + alarmBearingOnly_ = false; + onChanged(); + return this; + } + + private boolean historizedOnly_ ; + /** + * bool historized_only = 11; + * @return The historizedOnly. + */ + @java.lang.Override + public boolean getHistorizedOnly() { + return historizedOnly_; + } + /** + * bool historized_only = 11; + * @param value The historizedOnly to set. + * @return This builder for chaining. + */ + public Builder setHistorizedOnly(boolean value) { + + historizedOnly_ = value; + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + * bool historized_only = 11; + * @return This builder for chaining. + */ + public Builder clearHistorizedOnly() { + bitField0_ = (bitField0_ & ~0x00000400); + historizedOnly_ = false; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:galaxy_repository.v1.BrowseChildrenRequest) + } + + // @@protoc_insertion_point(class_scope:galaxy_repository.v1.BrowseChildrenRequest) + private static final galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest(); + } + + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BrowseChildrenRequest 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 galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface BrowseChildrenReplyOrBuilder extends + // @@protoc_insertion_point(interface_extends:galaxy_repository.v1.BrowseChildrenReply) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + java.util.List + getChildrenList(); + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject getChildren(int index); + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + int getChildrenCount(); + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + java.util.List + getChildrenOrBuilderList(); + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObjectOrBuilder getChildrenOrBuilder( + int index); + + /** + *
+     * Non-empty when another page of siblings is available.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+     * Non-empty when another page of siblings is available.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); + + /** + *
+     * Total matching direct children of the parent (post-filter).
+     * 
+ * + * int32 total_child_count = 3; + * @return The totalChildCount. + */ + int getTotalChildCount(); + + /** + *
+     * Parallel array, indexed with `children`. True when the child has at least
+     * one matching descendant under the same filter set. Lets a UI choose
+     * whether to draw an expand triangle without an extra round trip.
+     * 
+ * + * repeated bool child_has_children = 4; + * @return A list containing the childHasChildren. + */ + java.util.List getChildHasChildrenList(); + /** + *
+     * Parallel array, indexed with `children`. True when the child has at least
+     * one matching descendant under the same filter set. Lets a UI choose
+     * whether to draw an expand triangle without an extra round trip.
+     * 
+ * + * repeated bool child_has_children = 4; + * @return The count of childHasChildren. + */ + int getChildHasChildrenCount(); + /** + *
+     * Parallel array, indexed with `children`. True when the child has at least
+     * one matching descendant under the same filter set. Lets a UI choose
+     * whether to draw an expand triangle without an extra round trip.
+     * 
+ * + * repeated bool child_has_children = 4; + * @param index The index of the element to return. + * @return The childHasChildren at the given index. + */ + boolean getChildHasChildren(int index); + + /** + *
+     * Cache sequence this reply was projected from. Clients may pass it back as
+     * part of the page_token contract. Mismatch on the next page -> InvalidArgument.
+     * 
+ * + * uint64 cache_sequence = 5; + * @return The cacheSequence. + */ + long getCacheSequence(); + } + /** + * Protobuf type {@code galaxy_repository.v1.BrowseChildrenReply} + */ + public static final class BrowseChildrenReply extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:galaxy_repository.v1.BrowseChildrenReply) + BrowseChildrenReplyOrBuilder { + private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 1, + /* suffix= */ "", + "BrowseChildrenReply"); + } + // Use BrowseChildrenReply.newBuilder() to construct. + private BrowseChildrenReply(com.google.protobuf.GeneratedMessage.Builder builder) { + super(builder); + } + private BrowseChildrenReply() { + children_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + childHasChildren_ = emptyBooleanList(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply.class, galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply.Builder.class); + } + + public static final int CHILDREN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List children_; + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + @java.lang.Override + public java.util.List getChildrenList() { + return children_; + } + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + @java.lang.Override + public java.util.List + getChildrenOrBuilderList() { + return children_; + } + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + @java.lang.Override + public int getChildrenCount() { + return children_.size(); + } + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + @java.lang.Override + public galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject getChildren(int index) { + return children_.get(index); + } + /** + *
+     * Direct children matching the filter, sorted areas-first then by
+     * case-insensitive display name (same order as the dashboard tree).
+     * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + @java.lang.Override + public galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObjectOrBuilder getChildrenOrBuilder( + int index) { + return children_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object nextPageToken_ = ""; + /** + *
+     * Non-empty when another page of siblings is available.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + *
+     * Non-empty when another page of siblings is available.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TOTAL_CHILD_COUNT_FIELD_NUMBER = 3; + private int totalChildCount_ = 0; + /** + *
+     * Total matching direct children of the parent (post-filter).
+     * 
+ * + * int32 total_child_count = 3; + * @return The totalChildCount. + */ + @java.lang.Override + public int getTotalChildCount() { + return totalChildCount_; + } + + public static final int CHILD_HAS_CHILDREN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.BooleanList childHasChildren_ = + emptyBooleanList(); + /** + *
+     * Parallel array, indexed with `children`. True when the child has at least
+     * one matching descendant under the same filter set. Lets a UI choose
+     * whether to draw an expand triangle without an extra round trip.
+     * 
+ * + * repeated bool child_has_children = 4; + * @return A list containing the childHasChildren. + */ + @java.lang.Override + public java.util.List + getChildHasChildrenList() { + return childHasChildren_; + } + /** + *
+     * Parallel array, indexed with `children`. True when the child has at least
+     * one matching descendant under the same filter set. Lets a UI choose
+     * whether to draw an expand triangle without an extra round trip.
+     * 
+ * + * repeated bool child_has_children = 4; + * @return The count of childHasChildren. + */ + public int getChildHasChildrenCount() { + return childHasChildren_.size(); + } + /** + *
+     * Parallel array, indexed with `children`. True when the child has at least
+     * one matching descendant under the same filter set. Lets a UI choose
+     * whether to draw an expand triangle without an extra round trip.
+     * 
+ * + * repeated bool child_has_children = 4; + * @param index The index of the element to return. + * @return The childHasChildren at the given index. + */ + public boolean getChildHasChildren(int index) { + return childHasChildren_.getBoolean(index); + } + private int childHasChildrenMemoizedSerializedSize = -1; + + public static final int CACHE_SEQUENCE_FIELD_NUMBER = 5; + private long cacheSequence_ = 0L; + /** + *
+     * Cache sequence this reply was projected from. Clients may pass it back as
+     * part of the page_token contract. Mismatch on the next page -> InvalidArgument.
+     * 
+ * + * uint64 cache_sequence = 5; + * @return The cacheSequence. + */ + @java.lang.Override + public long getCacheSequence() { + return cacheSequence_; + } + + 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 { + getSerializedSize(); + for (int i = 0; i < children_.size(); i++) { + output.writeMessage(1, children_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + } + if (totalChildCount_ != 0) { + output.writeInt32(3, totalChildCount_); + } + if (getChildHasChildrenList().size() > 0) { + output.writeUInt32NoTag(34); + output.writeUInt32NoTag(childHasChildrenMemoizedSerializedSize); + } + for (int i = 0; i < childHasChildren_.size(); i++) { + output.writeBoolNoTag(childHasChildren_.getBoolean(i)); + } + if (cacheSequence_ != 0L) { + output.writeUInt64(5, cacheSequence_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < children_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, children_.get(i)); + } + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + } + if (totalChildCount_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, totalChildCount_); + } + { + int dataSize = 0; + dataSize = 1 * getChildHasChildrenList().size(); + size += dataSize; + if (!getChildHasChildrenList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream + .computeInt32SizeNoTag(dataSize); + } + childHasChildrenMemoizedSerializedSize = dataSize; + } + if (cacheSequence_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(5, cacheSequence_); + } + 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 galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply)) { + return super.equals(obj); + } + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply other = (galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply) obj; + + if (!getChildrenList() + .equals(other.getChildrenList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (getTotalChildCount() + != other.getTotalChildCount()) return false; + if (!getChildHasChildrenList() + .equals(other.getChildHasChildrenList())) return false; + if (getCacheSequence() + != other.getCacheSequence()) 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 (getChildrenCount() > 0) { + hash = (37 * hash) + CHILDREN_FIELD_NUMBER; + hash = (53 * hash) + getChildrenList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (37 * hash) + TOTAL_CHILD_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getTotalChildCount(); + if (getChildHasChildrenCount() > 0) { + hash = (37 * hash) + CHILD_HAS_CHILDREN_FIELD_NUMBER; + hash = (53 * hash) + getChildHasChildrenList().hashCode(); + } + hash = (37 * hash) + CACHE_SEQUENCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCacheSequence()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input); + } + + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input); + } + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessage + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply 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.GeneratedMessage.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code galaxy_repository.v1.BrowseChildrenReply} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:galaxy_repository.v1.BrowseChildrenReply) + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReplyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenReply_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenReply_fieldAccessorTable + .ensureFieldAccessorsInitialized( + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply.class, galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply.Builder.class); + } + + // Construct using galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + } else { + children_ = null; + childrenBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + nextPageToken_ = ""; + totalChildCount_ = 0; + childHasChildren_ = emptyBooleanList(); + cacheSequence_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.internal_static_galaxy_repository_v1_BrowseChildrenReply_descriptor; + } + + @java.lang.Override + public galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply getDefaultInstanceForType() { + return galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply.getDefaultInstance(); + } + + @java.lang.Override + public galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply build() { + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply buildPartial() { + galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply result = new galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply result) { + if (childrenBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + children_ = java.util.Collections.unmodifiableList(children_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.children_ = children_; + } else { + result.children_ = childrenBuilder_.build(); + } + } + + private void buildPartial0(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nextPageToken_ = nextPageToken_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.totalChildCount_ = totalChildCount_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + childHasChildren_.makeImmutable(); + result.childHasChildren_ = childHasChildren_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.cacheSequence_ = cacheSequence_; + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply) { + return mergeFrom((galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply other) { + if (other == galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply.getDefaultInstance()) return this; + if (childrenBuilder_ == null) { + if (!other.children_.isEmpty()) { + if (children_.isEmpty()) { + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureChildrenIsMutable(); + children_.addAll(other.children_); + } + onChanged(); + } + } else { + if (!other.children_.isEmpty()) { + if (childrenBuilder_.isEmpty()) { + childrenBuilder_.dispose(); + childrenBuilder_ = null; + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x00000001); + childrenBuilder_ = + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? + internalGetChildrenFieldBuilder() : null; + } else { + childrenBuilder_.addAllMessages(other.children_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.getTotalChildCount() != 0) { + setTotalChildCount(other.getTotalChildCount()); + } + if (!other.childHasChildren_.isEmpty()) { + if (childHasChildren_.isEmpty()) { + childHasChildren_ = other.childHasChildren_; + childHasChildren_.makeImmutable(); + bitField0_ |= 0x00000008; + } else { + ensureChildHasChildrenIsMutable(); + childHasChildren_.addAll(other.childHasChildren_); + } + onChanged(); + } + if (other.getCacheSequence() != 0L) { + setCacheSequence(other.getCacheSequence()); + } + 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: { + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject m = + input.readMessage( + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.parser(), + extensionRegistry); + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(m); + } else { + childrenBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + totalChildCount_ = input.readInt32(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: { + boolean v = input.readBool(); + ensureChildHasChildrenIsMutable(); + childHasChildren_.addBoolean(v); + break; + } // case 32 + case 34: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + int alloc = length > 4096 ? 4096 : length; + ensureChildHasChildrenIsMutable(alloc / 1); + while (input.getBytesUntilLimit() > 0) { + childHasChildren_.addBoolean(input.readBool()); + } + input.popLimit(limit); + break; + } // case 34 + case 40: { + cacheSequence_ = input.readUInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + 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 java.util.List children_ = + java.util.Collections.emptyList(); + private void ensureChildrenIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + children_ = new java.util.ArrayList(children_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilder< + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObjectOrBuilder> childrenBuilder_; + + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public java.util.List getChildrenList() { + if (childrenBuilder_ == null) { + return java.util.Collections.unmodifiableList(children_); + } else { + return childrenBuilder_.getMessageList(); + } + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public int getChildrenCount() { + if (childrenBuilder_ == null) { + return children_.size(); + } else { + return childrenBuilder_.getCount(); + } + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject getChildren(int index) { + if (childrenBuilder_ == null) { + return children_.get(index); + } else { + return childrenBuilder_.getMessage(index); + } + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public Builder setChildren( + int index, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.set(index, value); + onChanged(); + } else { + childrenBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public Builder setChildren( + int index, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.set(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public Builder addChildren(galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(value); + onChanged(); + } else { + childrenBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public Builder addChildren( + int index, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(index, value); + onChanged(); + } else { + childrenBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public Builder addChildren( + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public Builder addChildren( + int index, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public Builder addAllChildren( + java.lang.Iterable values) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, children_); + onChanged(); + } else { + childrenBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public Builder clearChildren() { + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + childrenBuilder_.clear(); + } + return this; + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public Builder removeChildren(int index) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.remove(index); + onChanged(); + } else { + childrenBuilder_.remove(index); + } + return this; + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder getChildrenBuilder( + int index) { + return internalGetChildrenFieldBuilder().getBuilder(index); + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObjectOrBuilder getChildrenOrBuilder( + int index) { + if (childrenBuilder_ == null) { + return children_.get(index); } else { + return childrenBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public java.util.List + getChildrenOrBuilderList() { + if (childrenBuilder_ != null) { + return childrenBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(children_); + } + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder addChildrenBuilder() { + return internalGetChildrenFieldBuilder().addBuilder( + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.getDefaultInstance()); + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder addChildrenBuilder( + int index) { + return internalGetChildrenFieldBuilder().addBuilder( + index, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.getDefaultInstance()); + } + /** + *
+       * Direct children matching the filter, sorted areas-first then by
+       * case-insensitive display name (same order as the dashboard tree).
+       * 
+ * + * repeated .galaxy_repository.v1.GalaxyObject children = 1; + */ + public java.util.List + getChildrenBuilderList() { + return internalGetChildrenFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilder< + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObjectOrBuilder> + internalGetChildrenFieldBuilder() { + if (childrenBuilder_ == null) { + childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilder< + galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObject.Builder, galaxy_repository.v1.GalaxyRepositoryOuterClass.GalaxyObjectOrBuilder>( + children_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + children_ = null; + } + return childrenBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + *
+       * Non-empty when another page of siblings is available.
+       * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Non-empty when another page of siblings is available.
+       * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Non-empty when another page of siblings is available.
+       * 
+ * + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Non-empty when another page of siblings is available.
+       * 
+ * + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + nextPageToken_ = getDefaultInstance().getNextPageToken(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Non-empty when another page of siblings is available.
+       * 
+ * + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + nextPageToken_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private int totalChildCount_ ; + /** + *
+       * Total matching direct children of the parent (post-filter).
+       * 
+ * + * int32 total_child_count = 3; + * @return The totalChildCount. + */ + @java.lang.Override + public int getTotalChildCount() { + return totalChildCount_; + } + /** + *
+       * Total matching direct children of the parent (post-filter).
+       * 
+ * + * int32 total_child_count = 3; + * @param value The totalChildCount to set. + * @return This builder for chaining. + */ + public Builder setTotalChildCount(int value) { + + totalChildCount_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Total matching direct children of the parent (post-filter).
+       * 
+ * + * int32 total_child_count = 3; + * @return This builder for chaining. + */ + public Builder clearTotalChildCount() { + bitField0_ = (bitField0_ & ~0x00000004); + totalChildCount_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.Internal.BooleanList childHasChildren_ = emptyBooleanList(); + private void ensureChildHasChildrenIsMutable() { + if (!childHasChildren_.isModifiable()) { + childHasChildren_ = makeMutableCopy(childHasChildren_); + } + bitField0_ |= 0x00000008; + } + private void ensureChildHasChildrenIsMutable(int capacity) { + if (!childHasChildren_.isModifiable()) { + childHasChildren_ = makeMutableCopy(childHasChildren_, capacity); + } + bitField0_ |= 0x00000008; + } + /** + *
+       * Parallel array, indexed with `children`. True when the child has at least
+       * one matching descendant under the same filter set. Lets a UI choose
+       * whether to draw an expand triangle without an extra round trip.
+       * 
+ * + * repeated bool child_has_children = 4; + * @return A list containing the childHasChildren. + */ + public java.util.List + getChildHasChildrenList() { + childHasChildren_.makeImmutable(); + return childHasChildren_; + } + /** + *
+       * Parallel array, indexed with `children`. True when the child has at least
+       * one matching descendant under the same filter set. Lets a UI choose
+       * whether to draw an expand triangle without an extra round trip.
+       * 
+ * + * repeated bool child_has_children = 4; + * @return The count of childHasChildren. + */ + public int getChildHasChildrenCount() { + return childHasChildren_.size(); + } + /** + *
+       * Parallel array, indexed with `children`. True when the child has at least
+       * one matching descendant under the same filter set. Lets a UI choose
+       * whether to draw an expand triangle without an extra round trip.
+       * 
+ * + * repeated bool child_has_children = 4; + * @param index The index of the element to return. + * @return The childHasChildren at the given index. + */ + public boolean getChildHasChildren(int index) { + return childHasChildren_.getBoolean(index); + } + /** + *
+       * Parallel array, indexed with `children`. True when the child has at least
+       * one matching descendant under the same filter set. Lets a UI choose
+       * whether to draw an expand triangle without an extra round trip.
+       * 
+ * + * repeated bool child_has_children = 4; + * @param index The index to set the value at. + * @param value The childHasChildren to set. + * @return This builder for chaining. + */ + public Builder setChildHasChildren( + int index, boolean value) { + + ensureChildHasChildrenIsMutable(); + childHasChildren_.setBoolean(index, value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Parallel array, indexed with `children`. True when the child has at least
+       * one matching descendant under the same filter set. Lets a UI choose
+       * whether to draw an expand triangle without an extra round trip.
+       * 
+ * + * repeated bool child_has_children = 4; + * @param value The childHasChildren to add. + * @return This builder for chaining. + */ + public Builder addChildHasChildren(boolean value) { + + ensureChildHasChildrenIsMutable(); + childHasChildren_.addBoolean(value); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Parallel array, indexed with `children`. True when the child has at least
+       * one matching descendant under the same filter set. Lets a UI choose
+       * whether to draw an expand triangle without an extra round trip.
+       * 
+ * + * repeated bool child_has_children = 4; + * @param values The childHasChildren to add. + * @return This builder for chaining. + */ + public Builder addAllChildHasChildren( + java.lang.Iterable values) { + ensureChildHasChildrenIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, childHasChildren_); + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+       * Parallel array, indexed with `children`. True when the child has at least
+       * one matching descendant under the same filter set. Lets a UI choose
+       * whether to draw an expand triangle without an extra round trip.
+       * 
+ * + * repeated bool child_has_children = 4; + * @return This builder for chaining. + */ + public Builder clearChildHasChildren() { + childHasChildren_ = emptyBooleanList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + + private long cacheSequence_ ; + /** + *
+       * Cache sequence this reply was projected from. Clients may pass it back as
+       * part of the page_token contract. Mismatch on the next page -> InvalidArgument.
+       * 
+ * + * uint64 cache_sequence = 5; + * @return The cacheSequence. + */ + @java.lang.Override + public long getCacheSequence() { + return cacheSequence_; + } + /** + *
+       * Cache sequence this reply was projected from. Clients may pass it back as
+       * part of the page_token contract. Mismatch on the next page -> InvalidArgument.
+       * 
+ * + * uint64 cache_sequence = 5; + * @param value The cacheSequence to set. + * @return This builder for chaining. + */ + public Builder setCacheSequence(long value) { + + cacheSequence_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+       * Cache sequence this reply was projected from. Clients may pass it back as
+       * part of the page_token contract. Mismatch on the next page -> InvalidArgument.
+       * 
+ * + * uint64 cache_sequence = 5; + * @return This builder for chaining. + */ + public Builder clearCacheSequence() { + bitField0_ = (bitField0_ & ~0x00000010); + cacheSequence_ = 0L; + onChanged(); + return this; + } + + // @@protoc_insertion_point(builder_scope:galaxy_repository.v1.BrowseChildrenReply) + } + + // @@protoc_insertion_point(class_scope:galaxy_repository.v1.BrowseChildrenReply) + private static final galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply(); + } + + public static galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BrowseChildrenReply 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 galaxy_repository.v1.GalaxyRepositoryOuterClass.BrowseChildrenReply getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + private static final com.google.protobuf.Descriptors.Descriptor internal_static_galaxy_repository_v1_TestConnectionRequest_descriptor; private static final @@ -10533,6 +14131,16 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera private static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_galaxy_repository_v1_GalaxyAttribute_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_galaxy_repository_v1_BrowseChildrenRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_galaxy_repository_v1_BrowseChildrenRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_galaxy_repository_v1_BrowseChildrenReply_descriptor; + private static final + com.google.protobuf.GeneratedMessage.FieldAccessorTable + internal_static_galaxy_repository_v1_BrowseChildrenReply_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -10584,20 +14192,36 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera "y_dimension\030\006 \001(\005\022\037\n\027array_dimension_pre" + "sent\030\007 \001(\010\022\035\n\025mx_attribute_category\030\010 \001(" + "\005\022\037\n\027security_classification\030\t \001(\005\022\025\n\ris" + - "_historized\030\n \001(\010\022\020\n\010is_alarm\030\013 \001(\0102\314\003\n\020" + - "GalaxyRepository\022h\n\016TestConnection\022+.gal" + - "axy_repository.v1.TestConnectionRequest\032" + - ").galaxy_repository.v1.TestConnectionRep" + - "ly\022q\n\021GetLastDeployTime\022..galaxy_reposit" + - "ory.v1.GetLastDeployTimeRequest\032,.galaxy" + - "_repository.v1.GetLastDeployTimeReply\022q\n" + - "\021DiscoverHierarchy\022..galaxy_repository.v" + - "1.DiscoverHierarchyRequest\032,.galaxy_repo" + - "sitory.v1.DiscoverHierarchyReply\022h\n\021Watc" + - "hDeployEvents\022..galaxy_repository.v1.Wat" + - "chDeployEventsRequest\032!.galaxy_repositor" + - "y.v1.DeployEvent0\001B-\252\002*ZB.MOM.WW.MxGatew" + - "ay.Contracts.Proto.Galaxyb\006proto3" + "_historized\030\n \001(\010\022\020\n\010is_alarm\030\013 \001(\010\"\334\002\n\025" + + "BrowseChildrenRequest\022\033\n\021parent_gobject_" + + "id\030\001 \001(\005H\000\022\031\n\017parent_tag_name\030\002 \001(\tH\000\022\037\n" + + "\025parent_contained_path\030\003 \001(\tH\000\022\021\n\tpage_s" + + "ize\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\022\024\n\014categor" + + "y_ids\030\006 \003(\005\022\037\n\027template_chain_contains\030\007" + + " \003(\t\022\025\n\rtag_name_glob\030\010 \001(\t\022\037\n\022include_a" + + "ttributes\030\t \001(\010H\001\210\001\001\022\032\n\022alarm_bearing_on" + + "ly\030\n \001(\010\022\027\n\017historized_only\030\013 \001(\010B\010\n\006par" + + "entB\025\n\023_include_attributes\"\263\001\n\023BrowseChi" + + "ldrenReply\0224\n\010children\030\001 \003(\0132\".galaxy_re" + + "pository.v1.GalaxyObject\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\022\031\n\021total_child_count\030\003 \001(\005\022\032\n\022" + + "child_has_children\030\004 \003(\010\022\026\n\016cache_sequen" + + "ce\030\005 \001(\0042\266\004\n\020GalaxyRepository\022h\n\016TestCon" + + "nection\022+.galaxy_repository.v1.TestConne" + + "ctionRequest\032).galaxy_repository.v1.Test" + + "ConnectionReply\022q\n\021GetLastDeployTime\022..g" + + "alaxy_repository.v1.GetLastDeployTimeReq" + + "uest\032,.galaxy_repository.v1.GetLastDeplo" + + "yTimeReply\022q\n\021DiscoverHierarchy\022..galaxy" + + "_repository.v1.DiscoverHierarchyRequest\032" + + ",.galaxy_repository.v1.DiscoverHierarchy" + + "Reply\022h\n\021WatchDeployEvents\022..galaxy_repo" + + "sitory.v1.WatchDeployEventsRequest\032!.gal" + + "axy_repository.v1.DeployEvent0\001\022h\n\016Brows" + + "eChildren\022+.galaxy_repository.v1.BrowseC" + + "hildrenRequest\032).galaxy_repository.v1.Br" + + "owseChildrenReplyB-\252\002*ZB.MOM.WW.MxGatewa" + + "y.Contracts.Proto.Galaxyb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -10665,6 +14289,18 @@ public final class GalaxyRepositoryOuterClass extends com.google.protobuf.Genera com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_galaxy_repository_v1_GalaxyAttribute_descriptor, new java.lang.String[] { "AttributeName", "FullTagReference", "MxDataType", "DataTypeName", "IsArray", "ArrayDimension", "ArrayDimensionPresent", "MxAttributeCategory", "SecurityClassification", "IsHistorized", "IsAlarm", }); + internal_static_galaxy_repository_v1_BrowseChildrenRequest_descriptor = + getDescriptor().getMessageType(10); + internal_static_galaxy_repository_v1_BrowseChildrenRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_galaxy_repository_v1_BrowseChildrenRequest_descriptor, + new java.lang.String[] { "ParentGobjectId", "ParentTagName", "ParentContainedPath", "PageSize", "PageToken", "CategoryIds", "TemplateChainContains", "TagNameGlob", "IncludeAttributes", "AlarmBearingOnly", "HistorizedOnly", "Parent", }); + internal_static_galaxy_repository_v1_BrowseChildrenReply_descriptor = + getDescriptor().getMessageType(11); + internal_static_galaxy_repository_v1_BrowseChildrenReply_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_galaxy_repository_v1_BrowseChildrenReply_descriptor, + new java.lang.String[] { "Children", "NextPageToken", "TotalChildCount", "ChildHasChildren", "CacheSequence", }); descriptor.resolveAllFeaturesImmutable(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor();