string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @return The robotPartId.
*/
@java.lang.Deprecated java.lang.String getRobotPartId();
@@ -15673,7 +15673,7 @@ public interface GetCloudMetadataResponseOrBuilder extends
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @return The bytes for robotPartId.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
@@ -15751,7 +15751,7 @@ private GetCloudMetadataResponse() {
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @return The robotPartId.
*/
@java.lang.Override
@@ -15765,7 +15765,7 @@ private GetCloudMetadataResponse() {
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @return The bytes for robotPartId.
*/
@java.lang.Override
@@ -15780,7 +15780,7 @@ private GetCloudMetadataResponse() {
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @param value The robotPartId to set.
*/
private void setRobotPartId(
@@ -15796,7 +15796,7 @@ private void setRobotPartId(
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
*/
private void clearRobotPartId() {
@@ -15809,7 +15809,7 @@ private void clearRobotPartId() {
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @param value The bytes for robotPartId to set.
*/
private void setRobotPartIdBytes(
@@ -16111,7 +16111,7 @@ private Builder() {
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @return The robotPartId.
*/
@java.lang.Override
@@ -16125,7 +16125,7 @@ private Builder() {
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @return The bytes for robotPartId.
*/
@java.lang.Override
@@ -16140,7 +16140,7 @@ private Builder() {
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @param value The robotPartId to set.
* @return This builder for chaining.
*/
@@ -16157,7 +16157,7 @@ private Builder() {
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearRobotPartId() {
@@ -16172,7 +16172,7 @@ private Builder() {
*
* string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
* @deprecated viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.
- * See robot/v1/robot.proto;l=342
+ * See robot/v1/robot.proto;l=349
* @param value The bytes for robotPartId to set.
* @return This builder for chaining.
*/
@@ -17584,6 +17584,1384 @@ public static com.google.protobuf.Parserrepeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ java.util.Listrepeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ com.viam.robot.v1.Robot.ResourceStatus getResources(int index);
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ int getResourcesCount();
+ }
+ /**
+ * Protobuf type {@code viam.robot.v1.GetMachineStatusResponse}
+ */
+ public static final class GetMachineStatusResponse extends
+ com.google.protobuf.GeneratedMessageLite<
+ GetMachineStatusResponse, GetMachineStatusResponse.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.robot.v1.GetMachineStatusResponse)
+ GetMachineStatusResponseOrBuilder {
+ private GetMachineStatusResponse() {
+ resources_ = emptyProtobufList();
+ }
+ public static final int RESOURCES_FIELD_NUMBER = 1;
+ private com.google.protobuf.Internal.ProtobufListrepeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public java.util.List extends com.viam.robot.v1.Robot.ResourceStatusOrBuilder>
+ getResourcesOrBuilderList() {
+ return resources_;
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ @java.lang.Override
+ public int getResourcesCount() {
+ return resources_.size();
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ @java.lang.Override
+ public com.viam.robot.v1.Robot.ResourceStatus getResources(int index) {
+ return resources_.get(index);
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public com.viam.robot.v1.Robot.ResourceStatusOrBuilder getResourcesOrBuilder(
+ int index) {
+ return resources_.get(index);
+ }
+ private void ensureResourcesIsMutable() {
+ com.google.protobuf.Internal.ProtobufListrepeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ private void setResources(
+ int index, com.viam.robot.v1.Robot.ResourceStatus value) {
+ value.getClass();
+ ensureResourcesIsMutable();
+ resources_.set(index, value);
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ private void addResources(com.viam.robot.v1.Robot.ResourceStatus value) {
+ value.getClass();
+ ensureResourcesIsMutable();
+ resources_.add(value);
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ private void addResources(
+ int index, com.viam.robot.v1.Robot.ResourceStatus value) {
+ value.getClass();
+ ensureResourcesIsMutable();
+ resources_.add(index, value);
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ private void addAllResources(
+ java.lang.Iterable extends com.viam.robot.v1.Robot.ResourceStatus> values) {
+ ensureResourcesIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, resources_);
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ private void clearResources() {
+ resources_ = emptyProtobufList();
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ private void removeResources(int index) {
+ ensureResourcesIsMutable();
+ resources_.remove(index);
+ }
+
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
+ }
+
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static com.viam.robot.v1.Robot.GetMachineStatusResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() {
+ return (Builder) DEFAULT_INSTANCE.createBuilder();
+ }
+ public static Builder newBuilder(com.viam.robot.v1.Robot.GetMachineStatusResponse prototype) {
+ return DEFAULT_INSTANCE.createBuilder(prototype);
+ }
+
+ /**
+ * Protobuf type {@code viam.robot.v1.GetMachineStatusResponse}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageLite.Builder<
+ com.viam.robot.v1.Robot.GetMachineStatusResponse, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.robot.v1.GetMachineStatusResponse)
+ com.viam.robot.v1.Robot.GetMachineStatusResponseOrBuilder {
+ // Construct using com.viam.robot.v1.Robot.GetMachineStatusResponse.newBuilder()
+ private Builder() {
+ super(DEFAULT_INSTANCE);
+ }
+
+
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ @java.lang.Override
+ public int getResourcesCount() {
+ return instance.getResourcesCount();
+ }/**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ @java.lang.Override
+ public com.viam.robot.v1.Robot.ResourceStatus getResources(int index) {
+ return instance.getResources(index);
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public Builder setResources(
+ int index, com.viam.robot.v1.Robot.ResourceStatus value) {
+ copyOnWrite();
+ instance.setResources(index, value);
+ return this;
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public Builder setResources(
+ int index, com.viam.robot.v1.Robot.ResourceStatus.Builder builderForValue) {
+ copyOnWrite();
+ instance.setResources(index,
+ builderForValue.build());
+ return this;
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public Builder addResources(com.viam.robot.v1.Robot.ResourceStatus value) {
+ copyOnWrite();
+ instance.addResources(value);
+ return this;
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public Builder addResources(
+ int index, com.viam.robot.v1.Robot.ResourceStatus value) {
+ copyOnWrite();
+ instance.addResources(index, value);
+ return this;
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public Builder addResources(
+ com.viam.robot.v1.Robot.ResourceStatus.Builder builderForValue) {
+ copyOnWrite();
+ instance.addResources(builderForValue.build());
+ return this;
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public Builder addResources(
+ int index, com.viam.robot.v1.Robot.ResourceStatus.Builder builderForValue) {
+ copyOnWrite();
+ instance.addResources(index,
+ builderForValue.build());
+ return this;
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public Builder addAllResources(
+ java.lang.Iterable extends com.viam.robot.v1.Robot.ResourceStatus> values) {
+ copyOnWrite();
+ instance.addAllResources(values);
+ return this;
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public Builder clearResources() {
+ copyOnWrite();
+ instance.clearResources();
+ return this;
+ }
+ /**
+ * repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
+ */
+ public Builder removeResources(int index) {
+ copyOnWrite();
+ instance.removeResources(index);
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:viam.robot.v1.GetMachineStatusResponse)
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
+ protected final java.lang.Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ java.lang.Object arg0, java.lang.Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new com.viam.robot.v1.Robot.GetMachineStatusResponse();
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case BUILD_MESSAGE_INFO: {
+ java.lang.Object[] objects = new java.lang.Object[] {
+ "resources_",
+ com.viam.robot.v1.Robot.ResourceStatus.class,
+ };
+ java.lang.String info =
+ "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b";
+ return newMessageInfo(DEFAULT_INSTANCE, info, objects);
+ }
+ // fall through
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ com.google.protobuf.Parser+ * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ * @return Whether the name field is set.
+ */
+ boolean hasName();
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ * @return The name.
+ */
+ com.viam.common.v1.Common.ResourceName getName();
+
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @return The state.
+ */
+ com.viam.robot.v1.Robot.ResourceStatus.State getState();
+
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ * @return Whether the lastUpdated field is set.
+ */
+ boolean hasLastUpdated();
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ * @return The lastUpdated.
+ */
+ com.google.protobuf.Timestamp getLastUpdated();
+ }
+ /**
+ * Protobuf type {@code viam.robot.v1.ResourceStatus}
+ */
+ public static final class ResourceStatus extends
+ com.google.protobuf.GeneratedMessageLite<
+ ResourceStatus, ResourceStatus.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.robot.v1.ResourceStatus)
+ ResourceStatusOrBuilder {
+ private ResourceStatus() {
+ }
+ /**
+ * Protobuf enum {@code viam.robot.v1.ResourceStatus.State}
+ */
+ public enum State
+ implements com.google.protobuf.Internal.EnumLite {
+ /**
+ * STATE_UNSPECIFIED = 0;
+ */
+ STATE_UNSPECIFIED(0),
+ /**
+ * + * a newly created resource. + *+ * + *
STATE_UNCONFIGURED = 1;
+ */
+ STATE_UNCONFIGURED(1),
+ /**
+ * + * a resource that is being configured. + *+ * + *
STATE_CONFIGURING = 2;
+ */
+ STATE_CONFIGURING(2),
+ /**
+ * + * a resource that has been successfully configured once and is not being + * re-configured or removed. + *+ * + *
STATE_READY = 3;
+ */
+ STATE_READY(3),
+ /**
+ * + * a resource that is being removed from the robot. + *+ * + *
STATE_REMOVING = 4;
+ */
+ STATE_REMOVING(4),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * STATE_UNSPECIFIED = 0;
+ */
+ public static final int STATE_UNSPECIFIED_VALUE = 0;
+ /**
+ * + * a newly created resource. + *+ * + *
STATE_UNCONFIGURED = 1;
+ */
+ public static final int STATE_UNCONFIGURED_VALUE = 1;
+ /**
+ * + * a resource that is being configured. + *+ * + *
STATE_CONFIGURING = 2;
+ */
+ public static final int STATE_CONFIGURING_VALUE = 2;
+ /**
+ * + * a resource that has been successfully configured once and is not being + * re-configured or removed. + *+ * + *
STATE_READY = 3;
+ */
+ public static final int STATE_READY_VALUE = 3;
+ /**
+ * + * a resource that is being removed from the robot. + *+ * + *
STATE_REMOVING = 4;
+ */
+ public static final int STATE_REMOVING_VALUE = 4;
+
+
+ @java.lang.Override
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The 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 State valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static State forNumber(int value) {
+ switch (value) {
+ case 0: return STATE_UNSPECIFIED;
+ case 1: return STATE_UNCONFIGURED;
+ case 2: return STATE_CONFIGURING;
+ case 3: return STATE_READY;
+ case 4: return STATE_REMOVING;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ @java.lang.Override
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ @java.lang.Override
+ public com.viam.common.v1.Common.ResourceName getName() {
+ return name_ == null ? com.viam.common.v1.Common.ResourceName.getDefaultInstance() : name_;
+ }
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ private void setName(com.viam.common.v1.Common.ResourceName value) {
+ value.getClass();
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ @java.lang.SuppressWarnings({"ReferenceEquality"})
+ private void mergeName(com.viam.common.v1.Common.ResourceName value) {
+ value.getClass();
+ if (name_ != null &&
+ name_ != com.viam.common.v1.Common.ResourceName.getDefaultInstance()) {
+ name_ =
+ com.viam.common.v1.Common.ResourceName.newBuilder(name_).mergeFrom(value).buildPartial();
+ } else {
+ name_ = value;
+ }
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ private void clearName() { name_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+
+ public static final int STATE_FIELD_NUMBER = 2;
+ private int state_;
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override
+ public int getStateValue() {
+ return state_;
+ }
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @return The state.
+ */
+ @java.lang.Override
+ public com.viam.robot.v1.Robot.ResourceStatus.State getState() {
+ com.viam.robot.v1.Robot.ResourceStatus.State result = com.viam.robot.v1.Robot.ResourceStatus.State.forNumber(state_);
+ return result == null ? com.viam.robot.v1.Robot.ResourceStatus.State.UNRECOGNIZED : result;
+ }
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @param value The enum numeric value on the wire for state to set.
+ */
+ private void setStateValue(int value) {
+ state_ = value;
+ }
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @param value The state to set.
+ */
+ private void setState(com.viam.robot.v1.Robot.ResourceStatus.State value) {
+ state_ = value.getNumber();
+
+ }
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ */
+ private void clearState() {
+
+ state_ = 0;
+ }
+
+ public static final int LAST_UPDATED_FIELD_NUMBER = 3;
+ private com.google.protobuf.Timestamp lastUpdated_;
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ @java.lang.Override
+ public boolean hasLastUpdated() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getLastUpdated() {
+ return lastUpdated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastUpdated_;
+ }
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ private void setLastUpdated(com.google.protobuf.Timestamp value) {
+ value.getClass();
+ lastUpdated_ = value;
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ @java.lang.SuppressWarnings({"ReferenceEquality"})
+ private void mergeLastUpdated(com.google.protobuf.Timestamp value) {
+ value.getClass();
+ if (lastUpdated_ != null &&
+ lastUpdated_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ lastUpdated_ =
+ com.google.protobuf.Timestamp.newBuilder(lastUpdated_).mergeFrom(value).buildPartial();
+ } else {
+ lastUpdated_ = value;
+ }
+ bitField0_ |= 0x00000002;
+ }
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ private void clearLastUpdated() { lastUpdated_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+
+ public static com.viam.robot.v1.Robot.ResourceStatus parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
+ }
+
+ public static com.viam.robot.v1.Robot.ResourceStatus parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static com.viam.robot.v1.Robot.ResourceStatus parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() {
+ return (Builder) DEFAULT_INSTANCE.createBuilder();
+ }
+ public static Builder newBuilder(com.viam.robot.v1.Robot.ResourceStatus prototype) {
+ return DEFAULT_INSTANCE.createBuilder(prototype);
+ }
+
+ /**
+ * Protobuf type {@code viam.robot.v1.ResourceStatus}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageLite.Builder<
+ com.viam.robot.v1.Robot.ResourceStatus, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.robot.v1.ResourceStatus)
+ com.viam.robot.v1.Robot.ResourceStatusOrBuilder {
+ // Construct using com.viam.robot.v1.Robot.ResourceStatus.newBuilder()
+ private Builder() {
+ super(DEFAULT_INSTANCE);
+ }
+
+
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ @java.lang.Override
+ public boolean hasName() {
+ return instance.hasName();
+ }
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ @java.lang.Override
+ public com.viam.common.v1.Common.ResourceName getName() {
+ return instance.getName();
+ }
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ public Builder setName(com.viam.common.v1.Common.ResourceName value) {
+ copyOnWrite();
+ instance.setName(value);
+ return this;
+ }
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ public Builder setName(
+ com.viam.common.v1.Common.ResourceName.Builder builderForValue) {
+ copyOnWrite();
+ instance.setName(builderForValue.build());
+ return this;
+ }
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ public Builder mergeName(com.viam.common.v1.Common.ResourceName value) {
+ copyOnWrite();
+ instance.mergeName(value);
+ return this;
+ }
+ /**
+ * + * resource name. + *+ * + *
.viam.common.v1.ResourceName name = 1 [json_name = "name"];
+ */
+ public Builder clearName() { copyOnWrite();
+ instance.clearName();
+ return this;
+ }
+
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override
+ public int getStateValue() {
+ return instance.getStateValue();
+ }
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStateValue(int value) {
+ copyOnWrite();
+ instance.setStateValue(value);
+ return this;
+ }
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @return The state.
+ */
+ @java.lang.Override
+ public com.viam.robot.v1.Robot.ResourceStatus.State getState() {
+ return instance.getState();
+ }
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(com.viam.robot.v1.Robot.ResourceStatus.State value) {
+ copyOnWrite();
+ instance.setState(value);
+ return this;
+ }
+ /**
+ * + * current state. + *+ * + *
.viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+ copyOnWrite();
+ instance.clearState();
+ return this;
+ }
+
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ @java.lang.Override
+ public boolean hasLastUpdated() {
+ return instance.hasLastUpdated();
+ }
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getLastUpdated() {
+ return instance.getLastUpdated();
+ }
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ public Builder setLastUpdated(com.google.protobuf.Timestamp value) {
+ copyOnWrite();
+ instance.setLastUpdated(value);
+ return this;
+ }
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ public Builder setLastUpdated(
+ com.google.protobuf.Timestamp.Builder builderForValue) {
+ copyOnWrite();
+ instance.setLastUpdated(builderForValue.build());
+ return this;
+ }
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ public Builder mergeLastUpdated(com.google.protobuf.Timestamp value) {
+ copyOnWrite();
+ instance.mergeLastUpdated(value);
+ return this;
+ }
+ /**
+ * + * state transition timestamp. + *+ * + *
.google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
+ */
+ public Builder clearLastUpdated() { copyOnWrite();
+ instance.clearLastUpdated();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:viam.robot.v1.ResourceStatus)
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
+ protected final java.lang.Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ java.lang.Object arg0, java.lang.Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new com.viam.robot.v1.Robot.ResourceStatus();
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case BUILD_MESSAGE_INFO: {
+ java.lang.Object[] objects = new java.lang.Object[] {
+ "bitField0_",
+ "name_",
+ "state_",
+ "lastUpdated_",
+ };
+ java.lang.String info =
+ "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
+ "\f\u0003\u1009\u0001";
+ return newMessageInfo(DEFAULT_INSTANCE, info, objects);
+ }
+ // fall through
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ com.google.protobuf.Parser+ * GetMachineStatus returns the current status of the robot. + *+ */ + default void getMachineStatus(com.viam.robot.v1.Robot.GetMachineStatusRequest request, + io.grpc.stub.StreamObserver
+ * GetMachineStatus returns the current status of the robot. + *+ */ + public void getMachineStatus(com.viam.robot.v1.Robot.GetMachineStatusRequest request, + io.grpc.stub.StreamObserver
+ * GetMachineStatus returns the current status of the robot. + *+ */ + public com.viam.robot.v1.Robot.GetMachineStatusResponse getMachineStatus(com.viam.robot.v1.Robot.GetMachineStatusRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetMachineStatusMethod(), getCallOptions(), request); + } } /** @@ -1423,6 +1484,17 @@ public com.google.common.util.concurrent.ListenableFuture
- * DeleteTabularDataRequest deletes the data from the organization that is older than `delete_older_than_days`. - * For example if `delete_older_than_days` is 10, this deletes any data that was captured up to 10 days ago. - * If it is 0, all existing data is deleted. + * DeleteTabularDataRequest deletes the data from the organization that is older than `delete_older_than_days` + * in UTC time. For example, if delete_older_than_days=1 and the request is made at 1AM EST on March 11 + * (March 11 5AM UTC), this deletes all data captured through March 10 11:59:59PM UTC. + * If the request is at 10PM EST on March 11 (March 12 2AM UTC), this deletes all data captured + * through March 11 11:59:59PM UTC. + * If delete_older_than_days is 0, all existing data is deleted. ** * Protobuf type {@code viam.app.data.v1.DeleteTabularDataRequest} @@ -14968,9 +14971,12 @@ public static Builder newBuilder(viam.app.data.v1.Data.DeleteTabularDataRequest /** *
- * DeleteTabularDataRequest deletes the data from the organization that is older than `delete_older_than_days`. - * For example if `delete_older_than_days` is 10, this deletes any data that was captured up to 10 days ago. - * If it is 0, all existing data is deleted. + * DeleteTabularDataRequest deletes the data from the organization that is older than `delete_older_than_days` + * in UTC time. For example, if delete_older_than_days=1 and the request is made at 1AM EST on March 11 + * (March 11 5AM UTC), this deletes all data captured through March 10 11:59:59PM UTC. + * If the request is at 10PM EST on March 11 (March 12 2AM UTC), this deletes all data captured + * through March 11 11:59:59PM UTC. + * If delete_older_than_days is 0, all existing data is deleted. ** * Protobuf type {@code viam.app.data.v1.DeleteTabularDataRequest} diff --git a/core/sdk/src/main/gen/viam/app/v1/App.java b/core/sdk/src/main/gen/viam/app/v1/App.java index 145b71411..51b0bce80 100644 --- a/core/sdk/src/main/gen/viam/app/v1/App.java +++ b/core/sdk/src/main/gen/viam/app/v1/App.java @@ -16630,7 +16630,7 @@ public interface LocationAuthOrBuilder extends * *
string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @return The secret.
*/
@java.lang.Deprecated java.lang.String getSecret();
@@ -16641,7 +16641,7 @@ public interface LocationAuthOrBuilder extends
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @return The bytes for secret.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
@@ -16715,7 +16715,7 @@ private LocationAuth() {
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @return The secret.
*/
@java.lang.Override
@@ -16729,7 +16729,7 @@ private LocationAuth() {
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @return The bytes for secret.
*/
@java.lang.Override
@@ -16744,7 +16744,7 @@ private LocationAuth() {
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @param value The secret to set.
*/
private void setSecret(
@@ -16760,7 +16760,7 @@ private void setSecret(
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
*/
private void clearSecret() {
@@ -16773,7 +16773,7 @@ private void clearSecret() {
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @param value The bytes for secret to set.
*/
private void setSecretBytes(
@@ -17092,7 +17092,7 @@ private Builder() {
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @return The secret.
*/
@java.lang.Override
@@ -17106,7 +17106,7 @@ private Builder() {
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @return The bytes for secret.
*/
@java.lang.Override
@@ -17121,7 +17121,7 @@ private Builder() {
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @param value The secret to set.
* @return This builder for chaining.
*/
@@ -17138,7 +17138,7 @@ private Builder() {
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearSecret() {
@@ -17153,7 +17153,7 @@ private Builder() {
*
* string secret = 1 [json_name = "secret", deprecated = true];
* @deprecated viam.app.v1.LocationAuth.secret is deprecated.
- * See app/v1/app.proto;l=426
+ * See app/v1/app.proto;l=429
* @param value The bytes for secret to set.
* @return This builder for chaining.
*/
@@ -31699,7 +31699,7 @@ public interface GetRobotPartLogsRequestOrBuilder extends
*
* bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
* @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.
- * See app/v1/app.proto;l=631
+ * See app/v1/app.proto;l=634
* @return The errorsOnly.
*/
@java.lang.Deprecated boolean getErrorsOnly();
@@ -31850,7 +31850,7 @@ private void setIdBytes(
*
* bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
* @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.
- * See app/v1/app.proto;l=631
+ * See app/v1/app.proto;l=634
* @return The errorsOnly.
*/
@java.lang.Override
@@ -31864,7 +31864,7 @@ private void setIdBytes(
*
* bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
* @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.
- * See app/v1/app.proto;l=631
+ * See app/v1/app.proto;l=634
* @param value The errorsOnly to set.
*/
private void setErrorsOnly(boolean value) {
@@ -31878,7 +31878,7 @@ private void setErrorsOnly(boolean value) {
*
* bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
* @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.
- * See app/v1/app.proto;l=631
+ * See app/v1/app.proto;l=634
*/
private void clearErrorsOnly() {
@@ -32277,7 +32277,7 @@ public Builder setIdBytes(
*
* bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
* @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.
- * See app/v1/app.proto;l=631
+ * See app/v1/app.proto;l=634
* @return The errorsOnly.
*/
@java.lang.Override
@@ -32291,7 +32291,7 @@ public Builder setIdBytes(
*
* bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
* @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.
- * See app/v1/app.proto;l=631
+ * See app/v1/app.proto;l=634
* @param value The errorsOnly to set.
* @return This builder for chaining.
*/
@@ -32307,7 +32307,7 @@ public Builder setIdBytes(
*
* bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
* @deprecated viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.
- * See app/v1/app.proto;l=631
+ * See app/v1/app.proto;l=634
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearErrorsOnly() {
@@ -39328,317 +39328,296 @@ public static com.google.protobuf.Parserstring organization_id = 1 [json_name = "organizationId"];
- * @return The organizationId.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @return The fragment.
*/
- java.lang.String getOrganizationId();
+ java.lang.String getFragment();
/**
- * string organization_id = 1 [json_name = "organizationId"];
- * @return The bytes for organizationId.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @return The bytes for fragment.
*/
com.google.protobuf.ByteString
- getOrganizationIdBytes();
+ getFragmentBytes();
/**
- * bool show_public = 2 [json_name = "showPublic"];
- * @return The showPublic.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
+ * @return Whether the editedOn field is set.
*/
- boolean getShowPublic();
-
+ boolean hasEditedOn();
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return A list containing the fragmentVisibility.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
+ * @return The editedOn.
*/
- java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return The count of fragmentVisibility.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
+ * @return Whether the old field is set.
*/
- int getFragmentVisibilityCount();
+ boolean hasOld();
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param index The index of the element to return.
- * @return The fragmentVisibility at the given index.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
+ * @return The old.
*/
- viam.app.v1.App.FragmentVisibility getFragmentVisibility(int index);
+ viam.app.v1.App.Fragment getOld();
+
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return A list containing the enum numeric values on the wire for fragmentVisibility.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
+ * @return Whether the editedBy field is set.
*/
- java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param index The index of the value to return.
- * @return The enum numeric value on the wire of fragmentVisibility at the given index.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
+ * @return The editedBy.
*/
- int getFragmentVisibilityValue(int index);
+ viam.app.v1.App.AuthenticatorInfo getEditedBy();
}
/**
- * Protobuf type {@code viam.app.v1.ListFragmentsRequest}
+ * Protobuf type {@code viam.app.v1.FragmentHistoryEntry}
*/
- public static final class ListFragmentsRequest extends
+ public static final class FragmentHistoryEntry extends
com.google.protobuf.GeneratedMessageLite<
- ListFragmentsRequest, ListFragmentsRequest.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.ListFragmentsRequest)
- ListFragmentsRequestOrBuilder {
- private ListFragmentsRequest() {
- organizationId_ = "";
- fragmentVisibility_ = emptyIntList();
+ FragmentHistoryEntry, FragmentHistoryEntry.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.FragmentHistoryEntry)
+ FragmentHistoryEntryOrBuilder {
+ private FragmentHistoryEntry() {
+ fragment_ = "";
}
- public static final int ORGANIZATION_ID_FIELD_NUMBER = 1;
- private java.lang.String organizationId_;
+ private int bitField0_;
+ public static final int FRAGMENT_FIELD_NUMBER = 1;
+ private java.lang.String fragment_;
/**
- * string organization_id = 1 [json_name = "organizationId"];
- * @return The organizationId.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @return The fragment.
*/
@java.lang.Override
- public java.lang.String getOrganizationId() {
- return organizationId_;
+ public java.lang.String getFragment() {
+ return fragment_;
}
/**
- * string organization_id = 1 [json_name = "organizationId"];
- * @return The bytes for organizationId.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @return The bytes for fragment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
- getOrganizationIdBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(organizationId_);
+ getFragmentBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(fragment_);
}
/**
- * string organization_id = 1 [json_name = "organizationId"];
- * @param value The organizationId to set.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @param value The fragment to set.
*/
- private void setOrganizationId(
+ private void setFragment(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
- organizationId_ = value;
+ fragment_ = value;
}
/**
- * string organization_id = 1 [json_name = "organizationId"];
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
*/
- private void clearOrganizationId() {
+ private void clearFragment() {
- organizationId_ = getDefaultInstance().getOrganizationId();
+ fragment_ = getDefaultInstance().getFragment();
}
/**
- * string organization_id = 1 [json_name = "organizationId"];
- * @param value The bytes for organizationId to set.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @param value The bytes for fragment to set.
*/
- private void setOrganizationIdBytes(
+ private void setFragmentBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
- organizationId_ = value.toStringUtf8();
+ fragment_ = value.toStringUtf8();
}
- public static final int SHOW_PUBLIC_FIELD_NUMBER = 2;
- private boolean showPublic_;
+ public static final int EDITED_ON_FIELD_NUMBER = 2;
+ private com.google.protobuf.Timestamp editedOn_;
/**
- * bool show_public = 2 [json_name = "showPublic"];
- * @return The showPublic.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
*/
@java.lang.Override
- public boolean getShowPublic() {
- return showPublic_;
+ public boolean hasEditedOn() {
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * bool show_public = 2 [json_name = "showPublic"];
- * @param value The showPublic to set.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
*/
- private void setShowPublic(boolean value) {
-
- showPublic_ = value;
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getEditedOn() {
+ return editedOn_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : editedOn_;
}
/**
- * bool show_public = 2 [json_name = "showPublic"];
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
*/
- private void clearShowPublic() {
-
- showPublic_ = false;
- }
-
- public static final int FRAGMENT_VISIBILITY_FIELD_NUMBER = 3;
- private com.google.protobuf.Internal.IntList fragmentVisibility_;
- private static final com.google.protobuf.Internal.ListAdapter.Converter<
- java.lang.Integer, viam.app.v1.App.FragmentVisibility> fragmentVisibility_converter_ =
- new com.google.protobuf.Internal.ListAdapter.Converter<
- java.lang.Integer, viam.app.v1.App.FragmentVisibility>() {
- @java.lang.Override
- public viam.app.v1.App.FragmentVisibility convert(java.lang.Integer from) {
- viam.app.v1.App.FragmentVisibility result = viam.app.v1.App.FragmentVisibility.forNumber(from);
- return result == null ? viam.app.v1.App.FragmentVisibility.UNRECOGNIZED : result;
- }
- };
+ private void setEditedOn(com.google.protobuf.Timestamp value) {
+ value.getClass();
+ editedOn_ = value;
+ bitField0_ |= 0x00000001;
+ }
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return A list containing the fragmentVisibility.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
*/
- @java.lang.Override
- public java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return The count of fragmentVisibility.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
*/
- @java.lang.Override
- public int getFragmentVisibilityCount() {
- return fragmentVisibility_.size();
+ private void clearEditedOn() { editedOn_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
}
+
+ public static final int OLD_FIELD_NUMBER = 3;
+ private viam.app.v1.App.Fragment old_;
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param index The index of the element to return.
- * @return The fragmentVisibility at the given index.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
@java.lang.Override
- public viam.app.v1.App.FragmentVisibility getFragmentVisibility(int index) {
- viam.app.v1.App.FragmentVisibility result = viam.app.v1.App.FragmentVisibility.forNumber(fragmentVisibility_.getInt(index));
- return result == null ? viam.app.v1.App.FragmentVisibility.UNRECOGNIZED : result;
+ public boolean hasOld() {
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return A list containing the enum numeric values on the wire for fragmentVisibility.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
@java.lang.Override
- public java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param index The index of the value to return.
- * @return The enum numeric value on the wire of fragmentVisibility at the given index.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
- @java.lang.Override
- public int getFragmentVisibilityValue(int index) {
- return fragmentVisibility_.getInt(index);
- }
- private int fragmentVisibilityMemoizedSerializedSize;
- private void ensureFragmentVisibilityIsMutable() {
- com.google.protobuf.Internal.IntList tmp = fragmentVisibility_;
- if (!tmp.isModifiable()) {
- fragmentVisibility_ =
- com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
+ private void setOld(viam.app.v1.App.Fragment value) {
+ value.getClass();
+ old_ = value;
+ bitField0_ |= 0x00000002;
}
- }
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param index The index to set the value at.
- * @param value The fragmentVisibility to set.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
- private void setFragmentVisibility(
- int index, viam.app.v1.App.FragmentVisibility value) {
+ @java.lang.SuppressWarnings({"ReferenceEquality"})
+ private void mergeOld(viam.app.v1.App.Fragment value) {
value.getClass();
- ensureFragmentVisibilityIsMutable();
- fragmentVisibility_.setInt(index, value.getNumber());
+ if (old_ != null &&
+ old_ != viam.app.v1.App.Fragment.getDefaultInstance()) {
+ old_ =
+ viam.app.v1.App.Fragment.newBuilder(old_).mergeFrom(value).buildPartial();
+ } else {
+ old_ = value;
+ }
+ bitField0_ |= 0x00000002;
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param value The fragmentVisibility to add.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
- private void addFragmentVisibility(viam.app.v1.App.FragmentVisibility value) {
- value.getClass();
- ensureFragmentVisibilityIsMutable();
- fragmentVisibility_.addInt(value.getNumber());
+ private void clearOld() { old_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
}
+
+ public static final int EDITED_BY_FIELD_NUMBER = 4;
+ private viam.app.v1.App.AuthenticatorInfo editedBy_;
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param values The fragmentVisibility to add.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
- private void addAllFragmentVisibility(
- java.lang.Iterable extends viam.app.v1.App.FragmentVisibility> values) {
- ensureFragmentVisibilityIsMutable();
- for (viam.app.v1.App.FragmentVisibility value : values) {
- fragmentVisibility_.addInt(value.getNumber());
- }
+ @java.lang.Override
+ public boolean hasEditedBy() {
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
- private void clearFragmentVisibility() {
- fragmentVisibility_ = emptyIntList();
+ @java.lang.Override
+ public viam.app.v1.App.AuthenticatorInfo getEditedBy() {
+ return editedBy_ == null ? viam.app.v1.App.AuthenticatorInfo.getDefaultInstance() : editedBy_;
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param value The enum numeric value on the wire for fragmentVisibility to set.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
- private void setFragmentVisibilityValue(
- int index, int value) {
- ensureFragmentVisibilityIsMutable();
- fragmentVisibility_.setInt(index, value);
- }
+ private void setEditedBy(viam.app.v1.App.AuthenticatorInfo value) {
+ value.getClass();
+ editedBy_ = value;
+ bitField0_ |= 0x00000004;
+ }
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param value The enum numeric value on the wire for fragmentVisibility to add.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
- private void addFragmentVisibilityValue(int value) {
- ensureFragmentVisibilityIsMutable();
- fragmentVisibility_.addInt(value);
+ @java.lang.SuppressWarnings({"ReferenceEquality"})
+ private void mergeEditedBy(viam.app.v1.App.AuthenticatorInfo value) {
+ value.getClass();
+ if (editedBy_ != null &&
+ editedBy_ != viam.app.v1.App.AuthenticatorInfo.getDefaultInstance()) {
+ editedBy_ =
+ viam.app.v1.App.AuthenticatorInfo.newBuilder(editedBy_).mergeFrom(value).buildPartial();
+ } else {
+ editedBy_ = value;
+ }
+ bitField0_ |= 0x00000004;
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param values The enum numeric values on the wire for fragmentVisibility to add.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
- private void addAllFragmentVisibilityValue(
- java.lang.Iterablestring organization_id = 1 [json_name = "organizationId"];
- * @return The organizationId.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @return The fragment.
*/
@java.lang.Override
- public java.lang.String getOrganizationId() {
- return instance.getOrganizationId();
+ public java.lang.String getFragment() {
+ return instance.getFragment();
}
/**
- * string organization_id = 1 [json_name = "organizationId"];
- * @return The bytes for organizationId.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @return The bytes for fragment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
- getOrganizationIdBytes() {
- return instance.getOrganizationIdBytes();
+ getFragmentBytes() {
+ return instance.getFragmentBytes();
}
/**
- * string organization_id = 1 [json_name = "organizationId"];
- * @param value The organizationId to set.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @param value The fragment to set.
* @return This builder for chaining.
*/
- public Builder setOrganizationId(
+ public Builder setFragment(
java.lang.String value) {
copyOnWrite();
- instance.setOrganizationId(value);
+ instance.setFragment(value);
return this;
}
/**
- * string organization_id = 1 [json_name = "organizationId"];
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
* @return This builder for chaining.
*/
- public Builder clearOrganizationId() {
+ public Builder clearFragment() {
copyOnWrite();
- instance.clearOrganizationId();
+ instance.clearFragment();
return this;
}
/**
- * string organization_id = 1 [json_name = "organizationId"];
- * @param value The bytes for organizationId to set.
+ * string fragment = 1 [json_name = "fragment", (.tagger.v1.tags) = "bson:\"fragment\" json:\"fragment\""];
+ * @param value The bytes for fragment to set.
* @return This builder for chaining.
*/
- public Builder setOrganizationIdBytes(
+ public Builder setFragmentBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
- instance.setOrganizationIdBytes(value);
+ instance.setFragmentBytes(value);
return this;
}
/**
- * bool show_public = 2 [json_name = "showPublic"];
- * @return The showPublic.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
*/
@java.lang.Override
- public boolean getShowPublic() {
- return instance.getShowPublic();
+ public boolean hasEditedOn() {
+ return instance.hasEditedOn();
}
/**
- * bool show_public = 2 [json_name = "showPublic"];
- * @param value The showPublic to set.
- * @return This builder for chaining.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
*/
- public Builder setShowPublic(boolean value) {
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getEditedOn() {
+ return instance.getEditedOn();
+ }
+ /**
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
+ */
+ public Builder setEditedOn(com.google.protobuf.Timestamp value) {
copyOnWrite();
- instance.setShowPublic(value);
+ instance.setEditedOn(value);
+ return this;
+ }
+ /**
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
+ */
+ public Builder setEditedOn(
+ com.google.protobuf.Timestamp.Builder builderForValue) {
+ copyOnWrite();
+ instance.setEditedOn(builderForValue.build());
return this;
}
/**
- * bool show_public = 2 [json_name = "showPublic"];
- * @return This builder for chaining.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
*/
- public Builder clearShowPublic() {
+ public Builder mergeEditedOn(com.google.protobuf.Timestamp value) {
copyOnWrite();
- instance.clearShowPublic();
+ instance.mergeEditedOn(value);
return this;
}
-
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return A list containing the fragmentVisibility.
+ * .google.protobuf.Timestamp edited_on = 2 [json_name = "editedOn", (.tagger.v1.tags) = "bson:\"edited_on\" json:\"edited_on\""];
*/
- @java.lang.Override
- public java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return The count of fragmentVisibility.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
@java.lang.Override
- public int getFragmentVisibilityCount() {
- return instance.getFragmentVisibilityCount();
+ public boolean hasOld() {
+ return instance.hasOld();
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param index The index of the element to return.
- * @return The fragmentVisibility at the given index.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
@java.lang.Override
- public viam.app.v1.App.FragmentVisibility getFragmentVisibility(int index) {
- return instance.getFragmentVisibility(index);
+ public viam.app.v1.App.Fragment getOld() {
+ return instance.getOld();
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param index The index to set the value at.
- * @param value The fragmentVisibility to set.
- * @return This builder for chaining.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
- public Builder setFragmentVisibility(
- int index, viam.app.v1.App.FragmentVisibility value) {
+ public Builder setOld(viam.app.v1.App.Fragment value) {
copyOnWrite();
- instance.setFragmentVisibility(index, value);
+ instance.setOld(value);
return this;
- }
+ }
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param value The fragmentVisibility to add.
- * @return This builder for chaining.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
- public Builder addFragmentVisibility(viam.app.v1.App.FragmentVisibility value) {
+ public Builder setOld(
+ viam.app.v1.App.Fragment.Builder builderForValue) {
copyOnWrite();
- instance.addFragmentVisibility(value);
+ instance.setOld(builderForValue.build());
return this;
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param values The fragmentVisibility to add.
- * @return This builder for chaining.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
- public Builder addAllFragmentVisibility(
- java.lang.Iterable extends viam.app.v1.App.FragmentVisibility> values) {
+ public Builder mergeOld(viam.app.v1.App.Fragment value) {
copyOnWrite();
- instance.addAllFragmentVisibility(values); return this;
+ instance.mergeOld(value);
+ return this;
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return This builder for chaining.
+ * .viam.app.v1.Fragment old = 3 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
*/
- public Builder clearFragmentVisibility() {
- copyOnWrite();
- instance.clearFragmentVisibility();
+ public Builder clearOld() { copyOnWrite();
+ instance.clearOld();
return this;
}
+
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @return A list containing the enum numeric values on the wire for fragmentVisibility.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
@java.lang.Override
- public java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param index The index of the value to return.
- * @return The enum numeric value on the wire of fragmentVisibility at the given index.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
@java.lang.Override
- public int getFragmentVisibilityValue(int index) {
- return instance.getFragmentVisibilityValue(index);
+ public viam.app.v1.App.AuthenticatorInfo getEditedBy() {
+ return instance.getEditedBy();
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param index The index to set the value at.
- * @param value The enum numeric value on the wire for fragmentVisibility to set.
- * @return This builder for chaining.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
- public Builder setFragmentVisibilityValue(
- int index, int value) {
+ public Builder setEditedBy(viam.app.v1.App.AuthenticatorInfo value) {
copyOnWrite();
- instance.setFragmentVisibilityValue(index, value);
+ instance.setEditedBy(value);
return this;
- }
+ }
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param value The enum numeric value on the wire for fragmentVisibility to add.
- * @return This builder for chaining.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
- public Builder addFragmentVisibilityValue(int value) {
+ public Builder setEditedBy(
+ viam.app.v1.App.AuthenticatorInfo.Builder builderForValue) {
copyOnWrite();
- instance.addFragmentVisibilityValue(value);
+ instance.setEditedBy(builderForValue.build());
return this;
}
/**
- * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
- * @param values The enum numeric values on the wire for fragmentVisibility to add.
- * @return This builder for chaining.
+ * .viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
*/
- public Builder addAllFragmentVisibilityValue(
- java.lang.Iterable.viam.app.v1.AuthenticatorInfo edited_by = 4 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
+ */
+ public Builder clearEditedBy() { copyOnWrite();
+ instance.clearEditedBy();
return this;
}
- // @@protoc_insertion_point(builder_scope:viam.app.v1.ListFragmentsRequest)
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.FragmentHistoryEntry)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -39897,20 +39870,22 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new viam.app.v1.App.ListFragmentsRequest();
+ return new viam.app.v1.App.FragmentHistoryEntry();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
- "organizationId_",
- "showPublic_",
- "fragmentVisibility_",
+ "bitField0_",
+ "fragment_",
+ "editedOn_",
+ "old_",
+ "editedBy_",
};
java.lang.String info =
- "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0001\u0000\u0001\u0208\u0002\u0007" +
- "\u0003,";
+ "\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0208\u0002\u1009" +
+ "\u0000\u0003\u1009\u0001\u0004\u1009\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -39918,13 +39893,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parserrepeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @return The organizationId.
*/
- java.util.Listrepeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @return The bytes for organizationId.
*/
- viam.app.v1.App.Fragment getFragments(int index);
+ com.google.protobuf.ByteString
+ getOrganizationIdBytes();
+
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * bool show_public = 2 [json_name = "showPublic"];
+ * @return The showPublic.
*/
- int getFragmentsCount();
+ boolean getShowPublic();
+
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return A list containing the fragmentVisibility.
+ */
+ java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return The count of fragmentVisibility.
+ */
+ int getFragmentVisibilityCount();
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param index The index of the element to return.
+ * @return The fragmentVisibility at the given index.
+ */
+ viam.app.v1.App.FragmentVisibility getFragmentVisibility(int index);
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return A list containing the enum numeric values on the wire for fragmentVisibility.
+ */
+ java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of fragmentVisibility at the given index.
+ */
+ int getFragmentVisibilityValue(int index);
}
/**
- * Protobuf type {@code viam.app.v1.ListFragmentsResponse}
+ * Protobuf type {@code viam.app.v1.ListFragmentsRequest}
*/
- public static final class ListFragmentsResponse extends
+ public static final class ListFragmentsRequest extends
com.google.protobuf.GeneratedMessageLite<
- ListFragmentsResponse, ListFragmentsResponse.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.ListFragmentsResponse)
- ListFragmentsResponseOrBuilder {
- private ListFragmentsResponse() {
- fragments_ = emptyProtobufList();
+ ListFragmentsRequest, ListFragmentsRequest.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.ListFragmentsRequest)
+ ListFragmentsRequestOrBuilder {
+ private ListFragmentsRequest() {
+ organizationId_ = "";
+ fragmentVisibility_ = emptyIntList();
}
- public static final int FRAGMENTS_FIELD_NUMBER = 1;
- private com.google.protobuf.Internal.ProtobufListrepeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @return The organizationId.
*/
@java.lang.Override
- public java.util.Listrepeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
- */
- public java.util.List extends viam.app.v1.App.FragmentOrBuilder>
- getFragmentsOrBuilderList() {
- return fragments_;
+ public java.lang.String getOrganizationId() {
+ return organizationId_;
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @return The bytes for organizationId.
*/
@java.lang.Override
- public int getFragmentsCount() {
- return fragments_.size();
+ public com.google.protobuf.ByteString
+ getOrganizationIdBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(organizationId_);
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @param value The organizationId to set.
+ */
+ private void setOrganizationId(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ organizationId_ = value;
+ }
+ /**
+ * string organization_id = 1 [json_name = "organizationId"];
+ */
+ private void clearOrganizationId() {
+
+ organizationId_ = getDefaultInstance().getOrganizationId();
+ }
+ /**
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @param value The bytes for organizationId to set.
+ */
+ private void setOrganizationIdBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ organizationId_ = value.toStringUtf8();
+
+ }
+
+ public static final int SHOW_PUBLIC_FIELD_NUMBER = 2;
+ private boolean showPublic_;
+ /**
+ * bool show_public = 2 [json_name = "showPublic"];
+ * @return The showPublic.
*/
@java.lang.Override
- public viam.app.v1.App.Fragment getFragments(int index) {
- return fragments_.get(index);
+ public boolean getShowPublic() {
+ return showPublic_;
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * bool show_public = 2 [json_name = "showPublic"];
+ * @param value The showPublic to set.
*/
- public viam.app.v1.App.FragmentOrBuilder getFragmentsOrBuilder(
- int index) {
- return fragments_.get(index);
+ private void setShowPublic(boolean value) {
+
+ showPublic_ = value;
}
- private void ensureFragmentsIsMutable() {
- com.google.protobuf.Internal.ProtobufListbool show_public = 2 [json_name = "showPublic"];
+ */
+ private void clearShowPublic() {
+
+ showPublic_ = false;
+ }
+
+ public static final int FRAGMENT_VISIBILITY_FIELD_NUMBER = 3;
+ private com.google.protobuf.Internal.IntList fragmentVisibility_;
+ private static final com.google.protobuf.Internal.ListAdapter.Converter<
+ java.lang.Integer, viam.app.v1.App.FragmentVisibility> fragmentVisibility_converter_ =
+ new com.google.protobuf.Internal.ListAdapter.Converter<
+ java.lang.Integer, viam.app.v1.App.FragmentVisibility>() {
+ @java.lang.Override
+ public viam.app.v1.App.FragmentVisibility convert(java.lang.Integer from) {
+ viam.app.v1.App.FragmentVisibility result = viam.app.v1.App.FragmentVisibility.forNumber(from);
+ return result == null ? viam.app.v1.App.FragmentVisibility.UNRECOGNIZED : result;
+ }
+ };
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return A list containing the fragmentVisibility.
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return The count of fragmentVisibility.
+ */
+ @java.lang.Override
+ public int getFragmentVisibilityCount() {
+ return fragmentVisibility_.size();
+ }
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param index The index of the element to return.
+ * @return The fragmentVisibility at the given index.
+ */
+ @java.lang.Override
+ public viam.app.v1.App.FragmentVisibility getFragmentVisibility(int index) {
+ viam.app.v1.App.FragmentVisibility result = viam.app.v1.App.FragmentVisibility.forNumber(fragmentVisibility_.getInt(index));
+ return result == null ? viam.app.v1.App.FragmentVisibility.UNRECOGNIZED : result;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return A list containing the enum numeric values on the wire for fragmentVisibility.
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of fragmentVisibility at the given index.
+ */
+ @java.lang.Override
+ public int getFragmentVisibilityValue(int index) {
+ return fragmentVisibility_.getInt(index);
+ }
+ private int fragmentVisibilityMemoizedSerializedSize;
+ private void ensureFragmentVisibilityIsMutable() {
+ com.google.protobuf.Internal.IntList tmp = fragmentVisibility_;
if (!tmp.isModifiable()) {
- fragments_ =
+ fragmentVisibility_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
- }
+ }
}
-
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param index The index to set the value at.
+ * @param value The fragmentVisibility to set.
*/
- private void setFragments(
- int index, viam.app.v1.App.Fragment value) {
+ private void setFragmentVisibility(
+ int index, viam.app.v1.App.FragmentVisibility value) {
value.getClass();
- ensureFragmentsIsMutable();
- fragments_.set(index, value);
+ ensureFragmentVisibilityIsMutable();
+ fragmentVisibility_.setInt(index, value.getNumber());
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param value The fragmentVisibility to add.
*/
- private void addFragments(viam.app.v1.App.Fragment value) {
+ private void addFragmentVisibility(viam.app.v1.App.FragmentVisibility value) {
value.getClass();
- ensureFragmentsIsMutable();
- fragments_.add(value);
+ ensureFragmentVisibilityIsMutable();
+ fragmentVisibility_.addInt(value.getNumber());
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param values The fragmentVisibility to add.
*/
- private void addFragments(
- int index, viam.app.v1.App.Fragment value) {
- value.getClass();
- ensureFragmentsIsMutable();
- fragments_.add(index, value);
+ private void addAllFragmentVisibility(
+ java.lang.Iterable extends viam.app.v1.App.FragmentVisibility> values) {
+ ensureFragmentVisibilityIsMutable();
+ for (viam.app.v1.App.FragmentVisibility value : values) {
+ fragmentVisibility_.addInt(value.getNumber());
+ }
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
*/
- private void addAllFragments(
- java.lang.Iterable extends viam.app.v1.App.Fragment> values) {
- ensureFragmentsIsMutable();
- com.google.protobuf.AbstractMessageLite.addAll(
- values, fragments_);
+ private void clearFragmentVisibility() {
+ fragmentVisibility_ = emptyIntList();
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param value The enum numeric value on the wire for fragmentVisibility to set.
*/
- private void clearFragments() {
- fragments_ = emptyProtobufList();
+ private void setFragmentVisibilityValue(
+ int index, int value) {
+ ensureFragmentVisibilityIsMutable();
+ fragmentVisibility_.setInt(index, value);
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param value The enum numeric value on the wire for fragmentVisibility to add.
*/
- private void removeFragments(int index) {
- ensureFragmentsIsMutable();
- fragments_.remove(index);
+ private void addFragmentVisibilityValue(int value) {
+ ensureFragmentVisibilityIsMutable();
+ fragmentVisibility_.addInt(value);
+ }
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param values The enum numeric values on the wire for fragmentVisibility to add.
+ */
+ private void addAllFragmentVisibilityValue(
+ java.lang.Iterablerepeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @return The organizationId.
*/
@java.lang.Override
- public java.util.Listrepeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
- */
- @java.lang.Override
- public int getFragmentsCount() {
- return instance.getFragmentsCount();
- }/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @return The bytes for organizationId.
*/
@java.lang.Override
- public viam.app.v1.App.Fragment getFragments(int index) {
- return instance.getFragments(index);
+ public com.google.protobuf.ByteString
+ getOrganizationIdBytes() {
+ return instance.getOrganizationIdBytes();
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @param value The organizationId to set.
+ * @return This builder for chaining.
*/
- public Builder setFragments(
- int index, viam.app.v1.App.Fragment value) {
+ public Builder setOrganizationId(
+ java.lang.String value) {
copyOnWrite();
- instance.setFragments(index, value);
+ instance.setOrganizationId(value);
return this;
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @return This builder for chaining.
*/
- public Builder setFragments(
- int index, viam.app.v1.App.Fragment.Builder builderForValue) {
+ public Builder clearOrganizationId() {
copyOnWrite();
- instance.setFragments(index,
- builderForValue.build());
+ instance.clearOrganizationId();
return this;
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * string organization_id = 1 [json_name = "organizationId"];
+ * @param value The bytes for organizationId to set.
+ * @return This builder for chaining.
*/
- public Builder addFragments(viam.app.v1.App.Fragment value) {
+ public Builder setOrganizationIdBytes(
+ com.google.protobuf.ByteString value) {
copyOnWrite();
- instance.addFragments(value);
+ instance.setOrganizationIdBytes(value);
return this;
}
+
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * bool show_public = 2 [json_name = "showPublic"];
+ * @return The showPublic.
*/
- public Builder addFragments(
- int index, viam.app.v1.App.Fragment value) {
+ @java.lang.Override
+ public boolean getShowPublic() {
+ return instance.getShowPublic();
+ }
+ /**
+ * bool show_public = 2 [json_name = "showPublic"];
+ * @param value The showPublic to set.
+ * @return This builder for chaining.
+ */
+ public Builder setShowPublic(boolean value) {
copyOnWrite();
- instance.addFragments(index, value);
+ instance.setShowPublic(value);
return this;
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * bool show_public = 2 [json_name = "showPublic"];
+ * @return This builder for chaining.
*/
- public Builder addFragments(
- viam.app.v1.App.Fragment.Builder builderForValue) {
+ public Builder clearShowPublic() {
copyOnWrite();
- instance.addFragments(builderForValue.build());
+ instance.clearShowPublic();
return this;
}
+
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return A list containing the fragmentVisibility.
*/
- public Builder addFragments(
- int index, viam.app.v1.App.Fragment.Builder builderForValue) {
+ @java.lang.Override
+ public java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return The count of fragmentVisibility.
+ */
+ @java.lang.Override
+ public int getFragmentVisibilityCount() {
+ return instance.getFragmentVisibilityCount();
+ }
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param index The index of the element to return.
+ * @return The fragmentVisibility at the given index.
+ */
+ @java.lang.Override
+ public viam.app.v1.App.FragmentVisibility getFragmentVisibility(int index) {
+ return instance.getFragmentVisibility(index);
+ }
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param index The index to set the value at.
+ * @param value The fragmentVisibility to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFragmentVisibility(
+ int index, viam.app.v1.App.FragmentVisibility value) {
copyOnWrite();
- instance.addFragments(index,
- builderForValue.build());
+ instance.setFragmentVisibility(index, value);
return this;
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param value The fragmentVisibility to add.
+ * @return This builder for chaining.
*/
- public Builder addAllFragments(
- java.lang.Iterable extends viam.app.v1.App.Fragment> values) {
+ public Builder addFragmentVisibility(viam.app.v1.App.FragmentVisibility value) {
copyOnWrite();
- instance.addAllFragments(values);
+ instance.addFragmentVisibility(value);
return this;
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param values The fragmentVisibility to add.
+ * @return This builder for chaining.
*/
- public Builder clearFragments() {
+ public Builder addAllFragmentVisibility(
+ java.lang.Iterable extends viam.app.v1.App.FragmentVisibility> values) {
copyOnWrite();
- instance.clearFragments();
+ instance.addAllFragmentVisibility(values); return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return This builder for chaining.
+ */
+ public Builder clearFragmentVisibility() {
+ copyOnWrite();
+ instance.clearFragmentVisibility();
return this;
}
/**
- * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @return A list containing the enum numeric values on the wire for fragmentVisibility.
*/
- public Builder removeFragments(int index) {
+ @java.lang.Override
+ public java.util.Listrepeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param index The index of the value to return.
+ * @return The enum numeric value on the wire of fragmentVisibility at the given index.
+ */
+ @java.lang.Override
+ public int getFragmentVisibilityValue(int index) {
+ return instance.getFragmentVisibilityValue(index);
+ }
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param index The index to set the value at.
+ * @param value The enum numeric value on the wire for fragmentVisibility to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFragmentVisibilityValue(
+ int index, int value) {
copyOnWrite();
- instance.removeFragments(index);
+ instance.setFragmentVisibilityValue(index, value);
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param value The enum numeric value on the wire for fragmentVisibility to add.
+ * @return This builder for chaining.
+ */
+ public Builder addFragmentVisibilityValue(int value) {
+ copyOnWrite();
+ instance.addFragmentVisibilityValue(value);
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentVisibility fragment_visibility = 3 [json_name = "fragmentVisibility"];
+ * @param values The enum numeric values on the wire for fragmentVisibility to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllFragmentVisibilityValue(
+ java.lang.Iterablestring id = 1 [json_name = "id"];
- * @return The id.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
- java.lang.String getId();
+ java.util.Liststring id = 1 [json_name = "id"];
- * @return The bytes for id.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
- com.google.protobuf.ByteString
- getIdBytes();
+ viam.app.v1.App.Fragment getFragments(int index);
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ int getFragmentsCount();
}
/**
- * Protobuf type {@code viam.app.v1.GetFragmentRequest}
+ * Protobuf type {@code viam.app.v1.ListFragmentsResponse}
*/
- public static final class GetFragmentRequest extends
+ public static final class ListFragmentsResponse extends
com.google.protobuf.GeneratedMessageLite<
- GetFragmentRequest, GetFragmentRequest.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.GetFragmentRequest)
- GetFragmentRequestOrBuilder {
- private GetFragmentRequest() {
- id_ = "";
+ ListFragmentsResponse, ListFragmentsResponse.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.ListFragmentsResponse)
+ ListFragmentsResponseOrBuilder {
+ private ListFragmentsResponse() {
+ fragments_ = emptyProtobufList();
}
- public static final int ID_FIELD_NUMBER = 1;
- private java.lang.String id_;
+ public static final int FRAGMENTS_FIELD_NUMBER = 1;
+ private com.google.protobuf.Internal.ProtobufListstring id = 1 [json_name = "id"];
- * @return The id.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
@java.lang.Override
- public java.lang.String getId() {
- return id_;
+ public java.util.Liststring id = 1 [json_name = "id"];
- * @return The bytes for id.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
- @java.lang.Override
- public com.google.protobuf.ByteString
- getIdBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(id_);
+ public java.util.List extends viam.app.v1.App.FragmentOrBuilder>
+ getFragmentsOrBuilderList() {
+ return fragments_;
}
/**
- * string id = 1 [json_name = "id"];
- * @param value The id to set.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
- private void setId(
- java.lang.String value) {
- java.lang.Class> valueClass = value.getClass();
-
- id_ = value;
+ @java.lang.Override
+ public int getFragmentsCount() {
+ return fragments_.size();
}
/**
- * string id = 1 [json_name = "id"];
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
- private void clearId() {
-
- id_ = getDefaultInstance().getId();
+ @java.lang.Override
+ public viam.app.v1.App.Fragment getFragments(int index) {
+ return fragments_.get(index);
}
/**
- * string id = 1 [json_name = "id"];
- * @param value The bytes for id to set.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
- private void setIdBytes(
- com.google.protobuf.ByteString value) {
- checkByteStringIsUtf8(value);
- id_ = value.toStringUtf8();
+ public viam.app.v1.App.FragmentOrBuilder getFragmentsOrBuilder(
+ int index) {
+ return fragments_.get(index);
+ }
+ private void ensureFragmentsIsMutable() {
+ com.google.protobuf.Internal.ProtobufListrepeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ private void setFragments(
+ int index, viam.app.v1.App.Fragment value) {
+ value.getClass();
+ ensureFragmentsIsMutable();
+ fragments_.set(index, value);
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ private void addFragments(viam.app.v1.App.Fragment value) {
+ value.getClass();
+ ensureFragmentsIsMutable();
+ fragments_.add(value);
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ private void addFragments(
+ int index, viam.app.v1.App.Fragment value) {
+ value.getClass();
+ ensureFragmentsIsMutable();
+ fragments_.add(index, value);
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ private void addAllFragments(
+ java.lang.Iterable extends viam.app.v1.App.Fragment> values) {
+ ensureFragmentsIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, fragments_);
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ private void clearFragments() {
+ fragments_ = emptyProtobufList();
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ private void removeFragments(int index) {
+ ensureFragmentsIsMutable();
+ fragments_.remove(index);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(byte[] data)
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(java.io.InputStream input)
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -40487,24 +40751,24 @@ public static viam.app.v1.App.GetFragmentRequest parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentRequest parseDelimitedFrom(java.io.InputStream input)
+ public static viam.app.v1.App.ListFragmentsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.GetFragmentRequest parseDelimitedFrom(
+ public static viam.app.v1.App.ListFragmentsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.GetFragmentRequest parseFrom(
+ public static viam.app.v1.App.ListFragmentsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -40515,74 +40779,127 @@ public static viam.app.v1.App.GetFragmentRequest parseFrom(
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
- public static Builder newBuilder(viam.app.v1.App.GetFragmentRequest prototype) {
+ public static Builder newBuilder(viam.app.v1.App.ListFragmentsResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
- * Protobuf type {@code viam.app.v1.GetFragmentRequest}
+ * Protobuf type {@code viam.app.v1.ListFragmentsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
- viam.app.v1.App.GetFragmentRequest, Builder> implements
- // @@protoc_insertion_point(builder_implements:viam.app.v1.GetFragmentRequest)
- viam.app.v1.App.GetFragmentRequestOrBuilder {
- // Construct using viam.app.v1.App.GetFragmentRequest.newBuilder()
+ viam.app.v1.App.ListFragmentsResponse, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.ListFragmentsResponse)
+ viam.app.v1.App.ListFragmentsResponseOrBuilder {
+ // Construct using viam.app.v1.App.ListFragmentsResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
- * string id = 1 [json_name = "id"];
- * @return The id.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
@java.lang.Override
- public java.lang.String getId() {
- return instance.getId();
+ public java.util.Liststring id = 1 [json_name = "id"];
- * @return The bytes for id.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getIdBytes() {
- return instance.getIdBytes();
+ public int getFragmentsCount() {
+ return instance.getFragmentsCount();
+ }/**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ @java.lang.Override
+ public viam.app.v1.App.Fragment getFragments(int index) {
+ return instance.getFragments(index);
}
/**
- * string id = 1 [json_name = "id"];
- * @param value The id to set.
- * @return This builder for chaining.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
- public Builder setId(
- java.lang.String value) {
+ public Builder setFragments(
+ int index, viam.app.v1.App.Fragment value) {
copyOnWrite();
- instance.setId(value);
+ instance.setFragments(index, value);
return this;
}
/**
- * string id = 1 [json_name = "id"];
- * @return This builder for chaining.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
- public Builder clearId() {
+ public Builder setFragments(
+ int index, viam.app.v1.App.Fragment.Builder builderForValue) {
copyOnWrite();
- instance.clearId();
+ instance.setFragments(index,
+ builderForValue.build());
return this;
}
/**
- * string id = 1 [json_name = "id"];
- * @param value The bytes for id to set.
- * @return This builder for chaining.
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
*/
- public Builder setIdBytes(
- com.google.protobuf.ByteString value) {
+ public Builder addFragments(viam.app.v1.App.Fragment value) {
copyOnWrite();
- instance.setIdBytes(value);
+ instance.addFragments(value);
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ public Builder addFragments(
+ int index, viam.app.v1.App.Fragment value) {
+ copyOnWrite();
+ instance.addFragments(index, value);
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ public Builder addFragments(
+ viam.app.v1.App.Fragment.Builder builderForValue) {
+ copyOnWrite();
+ instance.addFragments(builderForValue.build());
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ public Builder addFragments(
+ int index, viam.app.v1.App.Fragment.Builder builderForValue) {
+ copyOnWrite();
+ instance.addFragments(index,
+ builderForValue.build());
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ public Builder addAllFragments(
+ java.lang.Iterable extends viam.app.v1.App.Fragment> values) {
+ copyOnWrite();
+ instance.addAllFragments(values);
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ public Builder clearFragments() {
+ copyOnWrite();
+ instance.clearFragments();
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.Fragment fragments = 1 [json_name = "fragments"];
+ */
+ public Builder removeFragments(int index) {
+ copyOnWrite();
+ instance.removeFragments(index);
return this;
}
- // @@protoc_insertion_point(builder_scope:viam.app.v1.GetFragmentRequest)
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.ListFragmentsResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -40591,17 +40908,18 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new viam.app.v1.App.GetFragmentRequest();
+ return new viam.app.v1.App.ListFragmentsResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
- "id_",
+ "fragments_",
+ viam.app.v1.App.Fragment.class,
};
java.lang.String info =
- "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208";
+ "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -40609,13 +40927,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parser.viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- * @return Whether the fragment field is set.
+ * string id = 1 [json_name = "id"];
+ * @return The id.
*/
- boolean hasFragment();
+ java.lang.String getId();
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- * @return The fragment.
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
*/
- viam.app.v1.App.Fragment getFragment();
+ com.google.protobuf.ByteString
+ getIdBytes();
}
/**
- * Protobuf type {@code viam.app.v1.GetFragmentResponse}
+ * Protobuf type {@code viam.app.v1.GetFragmentRequest}
*/
- public static final class GetFragmentResponse extends
+ public static final class GetFragmentRequest extends
com.google.protobuf.GeneratedMessageLite<
- GetFragmentResponse, GetFragmentResponse.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.GetFragmentResponse)
- GetFragmentResponseOrBuilder {
- private GetFragmentResponse() {
+ GetFragmentRequest, GetFragmentRequest.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.GetFragmentRequest)
+ GetFragmentRequestOrBuilder {
+ private GetFragmentRequest() {
+ id_ = "";
}
- private int bitField0_;
- public static final int FRAGMENT_FIELD_NUMBER = 1;
- private viam.app.v1.App.Fragment fragment_;
+ public static final int ID_FIELD_NUMBER = 1;
+ private java.lang.String id_;
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
+ * @return The id.
*/
@java.lang.Override
- public boolean hasFragment() {
- return ((bitField0_ & 0x00000001) != 0);
+ public java.lang.String getId() {
+ return id_;
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
*/
@java.lang.Override
- public viam.app.v1.App.Fragment getFragment() {
- return fragment_ == null ? viam.app.v1.App.Fragment.getDefaultInstance() : fragment_;
+ public com.google.protobuf.ByteString
+ getIdBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
+ * @param value The id to set.
*/
- private void setFragment(viam.app.v1.App.Fragment value) {
- value.getClass();
- fragment_ = value;
- bitField0_ |= 0x00000001;
- }
+ private void setId(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ id_ = value;
+ }
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
*/
- @java.lang.SuppressWarnings({"ReferenceEquality"})
- private void mergeFragment(viam.app.v1.App.Fragment value) {
- value.getClass();
- if (fragment_ != null &&
- fragment_ != viam.app.v1.App.Fragment.getDefaultInstance()) {
- fragment_ =
- viam.app.v1.App.Fragment.newBuilder(fragment_).mergeFrom(value).buildPartial();
- } else {
- fragment_ = value;
- }
- bitField0_ |= 0x00000001;
+ private void clearId() {
+
+ id_ = getDefaultInstance().getId();
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
+ * @param value The bytes for id to set.
*/
- private void clearFragment() { fragment_ = null;
- bitField0_ = (bitField0_ & ~0x00000001);
+ private void setIdBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ id_ = value.toStringUtf8();
+
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(byte[] data)
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(java.io.InputStream input)
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -40779,24 +41099,24 @@ public static viam.app.v1.App.GetFragmentResponse parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentResponse parseDelimitedFrom(java.io.InputStream input)
+ public static viam.app.v1.App.GetFragmentRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.GetFragmentResponse parseDelimitedFrom(
+ public static viam.app.v1.App.GetFragmentRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.GetFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -40807,72 +41127,74 @@ public static viam.app.v1.App.GetFragmentResponse parseFrom(
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
- public static Builder newBuilder(viam.app.v1.App.GetFragmentResponse prototype) {
+ public static Builder newBuilder(viam.app.v1.App.GetFragmentRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
- * Protobuf type {@code viam.app.v1.GetFragmentResponse}
+ * Protobuf type {@code viam.app.v1.GetFragmentRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
- viam.app.v1.App.GetFragmentResponse, Builder> implements
- // @@protoc_insertion_point(builder_implements:viam.app.v1.GetFragmentResponse)
- viam.app.v1.App.GetFragmentResponseOrBuilder {
- // Construct using viam.app.v1.App.GetFragmentResponse.newBuilder()
+ viam.app.v1.App.GetFragmentRequest, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.GetFragmentRequest)
+ viam.app.v1.App.GetFragmentRequestOrBuilder {
+ // Construct using viam.app.v1.App.GetFragmentRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
+ * @return The id.
*/
@java.lang.Override
- public boolean hasFragment() {
- return instance.hasFragment();
+ public java.lang.String getId() {
+ return instance.getId();
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
*/
@java.lang.Override
- public viam.app.v1.App.Fragment getFragment() {
- return instance.getFragment();
+ public com.google.protobuf.ByteString
+ getIdBytes() {
+ return instance.getIdBytes();
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- public Builder setFragment(viam.app.v1.App.Fragment value) {
- copyOnWrite();
- instance.setFragment(value);
- return this;
- }
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
+ * @param value The id to set.
+ * @return This builder for chaining.
*/
- public Builder setFragment(
- viam.app.v1.App.Fragment.Builder builderForValue) {
+ public Builder setId(
+ java.lang.String value) {
copyOnWrite();
- instance.setFragment(builderForValue.build());
+ instance.setId(value);
return this;
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
+ * @return This builder for chaining.
*/
- public Builder mergeFragment(viam.app.v1.App.Fragment value) {
+ public Builder clearId() {
copyOnWrite();
- instance.mergeFragment(value);
+ instance.clearId();
return this;
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string id = 1 [json_name = "id"];
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
*/
- public Builder clearFragment() { copyOnWrite();
- instance.clearFragment();
+ public Builder setIdBytes(
+ com.google.protobuf.ByteString value) {
+ copyOnWrite();
+ instance.setIdBytes(value);
return this;
}
- // @@protoc_insertion_point(builder_scope:viam.app.v1.GetFragmentResponse)
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.GetFragmentRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -40881,18 +41203,17 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new viam.app.v1.App.GetFragmentResponse();
+ return new viam.app.v1.App.GetFragmentRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
- "bitField0_",
- "fragment_",
+ "id_",
};
java.lang.String info =
- "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
+ "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -40900,13 +41221,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parserstring name = 1 [json_name = "name"];
- * @return The name.
- */
- java.lang.String getName();
- /**
- * string name = 1 [json_name = "name"];
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString
- getNameBytes();
-
- /**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
- * @return Whether the config field is set.
- */
- boolean hasConfig();
- /**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
- * @return The config.
- */
- com.google.protobuf.Struct getConfig();
-
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @return The organizationId.
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * @return Whether the fragment field is set.
*/
- java.lang.String getOrganizationId();
+ boolean hasFragment();
/**
- * string organization_id = 3 [json_name = "organizationId"];
- * @return The bytes for organizationId.
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * @return The fragment.
*/
- com.google.protobuf.ByteString
- getOrganizationIdBytes();
+ viam.app.v1.App.Fragment getFragment();
}
/**
- * Protobuf type {@code viam.app.v1.CreateFragmentRequest}
+ * Protobuf type {@code viam.app.v1.GetFragmentResponse}
*/
- public static final class CreateFragmentRequest extends
+ public static final class GetFragmentResponse extends
com.google.protobuf.GeneratedMessageLite<
- CreateFragmentRequest, CreateFragmentRequest.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.CreateFragmentRequest)
- CreateFragmentRequestOrBuilder {
- private CreateFragmentRequest() {
- name_ = "";
- organizationId_ = "";
+ GetFragmentResponse, GetFragmentResponse.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.GetFragmentResponse)
+ GetFragmentResponseOrBuilder {
+ private GetFragmentResponse() {
}
private int bitField0_;
- public static final int NAME_FIELD_NUMBER = 1;
- private java.lang.String name_;
+ public static final int FRAGMENT_FIELD_NUMBER = 1;
+ private viam.app.v1.App.Fragment fragment_;
/**
- * string name = 1 [json_name = "name"];
- * @return The name.
- */
- @java.lang.Override
- public java.lang.String getName() {
- return name_;
- }
- /**
- * string name = 1 [json_name = "name"];
- * @return The bytes for name.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getNameBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(name_);
- }
- /**
- * string name = 1 [json_name = "name"];
- * @param value The name to set.
- */
- private void setName(
- java.lang.String value) {
- java.lang.Class> valueClass = value.getClass();
-
- name_ = value;
- }
- /**
- * string name = 1 [json_name = "name"];
- */
- private void clearName() {
-
- name_ = getDefaultInstance().getName();
- }
- /**
- * string name = 1 [json_name = "name"];
- * @param value The bytes for name to set.
- */
- private void setNameBytes(
- com.google.protobuf.ByteString value) {
- checkByteStringIsUtf8(value);
- name_ = value.toStringUtf8();
-
- }
-
- public static final int CONFIG_FIELD_NUMBER = 2;
- private com.google.protobuf.Struct config_;
- /**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
@java.lang.Override
- public boolean hasConfig() {
+ public boolean hasFragment() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
@java.lang.Override
- public com.google.protobuf.Struct getConfig() {
- return config_ == null ? com.google.protobuf.Struct.getDefaultInstance() : config_;
+ public viam.app.v1.App.Fragment getFragment() {
+ return fragment_ == null ? viam.app.v1.App.Fragment.getDefaultInstance() : fragment_;
}
/**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
- private void setConfig(com.google.protobuf.Struct value) {
+ private void setFragment(viam.app.v1.App.Fragment value) {
value.getClass();
- config_ = value;
+ fragment_ = value;
bitField0_ |= 0x00000001;
}
/**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
- private void mergeConfig(com.google.protobuf.Struct value) {
+ private void mergeFragment(viam.app.v1.App.Fragment value) {
value.getClass();
- if (config_ != null &&
- config_ != com.google.protobuf.Struct.getDefaultInstance()) {
- config_ =
- com.google.protobuf.Struct.newBuilder(config_).mergeFrom(value).buildPartial();
+ if (fragment_ != null &&
+ fragment_ != viam.app.v1.App.Fragment.getDefaultInstance()) {
+ fragment_ =
+ viam.app.v1.App.Fragment.newBuilder(fragment_).mergeFrom(value).buildPartial();
} else {
- config_ = value;
+ fragment_ = value;
}
bitField0_ |= 0x00000001;
}
/**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
- private void clearConfig() { config_ = null;
+ private void clearFragment() { fragment_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
- public static final int ORGANIZATION_ID_FIELD_NUMBER = 3;
- private java.lang.String organizationId_;
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @return The organizationId.
- */
- @java.lang.Override
- public java.lang.String getOrganizationId() {
- return organizationId_;
- }
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @return The bytes for organizationId.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getOrganizationIdBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(organizationId_);
- }
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @param value The organizationId to set.
- */
- private void setOrganizationId(
- java.lang.String value) {
- java.lang.Class> valueClass = value.getClass();
-
- organizationId_ = value;
- }
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- */
- private void clearOrganizationId() {
-
- organizationId_ = getDefaultInstance().getOrganizationId();
- }
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @param value The bytes for organizationId to set.
- */
- private void setOrganizationIdBytes(
- com.google.protobuf.ByteString value) {
- checkByteStringIsUtf8(value);
- organizationId_ = value.toStringUtf8();
-
- }
-
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(byte[] data)
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(java.io.InputStream input)
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -41190,24 +41391,24 @@ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.CreateFragmentRequest parseDelimitedFrom(java.io.InputStream input)
+ public static viam.app.v1.App.GetFragmentResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.CreateFragmentRequest parseDelimitedFrom(
+ public static viam.app.v1.App.GetFragmentResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -41218,170 +41419,72 @@ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
- public static Builder newBuilder(viam.app.v1.App.CreateFragmentRequest prototype) {
+ public static Builder newBuilder(viam.app.v1.App.GetFragmentResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
- * Protobuf type {@code viam.app.v1.CreateFragmentRequest}
+ * Protobuf type {@code viam.app.v1.GetFragmentResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
- viam.app.v1.App.CreateFragmentRequest, Builder> implements
- // @@protoc_insertion_point(builder_implements:viam.app.v1.CreateFragmentRequest)
- viam.app.v1.App.CreateFragmentRequestOrBuilder {
- // Construct using viam.app.v1.App.CreateFragmentRequest.newBuilder()
+ viam.app.v1.App.GetFragmentResponse, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.GetFragmentResponse)
+ viam.app.v1.App.GetFragmentResponseOrBuilder {
+ // Construct using viam.app.v1.App.GetFragmentResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
- * string name = 1 [json_name = "name"];
- * @return The name.
- */
- @java.lang.Override
- public java.lang.String getName() {
- return instance.getName();
- }
- /**
- * string name = 1 [json_name = "name"];
- * @return The bytes for name.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getNameBytes() {
- return instance.getNameBytes();
- }
- /**
- * string name = 1 [json_name = "name"];
- * @param value The name to set.
- * @return This builder for chaining.
- */
- public Builder setName(
- java.lang.String value) {
- copyOnWrite();
- instance.setName(value);
- return this;
- }
- /**
- * string name = 1 [json_name = "name"];
- * @return This builder for chaining.
- */
- public Builder clearName() {
- copyOnWrite();
- instance.clearName();
- return this;
- }
- /**
- * string name = 1 [json_name = "name"];
- * @param value The bytes for name to set.
- * @return This builder for chaining.
- */
- public Builder setNameBytes(
- com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setNameBytes(value);
- return this;
- }
-
- /**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
@java.lang.Override
- public boolean hasConfig() {
- return instance.hasConfig();
+ public boolean hasFragment() {
+ return instance.hasFragment();
}
/**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
@java.lang.Override
- public com.google.protobuf.Struct getConfig() {
- return instance.getConfig();
+ public viam.app.v1.App.Fragment getFragment() {
+ return instance.getFragment();
}
/**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
- public Builder setConfig(com.google.protobuf.Struct value) {
+ public Builder setFragment(viam.app.v1.App.Fragment value) {
copyOnWrite();
- instance.setConfig(value);
+ instance.setFragment(value);
return this;
}
/**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
- public Builder setConfig(
- com.google.protobuf.Struct.Builder builderForValue) {
+ public Builder setFragment(
+ viam.app.v1.App.Fragment.Builder builderForValue) {
copyOnWrite();
- instance.setConfig(builderForValue.build());
+ instance.setFragment(builderForValue.build());
return this;
}
/**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
- public Builder mergeConfig(com.google.protobuf.Struct value) {
+ public Builder mergeFragment(viam.app.v1.App.Fragment value) {
copyOnWrite();
- instance.mergeConfig(value);
+ instance.mergeFragment(value);
return this;
}
/**
- * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
- public Builder clearConfig() { copyOnWrite();
- instance.clearConfig();
+ public Builder clearFragment() { copyOnWrite();
+ instance.clearFragment();
return this;
}
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @return The organizationId.
- */
- @java.lang.Override
- public java.lang.String getOrganizationId() {
- return instance.getOrganizationId();
- }
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @return The bytes for organizationId.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getOrganizationIdBytes() {
- return instance.getOrganizationIdBytes();
- }
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @param value The organizationId to set.
- * @return This builder for chaining.
- */
- public Builder setOrganizationId(
- java.lang.String value) {
- copyOnWrite();
- instance.setOrganizationId(value);
- return this;
- }
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @return This builder for chaining.
- */
- public Builder clearOrganizationId() {
- copyOnWrite();
- instance.clearOrganizationId();
- return this;
- }
- /**
- * string organization_id = 3 [json_name = "organizationId"];
- * @param value The bytes for organizationId to set.
- * @return This builder for chaining.
- */
- public Builder setOrganizationIdBytes(
- com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setOrganizationIdBytes(value);
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:viam.app.v1.CreateFragmentRequest)
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.GetFragmentResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -41390,7 +41493,7 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new viam.app.v1.App.CreateFragmentRequest();
+ return new viam.app.v1.App.GetFragmentResponse();
}
case NEW_BUILDER: {
return new Builder();
@@ -41398,13 +41501,10 @@ protected final java.lang.Object dynamicMethod(
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
- "name_",
- "config_",
- "organizationId_",
+ "fragment_",
};
java.lang.String info =
- "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u1009" +
- "\u0000\u0003\u0208";
+ "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -41412,13 +41512,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parser.viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- * @return Whether the fragment field is set.
+ * string name = 1 [json_name = "name"];
+ * @return The name.
*/
- boolean hasFragment();
+ java.lang.String getName();
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- * @return The fragment.
+ * string name = 1 [json_name = "name"];
+ * @return The bytes for name.
*/
- viam.app.v1.App.Fragment getFragment();
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * @return Whether the config field is set.
+ */
+ boolean hasConfig();
+ /**
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
+ * @return The config.
+ */
+ com.google.protobuf.Struct getConfig();
+
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @return The organizationId.
+ */
+ java.lang.String getOrganizationId();
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @return The bytes for organizationId.
+ */
+ com.google.protobuf.ByteString
+ getOrganizationIdBytes();
}
/**
- * Protobuf type {@code viam.app.v1.CreateFragmentResponse}
+ * Protobuf type {@code viam.app.v1.CreateFragmentRequest}
*/
- public static final class CreateFragmentResponse extends
+ public static final class CreateFragmentRequest extends
com.google.protobuf.GeneratedMessageLite<
- CreateFragmentResponse, CreateFragmentResponse.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.CreateFragmentResponse)
- CreateFragmentResponseOrBuilder {
- private CreateFragmentResponse() {
+ CreateFragmentRequest, CreateFragmentRequest.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.CreateFragmentRequest)
+ CreateFragmentRequestOrBuilder {
+ private CreateFragmentRequest() {
+ name_ = "";
+ organizationId_ = "";
}
private int bitField0_;
- public static final int FRAGMENT_FIELD_NUMBER = 1;
- private viam.app.v1.App.Fragment fragment_;
+ public static final int NAME_FIELD_NUMBER = 1;
+ private java.lang.String name_;
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string name = 1 [json_name = "name"];
+ * @return The name.
*/
@java.lang.Override
- public boolean hasFragment() {
+ public java.lang.String getName() {
+ return name_;
+ }
+ /**
+ * string name = 1 [json_name = "name"];
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(name_);
+ }
+ /**
+ * string name = 1 [json_name = "name"];
+ * @param value The name to set.
+ */
+ private void setName(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ name_ = value;
+ }
+ /**
+ * string name = 1 [json_name = "name"];
+ */
+ private void clearName() {
+
+ name_ = getDefaultInstance().getName();
+ }
+ /**
+ * string name = 1 [json_name = "name"];
+ * @param value The bytes for name to set.
+ */
+ private void setNameBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ name_ = value.toStringUtf8();
+
+ }
+
+ public static final int CONFIG_FIELD_NUMBER = 2;
+ private com.google.protobuf.Struct config_;
+ /**
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
+ */
+ @java.lang.Override
+ public boolean hasConfig() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
*/
@java.lang.Override
- public viam.app.v1.App.Fragment getFragment() {
- return fragment_ == null ? viam.app.v1.App.Fragment.getDefaultInstance() : fragment_;
+ public com.google.protobuf.Struct getConfig() {
+ return config_ == null ? com.google.protobuf.Struct.getDefaultInstance() : config_;
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
*/
- private void setFragment(viam.app.v1.App.Fragment value) {
+ private void setConfig(com.google.protobuf.Struct value) {
value.getClass();
- fragment_ = value;
+ config_ = value;
bitField0_ |= 0x00000001;
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
- private void mergeFragment(viam.app.v1.App.Fragment value) {
+ private void mergeConfig(com.google.protobuf.Struct value) {
value.getClass();
- if (fragment_ != null &&
- fragment_ != viam.app.v1.App.Fragment.getDefaultInstance()) {
- fragment_ =
- viam.app.v1.App.Fragment.newBuilder(fragment_).mergeFrom(value).buildPartial();
+ if (config_ != null &&
+ config_ != com.google.protobuf.Struct.getDefaultInstance()) {
+ config_ =
+ com.google.protobuf.Struct.newBuilder(config_).mergeFrom(value).buildPartial();
} else {
- fragment_ = value;
+ config_ = value;
}
bitField0_ |= 0x00000001;
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
*/
- private void clearFragment() { fragment_ = null;
+ private void clearConfig() { config_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, data);
+ public static final int ORGANIZATION_ID_FIELD_NUMBER = 3;
+ private java.lang.String organizationId_;
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @return The organizationId.
+ */
+ @java.lang.Override
+ public java.lang.String getOrganizationId() {
+ return organizationId_;
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, data, extensionRegistry);
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @return The bytes for organizationId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getOrganizationIdBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(organizationId_);
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, data);
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @param value The organizationId to set.
+ */
+ private void setOrganizationId(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ organizationId_ = value;
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(
- com.google.protobuf.ByteString data,
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ */
+ private void clearOrganizationId() {
+
+ organizationId_ = getDefaultInstance().getOrganizationId();
+ }
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @param value The bytes for organizationId to set.
+ */
+ private void setOrganizationIdBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ organizationId_ = value.toStringUtf8();
+
+ }
+
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(byte[] data)
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(java.io.InputStream input)
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -41582,24 +41802,24 @@ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.CreateFragmentResponse parseDelimitedFrom(java.io.InputStream input)
+ public static viam.app.v1.App.CreateFragmentRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.CreateFragmentResponse parseDelimitedFrom(
+ public static viam.app.v1.App.CreateFragmentRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ public static viam.app.v1.App.CreateFragmentRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -41610,72 +41830,170 @@ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
- public static Builder newBuilder(viam.app.v1.App.CreateFragmentResponse prototype) {
+ public static Builder newBuilder(viam.app.v1.App.CreateFragmentRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
- * Protobuf type {@code viam.app.v1.CreateFragmentResponse}
+ * Protobuf type {@code viam.app.v1.CreateFragmentRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
- viam.app.v1.App.CreateFragmentResponse, Builder> implements
- // @@protoc_insertion_point(builder_implements:viam.app.v1.CreateFragmentResponse)
- viam.app.v1.App.CreateFragmentResponseOrBuilder {
- // Construct using viam.app.v1.App.CreateFragmentResponse.newBuilder()
+ viam.app.v1.App.CreateFragmentRequest, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.CreateFragmentRequest)
+ viam.app.v1.App.CreateFragmentRequestOrBuilder {
+ // Construct using viam.app.v1.App.CreateFragmentRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string name = 1 [json_name = "name"];
+ * @return The name.
*/
@java.lang.Override
- public boolean hasFragment() {
- return instance.hasFragment();
+ public java.lang.String getName() {
+ return instance.getName();
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string name = 1 [json_name = "name"];
+ * @return The bytes for name.
*/
@java.lang.Override
- public viam.app.v1.App.Fragment getFragment() {
- return instance.getFragment();
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ return instance.getNameBytes();
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * string name = 1 [json_name = "name"];
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
- public Builder setFragment(viam.app.v1.App.Fragment value) {
+ public Builder setName(
+ java.lang.String value) {
copyOnWrite();
- instance.setFragment(value);
+ instance.setName(value);
+ return this;
+ }
+ /**
+ * string name = 1 [json_name = "name"];
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ copyOnWrite();
+ instance.clearName();
+ return this;
+ }
+ /**
+ * string name = 1 [json_name = "name"];
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ copyOnWrite();
+ instance.setNameBytes(value);
+ return this;
+ }
+
+ /**
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
+ */
+ @java.lang.Override
+ public boolean hasConfig() {
+ return instance.hasConfig();
+ }
+ /**
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
+ */
+ @java.lang.Override
+ public com.google.protobuf.Struct getConfig() {
+ return instance.getConfig();
+ }
+ /**
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
+ */
+ public Builder setConfig(com.google.protobuf.Struct value) {
+ copyOnWrite();
+ instance.setConfig(value);
return this;
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
*/
- public Builder setFragment(
- viam.app.v1.App.Fragment.Builder builderForValue) {
+ public Builder setConfig(
+ com.google.protobuf.Struct.Builder builderForValue) {
copyOnWrite();
- instance.setFragment(builderForValue.build());
+ instance.setConfig(builderForValue.build());
return this;
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
*/
- public Builder mergeFragment(viam.app.v1.App.Fragment value) {
+ public Builder mergeConfig(com.google.protobuf.Struct value) {
copyOnWrite();
- instance.mergeFragment(value);
+ instance.mergeConfig(value);
return this;
}
/**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * .google.protobuf.Struct config = 2 [json_name = "config"];
*/
- public Builder clearFragment() { copyOnWrite();
- instance.clearFragment();
+ public Builder clearConfig() { copyOnWrite();
+ instance.clearConfig();
return this;
}
- // @@protoc_insertion_point(builder_scope:viam.app.v1.CreateFragmentResponse)
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @return The organizationId.
+ */
+ @java.lang.Override
+ public java.lang.String getOrganizationId() {
+ return instance.getOrganizationId();
+ }
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @return The bytes for organizationId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getOrganizationIdBytes() {
+ return instance.getOrganizationIdBytes();
+ }
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @param value The organizationId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOrganizationId(
+ java.lang.String value) {
+ copyOnWrite();
+ instance.setOrganizationId(value);
+ return this;
+ }
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @return This builder for chaining.
+ */
+ public Builder clearOrganizationId() {
+ copyOnWrite();
+ instance.clearOrganizationId();
+ return this;
+ }
+ /**
+ * string organization_id = 3 [json_name = "organizationId"];
+ * @param value The bytes for organizationId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOrganizationIdBytes(
+ com.google.protobuf.ByteString value) {
+ copyOnWrite();
+ instance.setOrganizationIdBytes(value);
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.CreateFragmentRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -41684,7 +42002,7 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new viam.app.v1.App.CreateFragmentResponse();
+ return new viam.app.v1.App.CreateFragmentRequest();
}
case NEW_BUILDER: {
return new Builder();
@@ -41692,10 +42010,13 @@ protected final java.lang.Object dynamicMethod(
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
- "fragment_",
+ "name_",
+ "config_",
+ "organizationId_",
};
java.lang.String info =
- "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
+ "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u1009" +
+ "\u0000\u0003\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -41703,13 +42024,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parserstring id = 1 [json_name = "id"];
- * @return The id.
- */
- java.lang.String getId();
- /**
- * string id = 1 [json_name = "id"];
- * @return The bytes for id.
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * @return Whether the fragment field is set.
*/
- com.google.protobuf.ByteString
- getIdBytes();
-
+ boolean hasFragment();
/**
- * string name = 2 [json_name = "name"];
- * @return The name.
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * @return The fragment.
*/
- java.lang.String getName();
- /**
- * string name = 2 [json_name = "name"];
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString
- getNameBytes();
-
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- * @return Whether the config field is set.
- */
- boolean hasConfig();
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- * @return The config.
- */
- com.google.protobuf.Struct getConfig();
-
- /**
- * optional bool public = 4 [json_name = "public"];
- * @return Whether the public field is set.
- */
- boolean hasPublic();
- /**
- * optional bool public = 4 [json_name = "public"];
- * @return The public.
- */
- boolean getPublic();
-
- /**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @return Whether the visibility field is set.
- */
- boolean hasVisibility();
- /**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @return The enum numeric value on the wire for visibility.
- */
- int getVisibilityValue();
- /**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @return The visibility.
- */
- viam.app.v1.App.FragmentVisibility getVisibility();
+ viam.app.v1.App.Fragment getFragment();
}
/**
- * Protobuf type {@code viam.app.v1.UpdateFragmentRequest}
+ * Protobuf type {@code viam.app.v1.CreateFragmentResponse}
*/
- public static final class UpdateFragmentRequest extends
+ public static final class CreateFragmentResponse extends
com.google.protobuf.GeneratedMessageLite<
- UpdateFragmentRequest, UpdateFragmentRequest.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.UpdateFragmentRequest)
- UpdateFragmentRequestOrBuilder {
- private UpdateFragmentRequest() {
- id_ = "";
- name_ = "";
+ CreateFragmentResponse, CreateFragmentResponse.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.CreateFragmentResponse)
+ CreateFragmentResponseOrBuilder {
+ private CreateFragmentResponse() {
}
private int bitField0_;
- public static final int ID_FIELD_NUMBER = 1;
- private java.lang.String id_;
+ public static final int FRAGMENT_FIELD_NUMBER = 1;
+ private viam.app.v1.App.Fragment fragment_;
/**
- * string id = 1 [json_name = "id"];
- * @return The id.
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
@java.lang.Override
- public java.lang.String getId() {
- return id_;
+ public boolean hasFragment() {
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * string id = 1 [json_name = "id"];
- * @return The bytes for id.
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getIdBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(id_);
+ public viam.app.v1.App.Fragment getFragment() {
+ return fragment_ == null ? viam.app.v1.App.Fragment.getDefaultInstance() : fragment_;
}
/**
- * string id = 1 [json_name = "id"];
- * @param value The id to set.
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
- private void setId(
- java.lang.String value) {
- java.lang.Class> valueClass = value.getClass();
-
- id_ = value;
- }
+ private void setFragment(viam.app.v1.App.Fragment value) {
+ value.getClass();
+ fragment_ = value;
+ bitField0_ |= 0x00000001;
+ }
/**
- * string id = 1 [json_name = "id"];
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
- private void clearId() {
-
- id_ = getDefaultInstance().getId();
+ @java.lang.SuppressWarnings({"ReferenceEquality"})
+ private void mergeFragment(viam.app.v1.App.Fragment value) {
+ value.getClass();
+ if (fragment_ != null &&
+ fragment_ != viam.app.v1.App.Fragment.getDefaultInstance()) {
+ fragment_ =
+ viam.app.v1.App.Fragment.newBuilder(fragment_).mergeFrom(value).buildPartial();
+ } else {
+ fragment_ = value;
+ }
+ bitField0_ |= 0x00000001;
}
/**
- * string id = 1 [json_name = "id"];
- * @param value The bytes for id to set.
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
*/
- private void setIdBytes(
- com.google.protobuf.ByteString value) {
- checkByteStringIsUtf8(value);
- id_ = value.toStringUtf8();
-
+ private void clearFragment() { fragment_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
}
- public static final int NAME_FIELD_NUMBER = 2;
- private java.lang.String name_;
- /**
- * string name = 2 [json_name = "name"];
- * @return The name.
- */
- @java.lang.Override
- public java.lang.String getName() {
- return name_;
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
}
- /**
- * string name = 2 [json_name = "name"];
- * @return The bytes for name.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getNameBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(name_);
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
}
- /**
- * string name = 2 [json_name = "name"];
- * @param value The name to set.
- */
- private void setName(
- java.lang.String value) {
- java.lang.Class> valueClass = value.getClass();
-
- name_ = value;
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- /**
- * string name = 2 [json_name = "name"];
- */
- private void clearName() {
- name_ = getDefaultInstance().getName();
+ public static viam.app.v1.App.CreateFragmentResponse parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
- /**
- * string name = 2 [json_name = "name"];
- * @param value The bytes for name to set.
- */
- private void setNameBytes(
- com.google.protobuf.ByteString value) {
- checkByteStringIsUtf8(value);
- name_ = value.toStringUtf8();
+ public static viam.app.v1.App.CreateFragmentResponse parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static viam.app.v1.App.CreateFragmentResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static final int CONFIG_FIELD_NUMBER = 3;
- private com.google.protobuf.Struct config_;
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- */
- @java.lang.Override
- public boolean hasConfig() {
- return ((bitField0_ & 0x00000001) != 0);
+ public static Builder newBuilder() {
+ return (Builder) DEFAULT_INSTANCE.createBuilder();
}
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- */
- @java.lang.Override
- public com.google.protobuf.Struct getConfig() {
- return config_ == null ? com.google.protobuf.Struct.getDefaultInstance() : config_;
+ public static Builder newBuilder(viam.app.v1.App.CreateFragmentResponse prototype) {
+ return DEFAULT_INSTANCE.createBuilder(prototype);
}
+
/**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- */
- private void setConfig(com.google.protobuf.Struct value) {
- value.getClass();
- config_ = value;
- bitField0_ |= 0x00000001;
- }
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
+ * Protobuf type {@code viam.app.v1.CreateFragmentResponse}
*/
- @java.lang.SuppressWarnings({"ReferenceEquality"})
- private void mergeConfig(com.google.protobuf.Struct value) {
- value.getClass();
- if (config_ != null &&
- config_ != com.google.protobuf.Struct.getDefaultInstance()) {
- config_ =
- com.google.protobuf.Struct.newBuilder(config_).mergeFrom(value).buildPartial();
- } else {
- config_ = value;
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageLite.Builder<
+ viam.app.v1.App.CreateFragmentResponse, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.CreateFragmentResponse)
+ viam.app.v1.App.CreateFragmentResponseOrBuilder {
+ // Construct using viam.app.v1.App.CreateFragmentResponse.newBuilder()
+ private Builder() {
+ super(DEFAULT_INSTANCE);
}
- bitField0_ |= 0x00000001;
+
+
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ @java.lang.Override
+ public boolean hasFragment() {
+ return instance.hasFragment();
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ @java.lang.Override
+ public viam.app.v1.App.Fragment getFragment() {
+ return instance.getFragment();
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ public Builder setFragment(viam.app.v1.App.Fragment value) {
+ copyOnWrite();
+ instance.setFragment(value);
+ return this;
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ public Builder setFragment(
+ viam.app.v1.App.Fragment.Builder builderForValue) {
+ copyOnWrite();
+ instance.setFragment(builderForValue.build());
+ return this;
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ public Builder mergeFragment(viam.app.v1.App.Fragment value) {
+ copyOnWrite();
+ instance.mergeFragment(value);
+ return this;
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ public Builder clearFragment() { copyOnWrite();
+ instance.clearFragment();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.CreateFragmentResponse)
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
+ protected final java.lang.Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ java.lang.Object arg0, java.lang.Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new viam.app.v1.App.CreateFragmentResponse();
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case BUILD_MESSAGE_INFO: {
+ java.lang.Object[] objects = new java.lang.Object[] {
+ "bitField0_",
+ "fragment_",
+ };
+ java.lang.String info =
+ "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
+ return newMessageInfo(DEFAULT_INSTANCE, info, objects);
+ }
+ // fall through
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ com.google.protobuf.Parserstring id = 1 [json_name = "id"];
+ * @return The id.
+ */
+ java.lang.String getId();
+ /**
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
+ */
+ com.google.protobuf.ByteString
+ getIdBytes();
+
+ /**
+ * string name = 2 [json_name = "name"];
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * string name = 2 [json_name = "name"];
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ * @return Whether the config field is set.
+ */
+ boolean hasConfig();
/**
* .google.protobuf.Struct config = 3 [json_name = "config"];
+ * @return The config.
*/
- private void clearConfig() { config_ = null;
- bitField0_ = (bitField0_ & ~0x00000001);
- }
+ com.google.protobuf.Struct getConfig();
- public static final int PUBLIC_FIELD_NUMBER = 4;
- private boolean public_;
/**
* optional bool public = 4 [json_name = "public"];
* @return Whether the public field is set.
*/
- @java.lang.Override
- public boolean hasPublic() {
- return ((bitField0_ & 0x00000002) != 0);
- }
+ boolean hasPublic();
/**
* optional bool public = 4 [json_name = "public"];
* @return The public.
*/
+ boolean getPublic();
+
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return Whether the visibility field is set.
+ */
+ boolean hasVisibility();
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return The enum numeric value on the wire for visibility.
+ */
+ int getVisibilityValue();
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return The visibility.
+ */
+ viam.app.v1.App.FragmentVisibility getVisibility();
+ }
+ /**
+ * Protobuf type {@code viam.app.v1.UpdateFragmentRequest}
+ */
+ public static final class UpdateFragmentRequest extends
+ com.google.protobuf.GeneratedMessageLite<
+ UpdateFragmentRequest, UpdateFragmentRequest.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.UpdateFragmentRequest)
+ UpdateFragmentRequestOrBuilder {
+ private UpdateFragmentRequest() {
+ id_ = "";
+ name_ = "";
+ }
+ private int bitField0_;
+ public static final int ID_FIELD_NUMBER = 1;
+ private java.lang.String id_;
+ /**
+ * string id = 1 [json_name = "id"];
+ * @return The id.
+ */
@java.lang.Override
- public boolean getPublic() {
- return public_;
+ public java.lang.String getId() {
+ return id_;
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getIdBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(id_);
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @param value The id to set.
+ */
+ private void setId(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ id_ = value;
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ */
+ private void clearId() {
+
+ id_ = getDefaultInstance().getId();
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @param value The bytes for id to set.
+ */
+ private void setIdBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ id_ = value.toStringUtf8();
+
+ }
+
+ public static final int NAME_FIELD_NUMBER = 2;
+ private java.lang.String name_;
+ /**
+ * string name = 2 [json_name = "name"];
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ return name_;
+ }
+ /**
+ * string name = 2 [json_name = "name"];
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(name_);
+ }
+ /**
+ * string name = 2 [json_name = "name"];
+ * @param value The name to set.
+ */
+ private void setName(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ name_ = value;
+ }
+ /**
+ * string name = 2 [json_name = "name"];
+ */
+ private void clearName() {
+
+ name_ = getDefaultInstance().getName();
+ }
+ /**
+ * string name = 2 [json_name = "name"];
+ * @param value The bytes for name to set.
+ */
+ private void setNameBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ name_ = value.toStringUtf8();
+
+ }
+
+ public static final int CONFIG_FIELD_NUMBER = 3;
+ private com.google.protobuf.Struct config_;
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ @java.lang.Override
+ public boolean hasConfig() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ @java.lang.Override
+ public com.google.protobuf.Struct getConfig() {
+ return config_ == null ? com.google.protobuf.Struct.getDefaultInstance() : config_;
+ }
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ private void setConfig(com.google.protobuf.Struct value) {
+ value.getClass();
+ config_ = value;
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ @java.lang.SuppressWarnings({"ReferenceEquality"})
+ private void mergeConfig(com.google.protobuf.Struct value) {
+ value.getClass();
+ if (config_ != null &&
+ config_ != com.google.protobuf.Struct.getDefaultInstance()) {
+ config_ =
+ com.google.protobuf.Struct.newBuilder(config_).mergeFrom(value).buildPartial();
+ } else {
+ config_ = value;
+ }
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ private void clearConfig() { config_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+
+ public static final int PUBLIC_FIELD_NUMBER = 4;
+ private boolean public_;
+ /**
+ * optional bool public = 4 [json_name = "public"];
+ * @return Whether the public field is set.
+ */
+ @java.lang.Override
+ public boolean hasPublic() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * optional bool public = 4 [json_name = "public"];
+ * @return The public.
+ */
+ @java.lang.Override
+ public boolean getPublic() {
+ return public_;
+ }
+ /**
+ * optional bool public = 4 [json_name = "public"];
+ * @param value The public to set.
+ */
+ private void setPublic(boolean value) {
+ bitField0_ |= 0x00000002;
+ public_ = value;
+ }
+ /**
+ * optional bool public = 4 [json_name = "public"];
+ */
+ private void clearPublic() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ public_ = false;
+ }
+
+ public static final int VISIBILITY_FIELD_NUMBER = 5;
+ private int visibility_;
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return Whether the visibility field is set.
+ */
+ @java.lang.Override
+ public boolean hasVisibility() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return The enum numeric value on the wire for visibility.
+ */
+ @java.lang.Override
+ public int getVisibilityValue() {
+ return visibility_;
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return The visibility.
+ */
+ @java.lang.Override
+ public viam.app.v1.App.FragmentVisibility getVisibility() {
+ viam.app.v1.App.FragmentVisibility result = viam.app.v1.App.FragmentVisibility.forNumber(visibility_);
+ return result == null ? viam.app.v1.App.FragmentVisibility.UNRECOGNIZED : result;
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @param value The enum numeric value on the wire for visibility to set.
+ */
+ private void setVisibilityValue(int value) {
+ bitField0_ |= 0x00000004; visibility_ = value;
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @param value The visibility to set.
+ */
+ private void setVisibility(viam.app.v1.App.FragmentVisibility value) {
+ visibility_ = value.getNumber();
+ bitField0_ |= 0x00000004;
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ */
+ private void clearVisibility() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ visibility_ = 0;
+ }
+
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+
+ public static viam.app.v1.App.UpdateFragmentRequest parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
+ }
+
+ public static viam.app.v1.App.UpdateFragmentRequest parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() {
+ return (Builder) DEFAULT_INSTANCE.createBuilder();
+ }
+ public static Builder newBuilder(viam.app.v1.App.UpdateFragmentRequest prototype) {
+ return DEFAULT_INSTANCE.createBuilder(prototype);
+ }
+
+ /**
+ * Protobuf type {@code viam.app.v1.UpdateFragmentRequest}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageLite.Builder<
+ viam.app.v1.App.UpdateFragmentRequest, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.UpdateFragmentRequest)
+ viam.app.v1.App.UpdateFragmentRequestOrBuilder {
+ // Construct using viam.app.v1.App.UpdateFragmentRequest.newBuilder()
+ private Builder() {
+ super(DEFAULT_INSTANCE);
+ }
+
+
+ /**
+ * string id = 1 [json_name = "id"];
+ * @return The id.
+ */
+ @java.lang.Override
+ public java.lang.String getId() {
+ return instance.getId();
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getIdBytes() {
+ return instance.getIdBytes();
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @param value The id to set.
+ * @return This builder for chaining.
+ */
+ public Builder setId(
+ java.lang.String value) {
+ copyOnWrite();
+ instance.setId(value);
+ return this;
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @return This builder for chaining.
+ */
+ public Builder clearId() {
+ copyOnWrite();
+ instance.clearId();
+ return this;
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @param value The bytes for id to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIdBytes(
+ com.google.protobuf.ByteString value) {
+ copyOnWrite();
+ instance.setIdBytes(value);
+ return this;
+ }
+
+ /**
+ * string name = 2 [json_name = "name"];
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ return instance.getName();
+ }
+ /**
+ * string name = 2 [json_name = "name"];
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ return instance.getNameBytes();
+ }
+ /**
+ * string name = 2 [json_name = "name"];
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(
+ java.lang.String value) {
+ copyOnWrite();
+ instance.setName(value);
+ return this;
+ }
+ /**
+ * string name = 2 [json_name = "name"];
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ copyOnWrite();
+ instance.clearName();
+ return this;
+ }
+ /**
+ * string name = 2 [json_name = "name"];
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ copyOnWrite();
+ instance.setNameBytes(value);
+ return this;
+ }
+
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ @java.lang.Override
+ public boolean hasConfig() {
+ return instance.hasConfig();
+ }
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ @java.lang.Override
+ public com.google.protobuf.Struct getConfig() {
+ return instance.getConfig();
+ }
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ public Builder setConfig(com.google.protobuf.Struct value) {
+ copyOnWrite();
+ instance.setConfig(value);
+ return this;
+ }
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ public Builder setConfig(
+ com.google.protobuf.Struct.Builder builderForValue) {
+ copyOnWrite();
+ instance.setConfig(builderForValue.build());
+ return this;
+ }
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ public Builder mergeConfig(com.google.protobuf.Struct value) {
+ copyOnWrite();
+ instance.mergeConfig(value);
+ return this;
+ }
+ /**
+ * .google.protobuf.Struct config = 3 [json_name = "config"];
+ */
+ public Builder clearConfig() { copyOnWrite();
+ instance.clearConfig();
+ return this;
+ }
+
+ /**
+ * optional bool public = 4 [json_name = "public"];
+ * @return Whether the public field is set.
+ */
+ @java.lang.Override
+ public boolean hasPublic() {
+ return instance.hasPublic();
+ }
+ /**
+ * optional bool public = 4 [json_name = "public"];
+ * @return The public.
+ */
+ @java.lang.Override
+ public boolean getPublic() {
+ return instance.getPublic();
+ }
+ /**
+ * optional bool public = 4 [json_name = "public"];
+ * @param value The public to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPublic(boolean value) {
+ copyOnWrite();
+ instance.setPublic(value);
+ return this;
+ }
+ /**
+ * optional bool public = 4 [json_name = "public"];
+ * @return This builder for chaining.
+ */
+ public Builder clearPublic() {
+ copyOnWrite();
+ instance.clearPublic();
+ return this;
+ }
+
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return Whether the visibility field is set.
+ */
+ @java.lang.Override
+ public boolean hasVisibility() {
+ return instance.hasVisibility();
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return The enum numeric value on the wire for visibility.
+ */
+ @java.lang.Override
+ public int getVisibilityValue() {
+ return instance.getVisibilityValue();
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @param value The visibility to set.
+ * @return This builder for chaining.
+ */
+ public Builder setVisibilityValue(int value) {
+ copyOnWrite();
+ instance.setVisibilityValue(value);
+ return this;
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return The visibility.
+ */
+ @java.lang.Override
+ public viam.app.v1.App.FragmentVisibility getVisibility() {
+ return instance.getVisibility();
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @param value The enum numeric value on the wire for visibility to set.
+ * @return This builder for chaining.
+ */
+ public Builder setVisibility(viam.app.v1.App.FragmentVisibility value) {
+ copyOnWrite();
+ instance.setVisibility(value);
+ return this;
+ }
+ /**
+ * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * @return This builder for chaining.
+ */
+ public Builder clearVisibility() {
+ copyOnWrite();
+ instance.clearVisibility();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.UpdateFragmentRequest)
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
+ protected final java.lang.Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ java.lang.Object arg0, java.lang.Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new viam.app.v1.App.UpdateFragmentRequest();
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case BUILD_MESSAGE_INFO: {
+ java.lang.Object[] objects = new java.lang.Object[] {
+ "bitField0_",
+ "id_",
+ "name_",
+ "config_",
+ "public_",
+ "visibility_",
+ };
+ java.lang.String info =
+ "\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
+ "\u0003\u1009\u0000\u0004\u1007\u0001\u0005\u100c\u0002";
+ return newMessageInfo(DEFAULT_INSTANCE, info, objects);
+ }
+ // fall through
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ com.google.protobuf.Parser.viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * @return Whether the fragment field is set.
+ */
+ boolean hasFragment();
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ * @return The fragment.
+ */
+ viam.app.v1.App.Fragment getFragment();
+ }
+ /**
+ * Protobuf type {@code viam.app.v1.UpdateFragmentResponse}
+ */
+ public static final class UpdateFragmentResponse extends
+ com.google.protobuf.GeneratedMessageLite<
+ UpdateFragmentResponse, UpdateFragmentResponse.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.UpdateFragmentResponse)
+ UpdateFragmentResponseOrBuilder {
+ private UpdateFragmentResponse() {
+ }
+ private int bitField0_;
+ public static final int FRAGMENT_FIELD_NUMBER = 1;
+ private viam.app.v1.App.Fragment fragment_;
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ @java.lang.Override
+ public boolean hasFragment() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ @java.lang.Override
+ public viam.app.v1.App.Fragment getFragment() {
+ return fragment_ == null ? viam.app.v1.App.Fragment.getDefaultInstance() : fragment_;
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ private void setFragment(viam.app.v1.App.Fragment value) {
+ value.getClass();
+ fragment_ = value;
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ @java.lang.SuppressWarnings({"ReferenceEquality"})
+ private void mergeFragment(viam.app.v1.App.Fragment value) {
+ value.getClass();
+ if (fragment_ != null &&
+ fragment_ != viam.app.v1.App.Fragment.getDefaultInstance()) {
+ fragment_ =
+ viam.app.v1.App.Fragment.newBuilder(fragment_).mergeFrom(value).buildPartial();
+ } else {
+ fragment_ = value;
+ }
+ bitField0_ |= 0x00000001;
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ private void clearFragment() { fragment_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data);
+ }
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, data, extensionRegistry);
+ }
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+
+ public static viam.app.v1.App.UpdateFragmentResponse parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input);
+ }
+
+ public static viam.app.v1.App.UpdateFragmentResponse parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static viam.app.v1.App.UpdateFragmentResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
+ }
+
+ public static Builder newBuilder() {
+ return (Builder) DEFAULT_INSTANCE.createBuilder();
+ }
+ public static Builder newBuilder(viam.app.v1.App.UpdateFragmentResponse prototype) {
+ return DEFAULT_INSTANCE.createBuilder(prototype);
+ }
+
+ /**
+ * Protobuf type {@code viam.app.v1.UpdateFragmentResponse}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageLite.Builder<
+ viam.app.v1.App.UpdateFragmentResponse, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.UpdateFragmentResponse)
+ viam.app.v1.App.UpdateFragmentResponseOrBuilder {
+ // Construct using viam.app.v1.App.UpdateFragmentResponse.newBuilder()
+ private Builder() {
+ super(DEFAULT_INSTANCE);
+ }
+
+
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ @java.lang.Override
+ public boolean hasFragment() {
+ return instance.hasFragment();
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ @java.lang.Override
+ public viam.app.v1.App.Fragment getFragment() {
+ return instance.getFragment();
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ public Builder setFragment(viam.app.v1.App.Fragment value) {
+ copyOnWrite();
+ instance.setFragment(value);
+ return this;
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ public Builder setFragment(
+ viam.app.v1.App.Fragment.Builder builderForValue) {
+ copyOnWrite();
+ instance.setFragment(builderForValue.build());
+ return this;
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ public Builder mergeFragment(viam.app.v1.App.Fragment value) {
+ copyOnWrite();
+ instance.mergeFragment(value);
+ return this;
+ }
+ /**
+ * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
+ */
+ public Builder clearFragment() { copyOnWrite();
+ instance.clearFragment();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.UpdateFragmentResponse)
+ }
+ @java.lang.Override
+ @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
+ protected final java.lang.Object dynamicMethod(
+ com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
+ java.lang.Object arg0, java.lang.Object arg1) {
+ switch (method) {
+ case NEW_MUTABLE_INSTANCE: {
+ return new viam.app.v1.App.UpdateFragmentResponse();
+ }
+ case NEW_BUILDER: {
+ return new Builder();
+ }
+ case BUILD_MESSAGE_INFO: {
+ java.lang.Object[] objects = new java.lang.Object[] {
+ "bitField0_",
+ "fragment_",
+ };
+ java.lang.String info =
+ "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
+ return newMessageInfo(DEFAULT_INSTANCE, info, objects);
+ }
+ // fall through
+ case GET_DEFAULT_INSTANCE: {
+ return DEFAULT_INSTANCE;
+ }
+ case GET_PARSER: {
+ com.google.protobuf.Parseroptional bool public = 4 [json_name = "public"];
- * @param value The public to set.
- */
- private void setPublic(boolean value) {
- bitField0_ |= 0x00000002;
- public_ = value;
+
+ public static viam.app.v1.App.UpdateFragmentResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
}
- /**
- * optional bool public = 4 [json_name = "public"];
- */
- private void clearPublic() {
- bitField0_ = (bitField0_ & ~0x00000002);
- public_ = false;
+
+ private static volatile com.google.protobuf.Parseroptional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @return Whether the visibility field is set.
+ * string id = 1 [json_name = "id"];
+ * @return The id.
*/
- @java.lang.Override
- public boolean hasVisibility() {
- return ((bitField0_ & 0x00000004) != 0);
+ java.lang.String getId();
+ /**
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
+ */
+ com.google.protobuf.ByteString
+ getIdBytes();
+ }
+ /**
+ * Protobuf type {@code viam.app.v1.DeleteFragmentRequest}
+ */
+ public static final class DeleteFragmentRequest extends
+ com.google.protobuf.GeneratedMessageLite<
+ DeleteFragmentRequest, DeleteFragmentRequest.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.DeleteFragmentRequest)
+ DeleteFragmentRequestOrBuilder {
+ private DeleteFragmentRequest() {
+ id_ = "";
}
+ public static final int ID_FIELD_NUMBER = 1;
+ private java.lang.String id_;
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @return The enum numeric value on the wire for visibility.
+ * string id = 1 [json_name = "id"];
+ * @return The id.
*/
@java.lang.Override
- public int getVisibilityValue() {
- return visibility_;
+ public java.lang.String getId() {
+ return id_;
}
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @return The visibility.
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
*/
@java.lang.Override
- public viam.app.v1.App.FragmentVisibility getVisibility() {
- viam.app.v1.App.FragmentVisibility result = viam.app.v1.App.FragmentVisibility.forNumber(visibility_);
- return result == null ? viam.app.v1.App.FragmentVisibility.UNRECOGNIZED : result;
+ public com.google.protobuf.ByteString
+ getIdBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(id_);
}
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @param value The enum numeric value on the wire for visibility to set.
+ * string id = 1 [json_name = "id"];
+ * @param value The id to set.
*/
- private void setVisibilityValue(int value) {
- bitField0_ |= 0x00000004; visibility_ = value;
+ private void setId(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ id_ = value;
}
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @param value The visibility to set.
+ * string id = 1 [json_name = "id"];
*/
- private void setVisibility(viam.app.v1.App.FragmentVisibility value) {
- visibility_ = value.getNumber();
- bitField0_ |= 0x00000004;
+ private void clearId() {
+
+ id_ = getDefaultInstance().getId();
}
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * string id = 1 [json_name = "id"];
+ * @param value The bytes for id to set.
*/
- private void clearVisibility() {
- bitField0_ = (bitField0_ & ~0x00000004);
- visibility_ = 0;
+ private void setIdBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ id_ = value.toStringUtf8();
+
}
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(byte[] data)
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(java.io.InputStream input)
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -42104,288 +43493,102 @@ public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseDelimitedFrom(java.io.InputStream input)
+ public static viam.app.v1.App.DeleteFragmentRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseDelimitedFrom(
+ public static viam.app.v1.App.DeleteFragmentRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, input);
- }
- public static viam.app.v1.App.UpdateFragmentRequest parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageLite.parseFrom(
- DEFAULT_INSTANCE, input, extensionRegistry);
- }
-
- public static Builder newBuilder() {
- return (Builder) DEFAULT_INSTANCE.createBuilder();
- }
- public static Builder newBuilder(viam.app.v1.App.UpdateFragmentRequest prototype) {
- return DEFAULT_INSTANCE.createBuilder(prototype);
- }
-
- /**
- * Protobuf type {@code viam.app.v1.UpdateFragmentRequest}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageLite.Builder<
- viam.app.v1.App.UpdateFragmentRequest, Builder> implements
- // @@protoc_insertion_point(builder_implements:viam.app.v1.UpdateFragmentRequest)
- viam.app.v1.App.UpdateFragmentRequestOrBuilder {
- // Construct using viam.app.v1.App.UpdateFragmentRequest.newBuilder()
- private Builder() {
- super(DEFAULT_INSTANCE);
- }
-
-
- /**
- * string id = 1 [json_name = "id"];
- * @return The id.
- */
- @java.lang.Override
- public java.lang.String getId() {
- return instance.getId();
- }
- /**
- * string id = 1 [json_name = "id"];
- * @return The bytes for id.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getIdBytes() {
- return instance.getIdBytes();
- }
- /**
- * string id = 1 [json_name = "id"];
- * @param value The id to set.
- * @return This builder for chaining.
- */
- public Builder setId(
- java.lang.String value) {
- copyOnWrite();
- instance.setId(value);
- return this;
- }
- /**
- * string id = 1 [json_name = "id"];
- * @return This builder for chaining.
- */
- public Builder clearId() {
- copyOnWrite();
- instance.clearId();
- return this;
- }
- /**
- * string id = 1 [json_name = "id"];
- * @param value The bytes for id to set.
- * @return This builder for chaining.
- */
- public Builder setIdBytes(
- com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setIdBytes(value);
- return this;
- }
-
- /**
- * string name = 2 [json_name = "name"];
- * @return The name.
- */
- @java.lang.Override
- public java.lang.String getName() {
- return instance.getName();
- }
- /**
- * string name = 2 [json_name = "name"];
- * @return The bytes for name.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getNameBytes() {
- return instance.getNameBytes();
- }
- /**
- * string name = 2 [json_name = "name"];
- * @param value The name to set.
- * @return This builder for chaining.
- */
- public Builder setName(
- java.lang.String value) {
- copyOnWrite();
- instance.setName(value);
- return this;
- }
- /**
- * string name = 2 [json_name = "name"];
- * @return This builder for chaining.
- */
- public Builder clearName() {
- copyOnWrite();
- instance.clearName();
- return this;
- }
- /**
- * string name = 2 [json_name = "name"];
- * @param value The bytes for name to set.
- * @return This builder for chaining.
- */
- public Builder setNameBytes(
- com.google.protobuf.ByteString value) {
- copyOnWrite();
- instance.setNameBytes(value);
- return this;
- }
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input);
+ }
+ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageLite.parseFrom(
+ DEFAULT_INSTANCE, input, extensionRegistry);
+ }
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- */
- @java.lang.Override
- public boolean hasConfig() {
- return instance.hasConfig();
- }
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- */
- @java.lang.Override
- public com.google.protobuf.Struct getConfig() {
- return instance.getConfig();
- }
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- */
- public Builder setConfig(com.google.protobuf.Struct value) {
- copyOnWrite();
- instance.setConfig(value);
- return this;
- }
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- */
- public Builder setConfig(
- com.google.protobuf.Struct.Builder builderForValue) {
- copyOnWrite();
- instance.setConfig(builderForValue.build());
- return this;
- }
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- */
- public Builder mergeConfig(com.google.protobuf.Struct value) {
- copyOnWrite();
- instance.mergeConfig(value);
- return this;
- }
- /**
- * .google.protobuf.Struct config = 3 [json_name = "config"];
- */
- public Builder clearConfig() { copyOnWrite();
- instance.clearConfig();
- return this;
- }
+ public static Builder newBuilder() {
+ return (Builder) DEFAULT_INSTANCE.createBuilder();
+ }
+ public static Builder newBuilder(viam.app.v1.App.DeleteFragmentRequest prototype) {
+ return DEFAULT_INSTANCE.createBuilder(prototype);
+ }
- /**
- * optional bool public = 4 [json_name = "public"];
- * @return Whether the public field is set.
- */
- @java.lang.Override
- public boolean hasPublic() {
- return instance.hasPublic();
- }
- /**
- * optional bool public = 4 [json_name = "public"];
- * @return The public.
- */
- @java.lang.Override
- public boolean getPublic() {
- return instance.getPublic();
- }
- /**
- * optional bool public = 4 [json_name = "public"];
- * @param value The public to set.
- * @return This builder for chaining.
- */
- public Builder setPublic(boolean value) {
- copyOnWrite();
- instance.setPublic(value);
- return this;
- }
- /**
- * optional bool public = 4 [json_name = "public"];
- * @return This builder for chaining.
- */
- public Builder clearPublic() {
- copyOnWrite();
- instance.clearPublic();
- return this;
+ /**
+ * Protobuf type {@code viam.app.v1.DeleteFragmentRequest}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageLite.Builder<
+ viam.app.v1.App.DeleteFragmentRequest, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.DeleteFragmentRequest)
+ viam.app.v1.App.DeleteFragmentRequestOrBuilder {
+ // Construct using viam.app.v1.App.DeleteFragmentRequest.newBuilder()
+ private Builder() {
+ super(DEFAULT_INSTANCE);
}
+
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @return Whether the visibility field is set.
+ * string id = 1 [json_name = "id"];
+ * @return The id.
*/
@java.lang.Override
- public boolean hasVisibility() {
- return instance.hasVisibility();
+ public java.lang.String getId() {
+ return instance.getId();
}
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @return The enum numeric value on the wire for visibility.
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
*/
@java.lang.Override
- public int getVisibilityValue() {
- return instance.getVisibilityValue();
+ public com.google.protobuf.ByteString
+ getIdBytes() {
+ return instance.getIdBytes();
}
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @param value The visibility to set.
+ * string id = 1 [json_name = "id"];
+ * @param value The id to set.
* @return This builder for chaining.
*/
- public Builder setVisibilityValue(int value) {
+ public Builder setId(
+ java.lang.String value) {
copyOnWrite();
- instance.setVisibilityValue(value);
+ instance.setId(value);
return this;
}
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @return The visibility.
- */
- @java.lang.Override
- public viam.app.v1.App.FragmentVisibility getVisibility() {
- return instance.getVisibility();
- }
- /**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
- * @param value The enum numeric value on the wire for visibility to set.
+ * string id = 1 [json_name = "id"];
* @return This builder for chaining.
*/
- public Builder setVisibility(viam.app.v1.App.FragmentVisibility value) {
+ public Builder clearId() {
copyOnWrite();
- instance.setVisibility(value);
+ instance.clearId();
return this;
}
/**
- * optional .viam.app.v1.FragmentVisibility visibility = 5 [json_name = "visibility"];
+ * string id = 1 [json_name = "id"];
+ * @param value The bytes for id to set.
* @return This builder for chaining.
*/
- public Builder clearVisibility() {
+ public Builder setIdBytes(
+ com.google.protobuf.ByteString value) {
copyOnWrite();
- instance.clearVisibility();
+ instance.setIdBytes(value);
return this;
}
- // @@protoc_insertion_point(builder_scope:viam.app.v1.UpdateFragmentRequest)
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.DeleteFragmentRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -42394,23 +43597,17 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new viam.app.v1.App.UpdateFragmentRequest();
+ return new viam.app.v1.App.DeleteFragmentRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
- "bitField0_",
"id_",
- "name_",
- "config_",
- "public_",
- "visibility_",
};
java.lang.String info =
- "\u0000\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
- "\u0003\u1009\u0000\u0004\u1007\u0001\u0005\u100c\u0002";
+ "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -42418,13 +43615,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parser.viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- * @return Whether the fragment field is set.
- */
- boolean hasFragment();
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- * @return The fragment.
- */
- viam.app.v1.App.Fragment getFragment();
- }
- /**
- * Protobuf type {@code viam.app.v1.UpdateFragmentResponse}
- */
- public static final class UpdateFragmentResponse extends
- com.google.protobuf.GeneratedMessageLite<
- UpdateFragmentResponse, UpdateFragmentResponse.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.UpdateFragmentResponse)
- UpdateFragmentResponseOrBuilder {
- private UpdateFragmentResponse() {
- }
- private int bitField0_;
- public static final int FRAGMENT_FIELD_NUMBER = 1;
- private viam.app.v1.App.Fragment fragment_;
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- @java.lang.Override
- public boolean hasFragment() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- @java.lang.Override
- public viam.app.v1.App.Fragment getFragment() {
- return fragment_ == null ? viam.app.v1.App.Fragment.getDefaultInstance() : fragment_;
- }
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- private void setFragment(viam.app.v1.App.Fragment value) {
- value.getClass();
- fragment_ = value;
- bitField0_ |= 0x00000001;
+ return (byte) 1;
}
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- @java.lang.SuppressWarnings({"ReferenceEquality"})
- private void mergeFragment(viam.app.v1.App.Fragment value) {
- value.getClass();
- if (fragment_ != null &&
- fragment_ != viam.app.v1.App.Fragment.getDefaultInstance()) {
- fragment_ =
- viam.app.v1.App.Fragment.newBuilder(fragment_).mergeFrom(value).buildPartial();
- } else {
- fragment_ = value;
+ case SET_MEMOIZED_IS_INITIALIZED: {
+ return null;
}
- bitField0_ |= 0x00000001;
+ }
+ throw new UnsupportedOperationException();
}
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- private void clearFragment() { fragment_ = null;
- bitField0_ = (bitField0_ & ~0x00000001);
+
+
+ // @@protoc_insertion_point(class_scope:viam.app.v1.DeleteFragmentRequest)
+ private static final viam.app.v1.App.DeleteFragmentRequest DEFAULT_INSTANCE;
+ static {
+ DeleteFragmentRequest defaultInstance = new DeleteFragmentRequest();
+ // New instances are implicitly immutable so no need to make
+ // immutable.
+ DEFAULT_INSTANCE = defaultInstance;
+ com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
+ DeleteFragmentRequest.class, defaultInstance);
}
- public static viam.app.v1.App.UpdateFragmentResponse parseFrom(
+ public static viam.app.v1.App.DeleteFragmentRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static volatile com.google.protobuf.Parser.viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- @java.lang.Override
- public boolean hasFragment() {
- return instance.hasFragment();
- }
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- @java.lang.Override
- public viam.app.v1.App.Fragment getFragment() {
- return instance.getFragment();
- }
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- public Builder setFragment(viam.app.v1.App.Fragment value) {
- copyOnWrite();
- instance.setFragment(value);
- return this;
- }
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- public Builder setFragment(
- viam.app.v1.App.Fragment.Builder builderForValue) {
- copyOnWrite();
- instance.setFragment(builderForValue.build());
- return this;
- }
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- public Builder mergeFragment(viam.app.v1.App.Fragment value) {
- copyOnWrite();
- instance.mergeFragment(value);
- return this;
- }
- /**
- * .viam.app.v1.Fragment fragment = 1 [json_name = "fragment"];
- */
- public Builder clearFragment() { copyOnWrite();
- instance.clearFragment();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:viam.app.v1.UpdateFragmentResponse)
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.DeleteFragmentResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -42690,18 +43782,14 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new viam.app.v1.App.UpdateFragmentResponse();
+ return new viam.app.v1.App.DeleteFragmentResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
- java.lang.Object[] objects = new java.lang.Object[] {
- "bitField0_",
- "fragment_",
- };
- java.lang.String info =
- "\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
+ java.lang.Object[] objects = null;java.lang.String info =
+ "\u0000\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -42709,13 +43797,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parseroptional string page_token = 2 [json_name = "pageToken"];
+ * @return Whether the pageToken field is set.
+ */
+ boolean hasPageToken();
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @return The pageToken.
+ */
+ java.lang.String getPageToken();
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @return The bytes for pageToken.
+ */
+ com.google.protobuf.ByteString
+ getPageTokenBytes();
+
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ * @return Whether the pageLimit field is set.
+ */
+ boolean hasPageLimit();
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ * @return The pageLimit.
+ */
+ long getPageLimit();
}
/**
- * Protobuf type {@code viam.app.v1.DeleteFragmentRequest}
+ * Protobuf type {@code viam.app.v1.GetFragmentHistoryRequest}
*/
- public static final class DeleteFragmentRequest extends
+ public static final class GetFragmentHistoryRequest extends
com.google.protobuf.GeneratedMessageLite<
- DeleteFragmentRequest, DeleteFragmentRequest.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.DeleteFragmentRequest)
- DeleteFragmentRequestOrBuilder {
- private DeleteFragmentRequest() {
+ GetFragmentHistoryRequest, GetFragmentHistoryRequest.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.GetFragmentHistoryRequest)
+ GetFragmentHistoryRequestOrBuilder {
+ private GetFragmentHistoryRequest() {
id_ = "";
+ pageToken_ = "";
}
+ private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private java.lang.String id_;
/**
- * string id = 1 [json_name = "id"];
- * @return The id.
+ * string id = 1 [json_name = "id"];
+ * @return The id.
+ */
+ @java.lang.Override
+ public java.lang.String getId() {
+ return id_;
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @return The bytes for id.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getIdBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(id_);
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @param value The id to set.
+ */
+ private void setId(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ id_ = value;
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ */
+ private void clearId() {
+
+ id_ = getDefaultInstance().getId();
+ }
+ /**
+ * string id = 1 [json_name = "id"];
+ * @param value The bytes for id to set.
+ */
+ private void setIdBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ id_ = value.toStringUtf8();
+
+ }
+
+ public static final int PAGE_TOKEN_FIELD_NUMBER = 2;
+ private java.lang.String pageToken_;
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @return Whether the pageToken field is set.
+ */
+ @java.lang.Override
+ public boolean hasPageToken() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @return The pageToken.
*/
@java.lang.Override
- public java.lang.String getId() {
- return id_;
+ public java.lang.String getPageToken() {
+ return pageToken_;
}
/**
- * string id = 1 [json_name = "id"];
- * @return The bytes for id.
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @return The bytes for pageToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
- getIdBytes() {
- return com.google.protobuf.ByteString.copyFromUtf8(id_);
+ getPageTokenBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(pageToken_);
}
/**
- * string id = 1 [json_name = "id"];
- * @param value The id to set.
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @param value The pageToken to set.
*/
- private void setId(
+ private void setPageToken(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
-
- id_ = value;
+ bitField0_ |= 0x00000001;
+ pageToken_ = value;
}
/**
- * string id = 1 [json_name = "id"];
+ * optional string page_token = 2 [json_name = "pageToken"];
*/
- private void clearId() {
-
- id_ = getDefaultInstance().getId();
+ private void clearPageToken() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ pageToken_ = getDefaultInstance().getPageToken();
}
/**
- * string id = 1 [json_name = "id"];
- * @param value The bytes for id to set.
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @param value The bytes for pageToken to set.
*/
- private void setIdBytes(
+ private void setPageTokenBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
- id_ = value.toStringUtf8();
+ pageToken_ = value.toStringUtf8();
+ bitField0_ |= 0x00000001;
+ }
+ public static final int PAGE_LIMIT_FIELD_NUMBER = 3;
+ private long pageLimit_;
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ * @return Whether the pageLimit field is set.
+ */
+ @java.lang.Override
+ public boolean hasPageLimit() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ * @return The pageLimit.
+ */
+ @java.lang.Override
+ public long getPageLimit() {
+ return pageLimit_;
+ }
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ * @param value The pageLimit to set.
+ */
+ private void setPageLimit(long value) {
+ bitField0_ |= 0x00000002;
+ pageLimit_ = value;
+ }
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ */
+ private void clearPageLimit() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ pageLimit_ = 0L;
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(byte[] data)
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(java.io.InputStream input)
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -42881,24 +44088,24 @@ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseDelimitedFrom(java.io.InputStream input)
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseDelimitedFrom(
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -42909,19 +44116,19 @@ public static viam.app.v1.App.DeleteFragmentRequest parseFrom(
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
- public static Builder newBuilder(viam.app.v1.App.DeleteFragmentRequest prototype) {
+ public static Builder newBuilder(viam.app.v1.App.GetFragmentHistoryRequest prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
- * Protobuf type {@code viam.app.v1.DeleteFragmentRequest}
+ * Protobuf type {@code viam.app.v1.GetFragmentHistoryRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
- viam.app.v1.App.DeleteFragmentRequest, Builder> implements
- // @@protoc_insertion_point(builder_implements:viam.app.v1.DeleteFragmentRequest)
- viam.app.v1.App.DeleteFragmentRequestOrBuilder {
- // Construct using viam.app.v1.App.DeleteFragmentRequest.newBuilder()
+ viam.app.v1.App.GetFragmentHistoryRequest, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.GetFragmentHistoryRequest)
+ viam.app.v1.App.GetFragmentHistoryRequestOrBuilder {
+ // Construct using viam.app.v1.App.GetFragmentHistoryRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@@ -42976,7 +44183,100 @@ public Builder setIdBytes(
return this;
}
- // @@protoc_insertion_point(builder_scope:viam.app.v1.DeleteFragmentRequest)
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @return Whether the pageToken field is set.
+ */
+ @java.lang.Override
+ public boolean hasPageToken() {
+ return instance.hasPageToken();
+ }
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @return The pageToken.
+ */
+ @java.lang.Override
+ public java.lang.String getPageToken() {
+ return instance.getPageToken();
+ }
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @return The bytes for pageToken.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getPageTokenBytes() {
+ return instance.getPageTokenBytes();
+ }
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageToken(
+ java.lang.String value) {
+ copyOnWrite();
+ instance.setPageToken(value);
+ return this;
+ }
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @return This builder for chaining.
+ */
+ public Builder clearPageToken() {
+ copyOnWrite();
+ instance.clearPageToken();
+ return this;
+ }
+ /**
+ * optional string page_token = 2 [json_name = "pageToken"];
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageTokenBytes(
+ com.google.protobuf.ByteString value) {
+ copyOnWrite();
+ instance.setPageTokenBytes(value);
+ return this;
+ }
+
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ * @return Whether the pageLimit field is set.
+ */
+ @java.lang.Override
+ public boolean hasPageLimit() {
+ return instance.hasPageLimit();
+ }
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ * @return The pageLimit.
+ */
+ @java.lang.Override
+ public long getPageLimit() {
+ return instance.getPageLimit();
+ }
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ * @param value The pageLimit to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageLimit(long value) {
+ copyOnWrite();
+ instance.setPageLimit(value);
+ return this;
+ }
+ /**
+ * optional int64 page_limit = 3 [json_name = "pageLimit"];
+ * @return This builder for chaining.
+ */
+ public Builder clearPageLimit() {
+ copyOnWrite();
+ instance.clearPageLimit();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.GetFragmentHistoryRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -42985,17 +44285,21 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new viam.app.v1.App.DeleteFragmentRequest();
+ return new viam.app.v1.App.GetFragmentHistoryRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
+ "bitField0_",
"id_",
+ "pageToken_",
+ "pageLimit_",
};
java.lang.String info =
- "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208";
+ "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u1208" +
+ "\u0000\u0003\u1002\u0001";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -43003,13 +44307,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parserrepeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ java.util.Listrepeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ viam.app.v1.App.FragmentHistoryEntry getHistory(int index);
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ int getHistoryCount();
+
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ * @return The nextPageToken.
+ */
+ java.lang.String getNextPageToken();
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ * @return The bytes for nextPageToken.
+ */
+ com.google.protobuf.ByteString
+ getNextPageTokenBytes();
+ }
+ /**
+ * Protobuf type {@code viam.app.v1.GetFragmentHistoryResponse}
+ */
+ public static final class GetFragmentHistoryResponse extends
+ com.google.protobuf.GeneratedMessageLite<
+ GetFragmentHistoryResponse, GetFragmentHistoryResponse.Builder> implements
+ // @@protoc_insertion_point(message_implements:viam.app.v1.GetFragmentHistoryResponse)
+ GetFragmentHistoryResponseOrBuilder {
+ private GetFragmentHistoryResponse() {
+ history_ = emptyProtobufList();
+ nextPageToken_ = "";
+ }
+ public static final int HISTORY_FIELD_NUMBER = 1;
+ private com.google.protobuf.Internal.ProtobufListrepeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public java.util.List extends viam.app.v1.App.FragmentHistoryEntryOrBuilder>
+ getHistoryOrBuilderList() {
+ return history_;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ @java.lang.Override
+ public int getHistoryCount() {
+ return history_.size();
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ @java.lang.Override
+ public viam.app.v1.App.FragmentHistoryEntry getHistory(int index) {
+ return history_.get(index);
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public viam.app.v1.App.FragmentHistoryEntryOrBuilder getHistoryOrBuilder(
+ int index) {
+ return history_.get(index);
+ }
+ private void ensureHistoryIsMutable() {
+ com.google.protobuf.Internal.ProtobufListrepeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ private void setHistory(
+ int index, viam.app.v1.App.FragmentHistoryEntry value) {
+ value.getClass();
+ ensureHistoryIsMutable();
+ history_.set(index, value);
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ private void addHistory(viam.app.v1.App.FragmentHistoryEntry value) {
+ value.getClass();
+ ensureHistoryIsMutable();
+ history_.add(value);
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ private void addHistory(
+ int index, viam.app.v1.App.FragmentHistoryEntry value) {
+ value.getClass();
+ ensureHistoryIsMutable();
+ history_.add(index, value);
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ private void addAllHistory(
+ java.lang.Iterable extends viam.app.v1.App.FragmentHistoryEntry> values) {
+ ensureHistoryIsMutable();
+ com.google.protobuf.AbstractMessageLite.addAll(
+ values, history_);
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ private void clearHistory() {
+ history_ = emptyProtobufList();
}
-
- public static viam.app.v1.App.DeleteFragmentRequest getDefaultInstance() {
- return DEFAULT_INSTANCE;
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ private void removeHistory(int index) {
+ ensureHistoryIsMutable();
+ history_.remove(index);
}
- private static volatile com.google.protobuf.Parserstring next_page_token = 2 [json_name = "nextPageToken"];
+ * @return The nextPageToken.
+ */
+ @java.lang.Override
+ public java.lang.String getNextPageToken() {
+ return nextPageToken_;
+ }
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ * @return The bytes for nextPageToken.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNextPageTokenBytes() {
+ return com.google.protobuf.ByteString.copyFromUtf8(nextPageToken_);
+ }
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ * @param value The nextPageToken to set.
+ */
+ private void setNextPageToken(
+ java.lang.String value) {
+ java.lang.Class> valueClass = value.getClass();
+
+ nextPageToken_ = value;
+ }
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ */
+ private void clearNextPageToken() {
- public static com.google.protobuf.Parserstring next_page_token = 2 [json_name = "nextPageToken"];
+ * @param value The bytes for nextPageToken to set.
+ */
+ private void setNextPageTokenBytes(
+ com.google.protobuf.ByteString value) {
+ checkByteStringIsUtf8(value);
+ nextPageToken_ = value.toStringUtf8();
- public interface DeleteFragmentResponseOrBuilder extends
- // @@protoc_insertion_point(interface_extends:viam.app.v1.DeleteFragmentResponse)
- com.google.protobuf.MessageLiteOrBuilder {
- }
- /**
- * Protobuf type {@code viam.app.v1.DeleteFragmentResponse}
- */
- public static final class DeleteFragmentResponse extends
- com.google.protobuf.GeneratedMessageLite<
- DeleteFragmentResponse, DeleteFragmentResponse.Builder> implements
- // @@protoc_insertion_point(message_implements:viam.app.v1.DeleteFragmentResponse)
- DeleteFragmentResponseOrBuilder {
- private DeleteFragmentResponse() {
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
+
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(byte[] data)
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(java.io.InputStream input)
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -43115,24 +44588,24 @@ public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseDelimitedFrom(java.io.InputStream input)
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseDelimitedFrom(
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
- public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
+ public static viam.app.v1.App.GetFragmentHistoryResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -43143,25 +44616,176 @@ public static viam.app.v1.App.DeleteFragmentResponse parseFrom(
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
- public static Builder newBuilder(viam.app.v1.App.DeleteFragmentResponse prototype) {
+ public static Builder newBuilder(viam.app.v1.App.GetFragmentHistoryResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
- * Protobuf type {@code viam.app.v1.DeleteFragmentResponse}
+ * Protobuf type {@code viam.app.v1.GetFragmentHistoryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
- viam.app.v1.App.DeleteFragmentResponse, Builder> implements
- // @@protoc_insertion_point(builder_implements:viam.app.v1.DeleteFragmentResponse)
- viam.app.v1.App.DeleteFragmentResponseOrBuilder {
- // Construct using viam.app.v1.App.DeleteFragmentResponse.newBuilder()
+ viam.app.v1.App.GetFragmentHistoryResponse, Builder> implements
+ // @@protoc_insertion_point(builder_implements:viam.app.v1.GetFragmentHistoryResponse)
+ viam.app.v1.App.GetFragmentHistoryResponseOrBuilder {
+ // Construct using viam.app.v1.App.GetFragmentHistoryResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
- // @@protoc_insertion_point(builder_scope:viam.app.v1.DeleteFragmentResponse)
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ @java.lang.Override
+ public int getHistoryCount() {
+ return instance.getHistoryCount();
+ }/**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ @java.lang.Override
+ public viam.app.v1.App.FragmentHistoryEntry getHistory(int index) {
+ return instance.getHistory(index);
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public Builder setHistory(
+ int index, viam.app.v1.App.FragmentHistoryEntry value) {
+ copyOnWrite();
+ instance.setHistory(index, value);
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public Builder setHistory(
+ int index, viam.app.v1.App.FragmentHistoryEntry.Builder builderForValue) {
+ copyOnWrite();
+ instance.setHistory(index,
+ builderForValue.build());
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public Builder addHistory(viam.app.v1.App.FragmentHistoryEntry value) {
+ copyOnWrite();
+ instance.addHistory(value);
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public Builder addHistory(
+ int index, viam.app.v1.App.FragmentHistoryEntry value) {
+ copyOnWrite();
+ instance.addHistory(index, value);
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public Builder addHistory(
+ viam.app.v1.App.FragmentHistoryEntry.Builder builderForValue) {
+ copyOnWrite();
+ instance.addHistory(builderForValue.build());
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public Builder addHistory(
+ int index, viam.app.v1.App.FragmentHistoryEntry.Builder builderForValue) {
+ copyOnWrite();
+ instance.addHistory(index,
+ builderForValue.build());
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public Builder addAllHistory(
+ java.lang.Iterable extends viam.app.v1.App.FragmentHistoryEntry> values) {
+ copyOnWrite();
+ instance.addAllHistory(values);
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public Builder clearHistory() {
+ copyOnWrite();
+ instance.clearHistory();
+ return this;
+ }
+ /**
+ * repeated .viam.app.v1.FragmentHistoryEntry history = 1 [json_name = "history"];
+ */
+ public Builder removeHistory(int index) {
+ copyOnWrite();
+ instance.removeHistory(index);
+ return this;
+ }
+
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ * @return The nextPageToken.
+ */
+ @java.lang.Override
+ public java.lang.String getNextPageToken() {
+ return instance.getNextPageToken();
+ }
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ * @return The bytes for nextPageToken.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getNextPageTokenBytes() {
+ return instance.getNextPageTokenBytes();
+ }
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageToken(
+ java.lang.String value) {
+ copyOnWrite();
+ instance.setNextPageToken(value);
+ return this;
+ }
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ * @return This builder for chaining.
+ */
+ public Builder clearNextPageToken() {
+ copyOnWrite();
+ instance.clearNextPageToken();
+ return this;
+ }
+ /**
+ * string next_page_token = 2 [json_name = "nextPageToken"];
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageTokenBytes(
+ com.google.protobuf.ByteString value) {
+ copyOnWrite();
+ instance.setNextPageTokenBytes(value);
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:viam.app.v1.GetFragmentHistoryResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
@@ -43170,14 +44794,20 @@ protected final java.lang.Object dynamicMethod(
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
- return new viam.app.v1.App.DeleteFragmentResponse();
+ return new viam.app.v1.App.GetFragmentHistoryResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
- java.lang.Object[] objects = null;java.lang.String info =
- "\u0000\u0000";
+ java.lang.Object[] objects = new java.lang.Object[] {
+ "history_",
+ viam.app.v1.App.FragmentHistoryEntry.class,
+ "nextPageToken_",
+ };
+ java.lang.String info =
+ "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\u0002\u0208" +
+ "";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
@@ -43185,13 +44815,13 @@ protected final java.lang.Object dynamicMethod(
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
- com.google.protobuf.Parser+ * Gets fragment history + *+ */ + default void getFragmentHistory(viam.app.v1.App.GetFragmentHistoryRequest request, + io.grpc.stub.StreamObserver
* Creates an IdentityAuthorization @@ -3425,6 +3465,17 @@ public void deleteFragment(viam.app.v1.App.DeleteFragmentRequest request, getChannel().newCall(getDeleteFragmentMethod(), getCallOptions()), request, responseObserver); } + /** + *+ * Gets fragment history + *+ */ + public void getFragmentHistory(viam.app.v1.App.GetFragmentHistoryRequest request, + io.grpc.stub.StreamObserverresponseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFragmentHistoryMethod(), getCallOptions()), request, responseObserver); + } + /** * * Creates an IdentityAuthorization @@ -4124,6 +4175,16 @@ public viam.app.v1.App.DeleteFragmentResponse deleteFragment(viam.app.v1.App.Del getChannel(), getDeleteFragmentMethod(), getCallOptions(), request); } + /** + *+ * Gets fragment history + *+ */ + public viam.app.v1.App.GetFragmentHistoryResponse getFragmentHistory(viam.app.v1.App.GetFragmentHistoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFragmentHistoryMethod(), getCallOptions(), request); + } + /** ** Creates an IdentityAuthorization @@ -4834,6 +4895,17 @@ public com.google.common.util.concurrent.ListenableFuture+ */ + public com.google.common.util.concurrent.ListenableFuture+ * Gets fragment history + * getFragmentHistory( + viam.app.v1.App.GetFragmentHistoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFragmentHistoryMethod(), getCallOptions()), request); + } + /** * * Creates an IdentityAuthorization @@ -5067,28 +5139,29 @@ public com.google.common.util.concurrent.ListenableFutureimplements io.grpc.stub.ServerCalls.UnaryMethod , @@ -5303,6 +5376,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv serviceImpl.deleteFragment((viam.app.v1.App.DeleteFragmentRequest) request, (io.grpc.stub.StreamObserver ) responseObserver); break; + case METHODID_GET_FRAGMENT_HISTORY: + serviceImpl.getFragmentHistory((viam.app.v1.App.GetFragmentHistoryRequest) request, + (io.grpc.stub.StreamObserver ) responseObserver); + break; case METHODID_ADD_ROLE: serviceImpl.addRole((viam.app.v1.App.AddRoleRequest) request, (io.grpc.stub.StreamObserver ) responseObserver); @@ -5751,6 +5828,13 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser viam.app.v1.App.DeleteFragmentRequest, viam.app.v1.App.DeleteFragmentResponse>( service, METHODID_DELETE_FRAGMENT))) + .addMethod( + getGetFragmentHistoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + viam.app.v1.App.GetFragmentHistoryRequest, + viam.app.v1.App.GetFragmentHistoryResponse>( + service, METHODID_GET_FRAGMENT_HISTORY))) .addMethod( getAddRoleMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( @@ -5966,6 +6050,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { .addMethod(getCreateFragmentMethod()) .addMethod(getUpdateFragmentMethod()) .addMethod(getDeleteFragmentMethod()) + .addMethod(getGetFragmentHistoryMethod()) .addMethod(getAddRoleMethod()) .addMethod(getRemoveRoleMethod()) .addMethod(getChangeRoleMethod()) diff --git a/core/sdk/src/main/gen/viam/app/v1/Robot.java b/core/sdk/src/main/gen/viam/app/v1/Robot.java index 67544730f..512688cba 100644 --- a/core/sdk/src/main/gen/viam/app/v1/Robot.java +++ b/core/sdk/src/main/gen/viam/app/v1/Robot.java @@ -299,6 +299,20 @@ public interface RobotConfigOrBuilder extends * @return The enableWebProfile. */ boolean getEnableWebProfile(); + + /** + * repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + java.util.List+ getLogList(); + /** + * repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + viam.app.v1.Robot.LogPatternConfig getLog(int index); + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + int getLogCount(); } /** * Protobuf type {@code viam.app.v1.RobotConfig} @@ -316,6 +330,7 @@ private RobotConfig() { modules_ = emptyProtobufList(); packages_ = emptyProtobufList(); overwriteFragmentStatus_ = emptyProtobufList(); + log_ = emptyProtobufList(); } private int bitField0_; public static final int CLOUD_FIELD_NUMBER = 1; @@ -1236,6 +1251,100 @@ private void clearEnableWebProfile() { enableWebProfile_ = false; } + public static final int LOG_FIELD_NUMBER = 14; + private com.google.protobuf.Internal.ProtobufListlog_; + /** + * repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + @java.lang.Override + public java.util.ListgetLogList() { + return log_; + } + /** + * repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public java.util.List extends viam.app.v1.Robot.LogPatternConfigOrBuilder> + getLogOrBuilderList() { + return log_; + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + @java.lang.Override + public int getLogCount() { + return log_.size(); + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + @java.lang.Override + public viam.app.v1.Robot.LogPatternConfig getLog(int index) { + return log_.get(index); + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public viam.app.v1.Robot.LogPatternConfigOrBuilder getLogOrBuilder( + int index) { + return log_.get(index); + } + private void ensureLogIsMutable() { + com.google.protobuf.Internal.ProtobufListtmp = log_; + if (!tmp.isModifiable()) { + log_ = + com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); + } + } + + /** + * repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + private void setLog( + int index, viam.app.v1.Robot.LogPatternConfig value) { + value.getClass(); + ensureLogIsMutable(); + log_.set(index, value); + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + private void addLog(viam.app.v1.Robot.LogPatternConfig value) { + value.getClass(); + ensureLogIsMutable(); + log_.add(value); + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + private void addLog( + int index, viam.app.v1.Robot.LogPatternConfig value) { + value.getClass(); + ensureLogIsMutable(); + log_.add(index, value); + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + private void addAllLog( + java.lang.Iterable extends viam.app.v1.Robot.LogPatternConfig> values) { + ensureLogIsMutable(); + com.google.protobuf.AbstractMessageLite.addAll( + values, log_); + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + private void clearLog() { + log_ = emptyProtobufList(); + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + private void removeLog(int index) { + ensureLogIsMutable(); + log_.remove(index); + } + public static viam.app.v1.Robot.RobotConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { @@ -2316,6 +2425,108 @@ public Builder clearEnableWebProfile() { return this; } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + @java.lang.Override + public java.util.ListgetLogList() { + return java.util.Collections.unmodifiableList( + instance.getLogList()); + } + /** + * repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + @java.lang.Override + public int getLogCount() { + return instance.getLogCount(); + }/** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + @java.lang.Override + public viam.app.v1.Robot.LogPatternConfig getLog(int index) { + return instance.getLog(index); + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public Builder setLog( + int index, viam.app.v1.Robot.LogPatternConfig value) { + copyOnWrite(); + instance.setLog(index, value); + return this; + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public Builder setLog( + int index, viam.app.v1.Robot.LogPatternConfig.Builder builderForValue) { + copyOnWrite(); + instance.setLog(index, + builderForValue.build()); + return this; + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public Builder addLog(viam.app.v1.Robot.LogPatternConfig value) { + copyOnWrite(); + instance.addLog(value); + return this; + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public Builder addLog( + int index, viam.app.v1.Robot.LogPatternConfig value) { + copyOnWrite(); + instance.addLog(index, value); + return this; + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public Builder addLog( + viam.app.v1.Robot.LogPatternConfig.Builder builderForValue) { + copyOnWrite(); + instance.addLog(builderForValue.build()); + return this; + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public Builder addLog( + int index, viam.app.v1.Robot.LogPatternConfig.Builder builderForValue) { + copyOnWrite(); + instance.addLog(index, + builderForValue.build()); + return this; + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public Builder addAllLog( + java.lang.Iterable extends viam.app.v1.Robot.LogPatternConfig> values) { + copyOnWrite(); + instance.addAllLog(values); + return this; + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public Builder clearLog() { + copyOnWrite(); + instance.clearLog(); + return this; + } + /** + *repeated .viam.app.v1.LogPatternConfig log = 14 [json_name = "log"];
+ */ + public Builder removeLog(int index) { + copyOnWrite(); + instance.removeLog(index); + return this; + } + // @@protoc_insertion_point(builder_scope:viam.app.v1.RobotConfig) } @java.lang.Override @@ -2353,11 +2564,13 @@ protected final java.lang.Object dynamicMethod( "overwriteFragmentStatus_", viam.app.v1.Robot.AppValidationStatus.class, "enableWebProfile_", + "log_", + viam.app.v1.Robot.LogPatternConfig.class, }; java.lang.String info = - "\u0000\r\u0000\u0001\u0001\r\r\u0000\u0007\u0000\u0001\u1009\u0000\u0002\u001b\u0003" + - "\u001b\u0004\u001b\u0005\u001b\u0006\u1009\u0001\u0007\u1009\u0002\b\u1007\u0003" + - "\t\u001b\n\u1007\u0004\u000b\u001b\f\u001b\r\u0007"; + "\u0000\u000e\u0000\u0001\u0001\u000e\u000e\u0000\b\u0000\u0001\u1009\u0000\u0002" + + "\u001b\u0003\u001b\u0004\u001b\u0005\u001b\u0006\u1009\u0001\u0007\u1009\u0002\b" + + "\u1007\u0003\t\u001b\n\u1007\u0004\u000b\u001b\f\u001b\r\u0007\u000e\u001b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through @@ -2412,6 +2625,421 @@ public static com.google.protobuf.Parserparser() { } } + public interface LogPatternConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:viam.app.v1.LogPatternConfig) + com.google.protobuf.MessageLiteOrBuilder { + + /** + * string pattern = 1 [json_name = "pattern"];
+ * @return The pattern. + */ + java.lang.String getPattern(); + /** + *string pattern = 1 [json_name = "pattern"];
+ * @return The bytes for pattern. + */ + com.google.protobuf.ByteString + getPatternBytes(); + + /** + *string level = 2 [json_name = "level"];
+ * @return The level. + */ + java.lang.String getLevel(); + /** + *string level = 2 [json_name = "level"];
+ * @return The bytes for level. + */ + com.google.protobuf.ByteString + getLevelBytes(); + } + /** + *+ * LogPatternConfig allows you to specify a 2-tuple consisting + * of a logger name and its corresponding log level. + *+ * + * Protobuf type {@code viam.app.v1.LogPatternConfig} + */ + public static final class LogPatternConfig extends + com.google.protobuf.GeneratedMessageLite< + LogPatternConfig, LogPatternConfig.Builder> implements + // @@protoc_insertion_point(message_implements:viam.app.v1.LogPatternConfig) + LogPatternConfigOrBuilder { + private LogPatternConfig() { + pattern_ = ""; + level_ = ""; + } + public static final int PATTERN_FIELD_NUMBER = 1; + private java.lang.String pattern_; + /** + *string pattern = 1 [json_name = "pattern"];
+ * @return The pattern. + */ + @java.lang.Override + public java.lang.String getPattern() { + return pattern_; + } + /** + *string pattern = 1 [json_name = "pattern"];
+ * @return The bytes for pattern. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPatternBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(pattern_); + } + /** + *string pattern = 1 [json_name = "pattern"];
+ * @param value The pattern to set. + */ + private void setPattern( + java.lang.String value) { + java.lang.Class> valueClass = value.getClass(); + + pattern_ = value; + } + /** + *string pattern = 1 [json_name = "pattern"];
+ */ + private void clearPattern() { + + pattern_ = getDefaultInstance().getPattern(); + } + /** + *string pattern = 1 [json_name = "pattern"];
+ * @param value The bytes for pattern to set. + */ + private void setPatternBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + pattern_ = value.toStringUtf8(); + + } + + public static final int LEVEL_FIELD_NUMBER = 2; + private java.lang.String level_; + /** + *string level = 2 [json_name = "level"];
+ * @return The level. + */ + @java.lang.Override + public java.lang.String getLevel() { + return level_; + } + /** + *string level = 2 [json_name = "level"];
+ * @return The bytes for level. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLevelBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(level_); + } + /** + *string level = 2 [json_name = "level"];
+ * @param value The level to set. + */ + private void setLevel( + java.lang.String value) { + java.lang.Class> valueClass = value.getClass(); + + level_ = value; + } + /** + *string level = 2 [json_name = "level"];
+ */ + private void clearLevel() { + + level_ = getDefaultInstance().getLevel(); + } + /** + *string level = 2 [json_name = "level"];
+ * @param value The bytes for level to set. + */ + private void setLevelBytes( + com.google.protobuf.ByteString value) { + checkByteStringIsUtf8(value); + level_ = value.toStringUtf8(); + + } + + public static viam.app.v1.Robot.LogPatternConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Robot.LogPatternConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static viam.app.v1.Robot.LogPatternConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Robot.LogPatternConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static viam.app.v1.Robot.LogPatternConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data); + } + public static viam.app.v1.Robot.LogPatternConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, data, extensionRegistry); + } + public static viam.app.v1.Robot.LogPatternConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Robot.LogPatternConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input, extensionRegistry); + } + + public static viam.app.v1.Robot.LogPatternConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input); + } + + public static viam.app.v1.Robot.LogPatternConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); + } + public static viam.app.v1.Robot.LogPatternConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input); + } + public static viam.app.v1.Robot.LogPatternConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageLite.parseFrom( + DEFAULT_INSTANCE, input, extensionRegistry); + } + + public static Builder newBuilder() { + return (Builder) DEFAULT_INSTANCE.createBuilder(); + } + public static Builder newBuilder(viam.app.v1.Robot.LogPatternConfig prototype) { + return DEFAULT_INSTANCE.createBuilder(prototype); + } + + /** + *+ * LogPatternConfig allows you to specify a 2-tuple consisting + * of a logger name and its corresponding log level. + *+ * + * Protobuf type {@code viam.app.v1.LogPatternConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageLite.Builder< + viam.app.v1.Robot.LogPatternConfig, Builder> implements + // @@protoc_insertion_point(builder_implements:viam.app.v1.LogPatternConfig) + viam.app.v1.Robot.LogPatternConfigOrBuilder { + // Construct using viam.app.v1.Robot.LogPatternConfig.newBuilder() + private Builder() { + super(DEFAULT_INSTANCE); + } + + + /** + *string pattern = 1 [json_name = "pattern"];
+ * @return The pattern. + */ + @java.lang.Override + public java.lang.String getPattern() { + return instance.getPattern(); + } + /** + *string pattern = 1 [json_name = "pattern"];
+ * @return The bytes for pattern. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPatternBytes() { + return instance.getPatternBytes(); + } + /** + *string pattern = 1 [json_name = "pattern"];
+ * @param value The pattern to set. + * @return This builder for chaining. + */ + public Builder setPattern( + java.lang.String value) { + copyOnWrite(); + instance.setPattern(value); + return this; + } + /** + *string pattern = 1 [json_name = "pattern"];
+ * @return This builder for chaining. + */ + public Builder clearPattern() { + copyOnWrite(); + instance.clearPattern(); + return this; + } + /** + *string pattern = 1 [json_name = "pattern"];
+ * @param value The bytes for pattern to set. + * @return This builder for chaining. + */ + public Builder setPatternBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setPatternBytes(value); + return this; + } + + /** + *string level = 2 [json_name = "level"];
+ * @return The level. + */ + @java.lang.Override + public java.lang.String getLevel() { + return instance.getLevel(); + } + /** + *string level = 2 [json_name = "level"];
+ * @return The bytes for level. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getLevelBytes() { + return instance.getLevelBytes(); + } + /** + *string level = 2 [json_name = "level"];
+ * @param value The level to set. + * @return This builder for chaining. + */ + public Builder setLevel( + java.lang.String value) { + copyOnWrite(); + instance.setLevel(value); + return this; + } + /** + *string level = 2 [json_name = "level"];
+ * @return This builder for chaining. + */ + public Builder clearLevel() { + copyOnWrite(); + instance.clearLevel(); + return this; + } + /** + *string level = 2 [json_name = "level"];
+ * @param value The bytes for level to set. + * @return This builder for chaining. + */ + public Builder setLevelBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setLevelBytes(value); + return this; + } + + // @@protoc_insertion_point(builder_scope:viam.app.v1.LogPatternConfig) + } + @java.lang.Override + @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) + protected final java.lang.Object dynamicMethod( + com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, + java.lang.Object arg0, java.lang.Object arg1) { + switch (method) { + case NEW_MUTABLE_INSTANCE: { + return new viam.app.v1.Robot.LogPatternConfig(); + } + case NEW_BUILDER: { + return new Builder(); + } + case BUILD_MESSAGE_INFO: { + java.lang.Object[] objects = new java.lang.Object[] { + "pattern_", + "level_", + }; + java.lang.String info = + "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + + ""; + return newMessageInfo(DEFAULT_INSTANCE, info, objects); + } + // fall through + case GET_DEFAULT_INSTANCE: { + return DEFAULT_INSTANCE; + } + case GET_PARSER: { + com.google.protobuf.Parserparser = PARSER; + if (parser == null) { + synchronized (viam.app.v1.Robot.LogPatternConfig.class) { + parser = PARSER; + if (parser == null) { + parser = + new DefaultInstanceBasedParser ( + DEFAULT_INSTANCE); + PARSER = parser; + } + } + } + return parser; + } + case GET_MEMOIZED_IS_INITIALIZED: { + return (byte) 1; + } + case SET_MEMOIZED_IS_INITIALIZED: { + return null; + } + } + throw new UnsupportedOperationException(); + } + + + // @@protoc_insertion_point(class_scope:viam.app.v1.LogPatternConfig) + private static final viam.app.v1.Robot.LogPatternConfig DEFAULT_INSTANCE; + static { + LogPatternConfig defaultInstance = new LogPatternConfig(); + // New instances are implicitly immutable so no need to make + // immutable. + DEFAULT_INSTANCE = defaultInstance; + com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( + LogPatternConfig.class, defaultInstance); + } + + public static viam.app.v1.Robot.LogPatternConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static volatile com.google.protobuf.Parser PARSER; + + public static com.google.protobuf.Parser parser() { + return DEFAULT_INSTANCE.getParserForType(); + } + } + public interface LocationSecretOrBuilder extends // @@protoc_insertion_point(interface_extends:viam.app.v1.LocationSecret) com.google.protobuf.MessageLiteOrBuilder { @@ -3252,7 +3880,7 @@ public interface CloudConfigOrBuilder extends * * string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @return The locationSecret. */ @java.lang.Deprecated java.lang.String getLocationSecret(); @@ -3263,7 +3891,7 @@ public interface CloudConfigOrBuilder extends * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @return The bytes for locationSecret. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -3662,7 +4290,7 @@ private void clearSignalingInsecure() { * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @return The locationSecret. */ @java.lang.Override @@ -3676,7 +4304,7 @@ private void clearSignalingInsecure() { * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @return The bytes for locationSecret. */ @java.lang.Override @@ -3691,7 +4319,7 @@ private void clearSignalingInsecure() { * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @param value The locationSecret to set. */ private void setLocationSecret( @@ -3707,7 +4335,7 @@ private void setLocationSecret( * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 */ private void clearLocationSecret() { @@ -3720,7 +4348,7 @@ private void clearLocationSecret() { * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @param value The bytes for locationSecret to set. */ private void setLocationSecretBytes( @@ -4473,7 +5101,7 @@ public Builder clearSignalingInsecure() { * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @return The locationSecret. */ @java.lang.Override @@ -4487,7 +5115,7 @@ public Builder clearSignalingInsecure() { * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @return The bytes for locationSecret. */ @java.lang.Override @@ -4502,7 +5130,7 @@ public Builder clearSignalingInsecure() { * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @param value The locationSecret to set. * @return This builder for chaining. */ @@ -4519,7 +5147,7 @@ public Builder clearSignalingInsecure() { * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearLocationSecret() { @@ -4534,7 +5162,7 @@ public Builder clearSignalingInsecure() { * *string location_secret = 7 [json_name = "locationSecret", deprecated = true];
* @deprecated viam.app.v1.CloudConfig.location_secret is deprecated. - * See app/v1/robot.proto;l=64 + * See app/v1/robot.proto;l=72 * @param value The bytes for locationSecret to set. * @return This builder for chaining. */ diff --git a/core/sdk/src/main/resources/protofds/viam.api b/core/sdk/src/main/resources/protofds/viam.api index 413800b53..2deac5b7d 100644 Binary files a/core/sdk/src/main/resources/protofds/viam.api and b/core/sdk/src/main/resources/protofds/viam.api differ