() {
public IsolationLevelEnum findValueByNumber(int number) {
- return IsolationLevelEnum.forNumber(number);
+ return IsolationLevelEnum.forNumber(number);
}
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- if (this == UNRECOGNIZED) {
- throw new java.lang.IllegalStateException(
- "Can't get the descriptor of an unrecognized enum value.");
- }
- return getDescriptor().getValues().get(ordinal());
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return context.ContextOuterClass.getDescriptor().getEnumTypes().get(8);
- }
-
- private static final IsolationLevelEnum[] VALUES = values();
-
- public static IsolationLevelEnum valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- if (desc.getIndex() == -1) {
- return UNRECOGNIZED;
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int value;
-
- private IsolationLevelEnum(int value) {
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:context.IsolationLevelEnum)
- }
-
- public interface EmptyOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.Empty)
- com.google.protobuf.MessageOrBuilder {
- }
- /**
- *
- * ----- Generic -------------------------------------------------------------------------------------------------------
- *
- *
- * Protobuf type {@code context.Empty}
- */
- public static final class Empty extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.Empty)
- EmptyOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use Empty.newBuilder() to construct.
- private Empty(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private Empty() {
- }
+ };
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new Empty();
- }
-
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private Empty(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Empty_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Empty_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Empty.class, context.ContextOuterClass.Empty.Builder.class);
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
+ public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
+ }
+ return getDescriptor().getValues().get(ordinal());
+ }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- unknownFields.writeTo(output);
- }
+ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+ return getDescriptor();
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
+ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+ return context.ContextOuterClass.getDescriptor().getEnumTypes().get(8);
+ }
- size = 0;
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ private static final IsolationLevelEnum[] VALUES = values();
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.Empty)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.Empty other = (context.ContextOuterClass.Empty) obj;
-
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ public static IsolationLevelEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+ if (desc.getType() != getDescriptor()) {
+ throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+ }
+ if (desc.getIndex() == -1) {
+ return UNRECOGNIZED;
+ }
+ return VALUES[desc.getIndex()];
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ private final int value;
- public static context.ContextOuterClass.Empty parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Empty parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Empty parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Empty parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Empty parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Empty parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Empty parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Empty parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Empty parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Empty parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Empty parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Empty parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
+ private IsolationLevelEnum(int value) {
+ this.value = value;
+ }
}
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.Empty prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
+ public interface EmptyOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Empty)
+ com.google.protobuf.MessageOrBuilder {
}
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
/**
*
* ----- Generic -------------------------------------------------------------------------------------------------------
@@ -1535,74918 +1322,68464 @@ public final class ContextOuterClass {
*
* Protobuf type {@code context.Empty}
*/
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.Empty)
- context.ContextOuterClass.EmptyOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Empty_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Empty_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Empty.class, context.ContextOuterClass.Empty.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.Empty.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_Empty_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Empty getDefaultInstanceForType() {
- return context.ContextOuterClass.Empty.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Empty build() {
- context.ContextOuterClass.Empty result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Empty buildPartial() {
- context.ContextOuterClass.Empty result = new context.ContextOuterClass.Empty(this);
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.Empty) {
- return mergeFrom((context.ContextOuterClass.Empty)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.Empty other) {
- if (other == context.ContextOuterClass.Empty.getDefaultInstance()) return this;
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.Empty parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.Empty) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.Empty)
- }
-
- // @@protoc_insertion_point(class_scope:context.Empty)
- private static final context.ContextOuterClass.Empty DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.Empty();
- }
+ public static final class Empty extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Empty)
+ EmptyOrBuilder {
- public static context.ContextOuterClass.Empty getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ private static final long serialVersionUID = 0L;
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public Empty parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new Empty(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ // Use Empty.newBuilder() to construct.
+ private Empty(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ private Empty() {
+ }
- @java.lang.Override
- public context.ContextOuterClass.Empty getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ @java.lang.Override
+ @SuppressWarnings({ "unused" })
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Empty();
+ }
- }
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_Empty_descriptor;
+ }
- public interface UuidOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.Uuid)
- com.google.protobuf.MessageOrBuilder {
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_Empty_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Empty.class, context.ContextOuterClass.Empty.Builder.class);
+ }
- /**
- * string uuid = 1;
- * @return The uuid.
- */
- java.lang.String getUuid();
- /**
- * string uuid = 1;
- * @return The bytes for uuid.
- */
- com.google.protobuf.ByteString
- getUuidBytes();
- }
- /**
- * Protobuf type {@code context.Uuid}
- */
- public static final class Uuid extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.Uuid)
- UuidOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use Uuid.newBuilder() to construct.
- private Uuid(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private Uuid() {
- uuid_ = "";
- }
+ private byte memoizedIsInitialized = -1;
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new Uuid();
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
+ memoizedIsInitialized = 1;
+ return true;
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private Uuid(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- java.lang.String s = input.readStringRequireUtf8();
-
- uuid_ = s;
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
- }
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ getUnknownFields().writeTo(output);
+ }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Uuid_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Uuid.class, context.ContextOuterClass.Uuid.Builder.class);
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+ size = 0;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
- public static final int UUID_FIELD_NUMBER = 1;
- private volatile java.lang.Object uuid_;
- /**
- * string uuid = 1;
- * @return The uuid.
- */
- @java.lang.Override
- public java.lang.String getUuid() {
- java.lang.Object ref = uuid_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- uuid_ = s;
- return s;
- }
- }
- /**
- * string uuid = 1;
- * @return The bytes for uuid.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getUuidBytes() {
- java.lang.Object ref = uuid_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- uuid_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.Empty)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.Empty other = (context.ContextOuterClass.Empty) obj;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
- memoizedIsInitialized = 1;
- return true;
- }
+ public static context.ContextOuterClass.Empty parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (!getUuidBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_);
- }
- unknownFields.writeTo(output);
- }
+ public static context.ContextOuterClass.Empty parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (!getUuidBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ public static context.ContextOuterClass.Empty parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.Uuid)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.Uuid other = (context.ContextOuterClass.Uuid) obj;
-
- if (!getUuid()
- .equals(other.getUuid())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ public static context.ContextOuterClass.Empty parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + UUID_FIELD_NUMBER;
- hash = (53 * hash) + getUuid().hashCode();
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ public static context.ContextOuterClass.Empty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public static context.ContextOuterClass.Uuid parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Uuid parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Uuid parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Uuid parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Uuid parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Uuid parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Uuid parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Uuid parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Uuid parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Uuid parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Uuid parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Uuid parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
+ public static context.ContextOuterClass.Empty parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.Uuid prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
+ public static context.ContextOuterClass.Empty parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code context.Uuid}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.Uuid)
- context.ContextOuterClass.UuidOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Uuid_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Uuid.class, context.ContextOuterClass.Uuid.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.Uuid.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- uuid_ = "";
-
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
- return context.ContextOuterClass.Uuid.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Uuid build() {
- context.ContextOuterClass.Uuid result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Uuid buildPartial() {
- context.ContextOuterClass.Uuid result = new context.ContextOuterClass.Uuid(this);
- result.uuid_ = uuid_;
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.Uuid) {
- return mergeFrom((context.ContextOuterClass.Uuid)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.Uuid other) {
- if (other == context.ContextOuterClass.Uuid.getDefaultInstance()) return this;
- if (!other.getUuid().isEmpty()) {
- uuid_ = other.uuid_;
- onChanged();
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.Uuid parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.Uuid) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
-
- private java.lang.Object uuid_ = "";
- /**
- * string uuid = 1;
- * @return The uuid.
- */
- public java.lang.String getUuid() {
- java.lang.Object ref = uuid_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- uuid_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string uuid = 1;
- * @return The bytes for uuid.
- */
- public com.google.protobuf.ByteString
- getUuidBytes() {
- java.lang.Object ref = uuid_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- uuid_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string uuid = 1;
- * @param value The uuid to set.
- * @return This builder for chaining.
- */
- public Builder setUuid(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- uuid_ = value;
- onChanged();
- return this;
- }
- /**
- * string uuid = 1;
- * @return This builder for chaining.
- */
- public Builder clearUuid() {
-
- uuid_ = getDefaultInstance().getUuid();
- onChanged();
- return this;
- }
- /**
- * string uuid = 1;
- * @param value The bytes for uuid to set.
- * @return This builder for chaining.
- */
- public Builder setUuidBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- uuid_ = value;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.Uuid)
- }
+ public static context.ContextOuterClass.Empty parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
- // @@protoc_insertion_point(class_scope:context.Uuid)
- private static final context.ContextOuterClass.Uuid DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.Uuid();
- }
+ public static context.ContextOuterClass.Empty parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
- public static context.ContextOuterClass.Uuid getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ public static context.ContextOuterClass.Empty parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public Uuid parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new Uuid(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ public static context.ContextOuterClass.Empty parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ public static context.ContextOuterClass.Empty parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
- @java.lang.Override
- public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
- }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
- public interface TimestampOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.Timestamp)
- com.google.protobuf.MessageOrBuilder {
+ public static Builder newBuilder(context.ContextOuterClass.Empty prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
- /**
- * double timestamp = 1;
- * @return The timestamp.
- */
- double getTimestamp();
- }
- /**
- * Protobuf type {@code context.Timestamp}
- */
- public static final class Timestamp extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.Timestamp)
- TimestampOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use Timestamp.newBuilder() to construct.
- private Timestamp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private Timestamp() {
- }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new Timestamp();
- }
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private Timestamp(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 9: {
-
- timestamp_ = input.readDouble();
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
- }
+ /**
+ *
+ * ----- Generic -------------------------------------------------------------------------------------------------------
+ *
+ *
+ * Protobuf type {@code context.Empty}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:context.Empty)
+ context.ContextOuterClass.EmptyOrBuilder {
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
- }
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_Empty_descriptor;
+ }
- public static final int TIMESTAMP_FIELD_NUMBER = 1;
- private double timestamp_;
- /**
- * double timestamp = 1;
- * @return The timestamp.
- */
- @java.lang.Override
- public double getTimestamp() {
- return timestamp_;
- }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_Empty_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Empty.class, context.ContextOuterClass.Empty.Builder.class);
+ }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ // Construct using context.ContextOuterClass.Empty.newBuilder()
+ private Builder() {
+ }
- memoizedIsInitialized = 1;
- return true;
- }
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (timestamp_ != 0D) {
- output.writeDouble(1, timestamp_);
- }
- unknownFields.writeTo(output);
- }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ return this;
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (timestamp_ != 0D) {
- size += com.google.protobuf.CodedOutputStream
- .computeDoubleSize(1, timestamp_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return context.ContextOuterClass.internal_static_context_Empty_descriptor;
+ }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.Timestamp)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.Timestamp other = (context.ContextOuterClass.Timestamp) obj;
-
- if (java.lang.Double.doubleToLongBits(getTimestamp())
- != java.lang.Double.doubleToLongBits(
- other.getTimestamp())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ @java.lang.Override
+ public context.ContextOuterClass.Empty getDefaultInstanceForType() {
+ return context.ContextOuterClass.Empty.getDefaultInstance();
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- java.lang.Double.doubleToLongBits(getTimestamp()));
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ @java.lang.Override
+ public context.ContextOuterClass.Empty build() {
+ context.ContextOuterClass.Empty result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
- public static context.ContextOuterClass.Timestamp parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Timestamp parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Timestamp parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Timestamp parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Timestamp parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Timestamp parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Timestamp parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Timestamp parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Timestamp parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Timestamp parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Timestamp parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Timestamp parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
+ @java.lang.Override
+ public context.ContextOuterClass.Empty buildPartial() {
+ context.ContextOuterClass.Empty result = new context.ContextOuterClass.Empty(this);
+ onBuilt();
+ return result;
+ }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.Timestamp prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof context.ContextOuterClass.Empty) {
+ return mergeFrom((context.ContextOuterClass.Empty) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code context.Timestamp}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.Timestamp)
- context.ContextOuterClass.TimestampOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.Timestamp.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- timestamp_ = 0D;
-
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
- return context.ContextOuterClass.Timestamp.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Timestamp build() {
- context.ContextOuterClass.Timestamp result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Timestamp buildPartial() {
- context.ContextOuterClass.Timestamp result = new context.ContextOuterClass.Timestamp(this);
- result.timestamp_ = timestamp_;
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.Timestamp) {
- return mergeFrom((context.ContextOuterClass.Timestamp)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.Timestamp other) {
- if (other == context.ContextOuterClass.Timestamp.getDefaultInstance()) return this;
- if (other.getTimestamp() != 0D) {
- setTimestamp(other.getTimestamp());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.Timestamp parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.Timestamp) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
-
- private double timestamp_ ;
- /**
- * double timestamp = 1;
- * @return The timestamp.
- */
- @java.lang.Override
- public double getTimestamp() {
- return timestamp_;
- }
- /**
- * double timestamp = 1;
- * @param value The timestamp to set.
- * @return This builder for chaining.
- */
- public Builder setTimestamp(double value) {
-
- timestamp_ = value;
- onChanged();
- return this;
- }
- /**
- * double timestamp = 1;
- * @return This builder for chaining.
- */
- public Builder clearTimestamp() {
-
- timestamp_ = 0D;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.Timestamp)
- }
+ public Builder mergeFrom(context.ContextOuterClass.Empty other) {
+ if (other == context.ContextOuterClass.Empty.getDefaultInstance())
+ return this;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
- // @@protoc_insertion_point(class_scope:context.Timestamp)
- private static final context.ContextOuterClass.Timestamp DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.Timestamp();
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
- public static context.ContextOuterClass.Timestamp getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch(tag) {
+ case 0:
+ done = true;
+ break;
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ // was an endgroup tag
+ done = true;
+ }
+ break;
+ }
+ }
+ // switch (tag)
+ }
+ // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ }
+ // finally
+ return this;
+ }
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public Timestamp parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new Timestamp(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+ // @@protoc_insertion_point(builder_scope:context.Empty)
+ }
- @java.lang.Override
- public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ // @@protoc_insertion_point(class_scope:context.Empty)
+ private static final context.ContextOuterClass.Empty DEFAULT_INSTANCE;
- }
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.Empty();
+ }
- public interface EventOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.Event)
- com.google.protobuf.MessageOrBuilder {
+ public static context.ContextOuterClass.Empty getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
- /**
- * .context.Timestamp timestamp = 1;
- * @return Whether the timestamp field is set.
- */
- boolean hasTimestamp();
- /**
- * .context.Timestamp timestamp = 1;
- * @return The timestamp.
- */
- context.ContextOuterClass.Timestamp getTimestamp();
- /**
- * .context.Timestamp timestamp = 1;
- */
- context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder();
+ private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() {
- /**
- * .context.EventTypeEnum event_type = 2;
- * @return The enum numeric value on the wire for eventType.
- */
- int getEventTypeValue();
- /**
- * .context.EventTypeEnum event_type = 2;
- * @return The eventType.
- */
- context.ContextOuterClass.EventTypeEnum getEventType();
- }
- /**
- * Protobuf type {@code context.Event}
- */
- public static final class Event extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.Event)
- EventOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use Event.newBuilder() to construct.
- private Event(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private Event() {
- eventType_ = 0;
- }
+ @java.lang.Override
+ public Empty parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new Event();
- }
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private Event(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- context.ContextOuterClass.Timestamp.Builder subBuilder = null;
- if (timestamp_ != null) {
- subBuilder = timestamp_.toBuilder();
- }
- timestamp_ = input.readMessage(context.ContextOuterClass.Timestamp.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(timestamp_);
- timestamp_ = subBuilder.buildPartial();
- }
-
- break;
- }
- case 16: {
- int rawValue = input.readEnum();
-
- eventType_ = rawValue;
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Event_descriptor;
- }
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Event_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Event.class, context.ContextOuterClass.Event.Builder.class);
+ @java.lang.Override
+ public context.ContextOuterClass.Empty getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
}
- public static final int TIMESTAMP_FIELD_NUMBER = 1;
- private context.ContextOuterClass.Timestamp timestamp_;
- /**
- * .context.Timestamp timestamp = 1;
- * @return Whether the timestamp field is set.
- */
- @java.lang.Override
- public boolean hasTimestamp() {
- return timestamp_ != null;
- }
- /**
- * .context.Timestamp timestamp = 1;
- * @return The timestamp.
- */
- @java.lang.Override
- public context.ContextOuterClass.Timestamp getTimestamp() {
- return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
- }
- /**
- * .context.Timestamp timestamp = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
- return getTimestamp();
- }
+ public interface UuidOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Uuid)
+ com.google.protobuf.MessageOrBuilder {
- public static final int EVENT_TYPE_FIELD_NUMBER = 2;
- private int eventType_;
- /**
- * .context.EventTypeEnum event_type = 2;
- * @return The enum numeric value on the wire for eventType.
- */
- @java.lang.Override public int getEventTypeValue() {
- return eventType_;
+ /**
+ * string uuid = 1;
+ * @return The uuid.
+ */
+ java.lang.String getUuid();
+
+ /**
+ * string uuid = 1;
+ * @return The bytes for uuid.
+ */
+ com.google.protobuf.ByteString getUuidBytes();
}
+
/**
- * .context.EventTypeEnum event_type = 2;
- * @return The eventType.
+ * Protobuf type {@code context.Uuid}
*/
- @java.lang.Override public context.ContextOuterClass.EventTypeEnum getEventType() {
- @SuppressWarnings("deprecation")
- context.ContextOuterClass.EventTypeEnum result = context.ContextOuterClass.EventTypeEnum.valueOf(eventType_);
- return result == null ? context.ContextOuterClass.EventTypeEnum.UNRECOGNIZED : result;
- }
+ public static final class Uuid extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Uuid)
+ UuidOrBuilder {
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ private static final long serialVersionUID = 0L;
- memoizedIsInitialized = 1;
- return true;
- }
+ // Use Uuid.newBuilder() to construct.
+ private Uuid(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (timestamp_ != null) {
- output.writeMessage(1, getTimestamp());
- }
- if (eventType_ != context.ContextOuterClass.EventTypeEnum.EVENTTYPE_UNDEFINED.getNumber()) {
- output.writeEnum(2, eventType_);
- }
- unknownFields.writeTo(output);
- }
+ private Uuid() {
+ uuid_ = "";
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (timestamp_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getTimestamp());
- }
- if (eventType_ != context.ContextOuterClass.EventTypeEnum.EVENTTYPE_UNDEFINED.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(2, eventType_);
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ @java.lang.Override
+ @SuppressWarnings({ "unused" })
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Uuid();
+ }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.Event)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.Event other = (context.ContextOuterClass.Event) obj;
-
- if (hasTimestamp() != other.hasTimestamp()) return false;
- if (hasTimestamp()) {
- if (!getTimestamp()
- .equals(other.getTimestamp())) return false;
- }
- if (eventType_ != other.eventType_) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasTimestamp()) {
- hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
- hash = (53 * hash) + getTimestamp().hashCode();
- }
- hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER;
- hash = (53 * hash) + eventType_;
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_Uuid_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Uuid.class, context.ContextOuterClass.Uuid.Builder.class);
+ }
- public static context.ContextOuterClass.Event parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Event parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Event parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Event parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Event parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Event parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Event parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Event parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Event parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Event parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Event parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Event parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
+ public static final int UUID_FIELD_NUMBER = 1;
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.Event prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object uuid_ = "";
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code context.Event}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.Event)
- context.ContextOuterClass.EventOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Event_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Event_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Event.class, context.ContextOuterClass.Event.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.Event.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- if (timestampBuilder_ == null) {
- timestamp_ = null;
- } else {
- timestamp_ = null;
- timestampBuilder_ = null;
- }
- eventType_ = 0;
-
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_Event_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Event getDefaultInstanceForType() {
- return context.ContextOuterClass.Event.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Event build() {
- context.ContextOuterClass.Event result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Event buildPartial() {
- context.ContextOuterClass.Event result = new context.ContextOuterClass.Event(this);
- if (timestampBuilder_ == null) {
- result.timestamp_ = timestamp_;
- } else {
- result.timestamp_ = timestampBuilder_.build();
- }
- result.eventType_ = eventType_;
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.Event) {
- return mergeFrom((context.ContextOuterClass.Event)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.Event other) {
- if (other == context.ContextOuterClass.Event.getDefaultInstance()) return this;
- if (other.hasTimestamp()) {
- mergeTimestamp(other.getTimestamp());
- }
- if (other.eventType_ != 0) {
- setEventTypeValue(other.getEventTypeValue());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.Event parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.Event) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
-
- private context.ContextOuterClass.Timestamp timestamp_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder> timestampBuilder_;
- /**
- * .context.Timestamp timestamp = 1;
- * @return Whether the timestamp field is set.
- */
- public boolean hasTimestamp() {
- return timestampBuilder_ != null || timestamp_ != null;
- }
- /**
- * .context.Timestamp timestamp = 1;
- * @return The timestamp.
- */
- public context.ContextOuterClass.Timestamp getTimestamp() {
- if (timestampBuilder_ == null) {
- return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
- } else {
- return timestampBuilder_.getMessage();
- }
- }
- /**
- * .context.Timestamp timestamp = 1;
- */
- public Builder setTimestamp(context.ContextOuterClass.Timestamp value) {
- if (timestampBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- timestamp_ = value;
- onChanged();
- } else {
- timestampBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * .context.Timestamp timestamp = 1;
- */
- public Builder setTimestamp(
- context.ContextOuterClass.Timestamp.Builder builderForValue) {
- if (timestampBuilder_ == null) {
- timestamp_ = builderForValue.build();
- onChanged();
- } else {
- timestampBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * .context.Timestamp timestamp = 1;
- */
- public Builder mergeTimestamp(context.ContextOuterClass.Timestamp value) {
- if (timestampBuilder_ == null) {
- if (timestamp_ != null) {
- timestamp_ =
- context.ContextOuterClass.Timestamp.newBuilder(timestamp_).mergeFrom(value).buildPartial();
- } else {
- timestamp_ = value;
- }
- onChanged();
- } else {
- timestampBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * .context.Timestamp timestamp = 1;
- */
- public Builder clearTimestamp() {
- if (timestampBuilder_ == null) {
- timestamp_ = null;
- onChanged();
- } else {
- timestamp_ = null;
- timestampBuilder_ = null;
- }
-
- return this;
- }
- /**
- * .context.Timestamp timestamp = 1;
- */
- public context.ContextOuterClass.Timestamp.Builder getTimestampBuilder() {
-
- onChanged();
- return getTimestampFieldBuilder().getBuilder();
- }
- /**
- * .context.Timestamp timestamp = 1;
- */
- public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
- if (timestampBuilder_ != null) {
- return timestampBuilder_.getMessageOrBuilder();
- } else {
- return timestamp_ == null ?
- context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
- }
- }
- /**
- * .context.Timestamp timestamp = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>
- getTimestampFieldBuilder() {
- if (timestampBuilder_ == null) {
- timestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Timestamp, context.ContextOuterClass.Timestamp.Builder, context.ContextOuterClass.TimestampOrBuilder>(
- getTimestamp(),
- getParentForChildren(),
- isClean());
- timestamp_ = null;
- }
- return timestampBuilder_;
- }
-
- private int eventType_ = 0;
- /**
- * .context.EventTypeEnum event_type = 2;
- * @return The enum numeric value on the wire for eventType.
- */
- @java.lang.Override public int getEventTypeValue() {
- return eventType_;
- }
- /**
- * .context.EventTypeEnum event_type = 2;
- * @param value The enum numeric value on the wire for eventType to set.
- * @return This builder for chaining.
- */
- public Builder setEventTypeValue(int value) {
-
- eventType_ = value;
- onChanged();
- return this;
- }
- /**
- * .context.EventTypeEnum event_type = 2;
- * @return The eventType.
- */
- @java.lang.Override
- public context.ContextOuterClass.EventTypeEnum getEventType() {
- @SuppressWarnings("deprecation")
- context.ContextOuterClass.EventTypeEnum result = context.ContextOuterClass.EventTypeEnum.valueOf(eventType_);
- return result == null ? context.ContextOuterClass.EventTypeEnum.UNRECOGNIZED : result;
- }
- /**
- * .context.EventTypeEnum event_type = 2;
- * @param value The eventType to set.
- * @return This builder for chaining.
- */
- public Builder setEventType(context.ContextOuterClass.EventTypeEnum value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- eventType_ = value.getNumber();
- onChanged();
- return this;
- }
- /**
- * .context.EventTypeEnum event_type = 2;
- * @return This builder for chaining.
- */
- public Builder clearEventType() {
-
- eventType_ = 0;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.Event)
- }
+ /**
+ * string uuid = 1;
+ * @return The uuid.
+ */
+ @java.lang.Override
+ public java.lang.String getUuid() {
+ java.lang.Object ref = uuid_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uuid_ = s;
+ return s;
+ }
+ }
- // @@protoc_insertion_point(class_scope:context.Event)
- private static final context.ContextOuterClass.Event DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.Event();
- }
+ /**
+ * string uuid = 1;
+ * @return The bytes for uuid.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUuidBytes() {
+ java.lang.Object ref = uuid_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uuid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
- public static context.ContextOuterClass.Event getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ private byte memoizedIsInitialized = -1;
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public Event parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new Event(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
+ memoizedIsInitialized = 1;
+ return true;
+ }
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uuid_);
+ }
+ getUnknownFields().writeTo(output);
+ }
- @java.lang.Override
- public context.ContextOuterClass.Event getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uuid_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.Uuid)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.Uuid other = (context.ContextOuterClass.Uuid) obj;
+ if (!getUuid().equals(other.getUuid()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + UUID_FIELD_NUMBER;
+ hash = (53 * hash) + getUuid().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
- public interface ContextIdOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.ContextId)
- com.google.protobuf.MessageOrBuilder {
+ public static context.ContextOuterClass.Uuid parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- /**
- * .context.Uuid context_uuid = 1;
- * @return Whether the contextUuid field is set.
- */
- boolean hasContextUuid();
- /**
- * .context.Uuid context_uuid = 1;
- * @return The contextUuid.
- */
- context.ContextOuterClass.Uuid getContextUuid();
- /**
- * .context.Uuid context_uuid = 1;
- */
- context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder();
- }
- /**
- *
- * ----- Context -------------------------------------------------------------------------------------------------------
- *
- *
- * Protobuf type {@code context.ContextId}
- */
- public static final class ContextId extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.ContextId)
- ContextIdOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use ContextId.newBuilder() to construct.
- private ContextId(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private ContextId() {
- }
+ public static context.ContextOuterClass.Uuid parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new ContextId();
- }
+ public static context.ContextOuterClass.Uuid parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private ContextId(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- context.ContextOuterClass.Uuid.Builder subBuilder = null;
- if (contextUuid_ != null) {
- subBuilder = contextUuid_.toBuilder();
- }
- contextUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(contextUuid_);
- contextUuid_ = subBuilder.buildPartial();
- }
-
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
- }
+ public static context.ContextOuterClass.Uuid parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ContextId_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.ContextId.class, context.ContextOuterClass.ContextId.Builder.class);
- }
+ public static context.ContextOuterClass.Uuid parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public static final int CONTEXT_UUID_FIELD_NUMBER = 1;
- private context.ContextOuterClass.Uuid contextUuid_;
- /**
- * .context.Uuid context_uuid = 1;
- * @return Whether the contextUuid field is set.
- */
- @java.lang.Override
- public boolean hasContextUuid() {
- return contextUuid_ != null;
- }
- /**
- * .context.Uuid context_uuid = 1;
- * @return The contextUuid.
- */
- @java.lang.Override
- public context.ContextOuterClass.Uuid getContextUuid() {
- return contextUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
- }
- /**
- * .context.Uuid context_uuid = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder() {
- return getContextUuid();
- }
+ public static context.ContextOuterClass.Uuid parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ public static context.ContextOuterClass.Uuid parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
- memoizedIsInitialized = 1;
- return true;
- }
+ public static context.ContextOuterClass.Uuid parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (contextUuid_ != null) {
- output.writeMessage(1, getContextUuid());
- }
- unknownFields.writeTo(output);
- }
+ public static context.ContextOuterClass.Uuid parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (contextUuid_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getContextUuid());
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ public static context.ContextOuterClass.Uuid parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.ContextId)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.ContextId other = (context.ContextOuterClass.ContextId) obj;
-
- if (hasContextUuid() != other.hasContextUuid()) return false;
- if (hasContextUuid()) {
- if (!getContextUuid()
- .equals(other.getContextUuid())) return false;
- }
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ public static context.ContextOuterClass.Uuid parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasContextUuid()) {
- hash = (37 * hash) + CONTEXT_UUID_FIELD_NUMBER;
- hash = (53 * hash) + getContextUuid().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ public static context.ContextOuterClass.Uuid parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
- public static context.ContextOuterClass.ContextId parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextId parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextId parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextId parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextId parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextId parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextId parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextId parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextId parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextId parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextId parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextId parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.ContextId prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- * ----- Context -------------------------------------------------------------------------------------------------------
- *
- *
- * Protobuf type {@code context.ContextId}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.ContextId)
- context.ContextOuterClass.ContextIdOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ContextId_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.ContextId.class, context.ContextOuterClass.ContextId.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.ContextId.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- if (contextUuidBuilder_ == null) {
- contextUuid_ = null;
- } else {
- contextUuid_ = null;
- contextUuidBuilder_ = null;
- }
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_ContextId_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextId getDefaultInstanceForType() {
- return context.ContextOuterClass.ContextId.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextId build() {
- context.ContextOuterClass.ContextId result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextId buildPartial() {
- context.ContextOuterClass.ContextId result = new context.ContextOuterClass.ContextId(this);
- if (contextUuidBuilder_ == null) {
- result.contextUuid_ = contextUuid_;
- } else {
- result.contextUuid_ = contextUuidBuilder_.build();
- }
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.ContextId) {
- return mergeFrom((context.ContextOuterClass.ContextId)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.ContextId other) {
- if (other == context.ContextOuterClass.ContextId.getDefaultInstance()) return this;
- if (other.hasContextUuid()) {
- mergeContextUuid(other.getContextUuid());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.ContextId parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.ContextId) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
-
- private context.ContextOuterClass.Uuid contextUuid_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> contextUuidBuilder_;
- /**
- * .context.Uuid context_uuid = 1;
- * @return Whether the contextUuid field is set.
- */
- public boolean hasContextUuid() {
- return contextUuidBuilder_ != null || contextUuid_ != null;
- }
- /**
- * .context.Uuid context_uuid = 1;
- * @return The contextUuid.
- */
- public context.ContextOuterClass.Uuid getContextUuid() {
- if (contextUuidBuilder_ == null) {
- return contextUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
- } else {
- return contextUuidBuilder_.getMessage();
- }
- }
- /**
- * .context.Uuid context_uuid = 1;
- */
- public Builder setContextUuid(context.ContextOuterClass.Uuid value) {
- if (contextUuidBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contextUuid_ = value;
- onChanged();
- } else {
- contextUuidBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * .context.Uuid context_uuid = 1;
- */
- public Builder setContextUuid(
- context.ContextOuterClass.Uuid.Builder builderForValue) {
- if (contextUuidBuilder_ == null) {
- contextUuid_ = builderForValue.build();
- onChanged();
- } else {
- contextUuidBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * .context.Uuid context_uuid = 1;
- */
- public Builder mergeContextUuid(context.ContextOuterClass.Uuid value) {
- if (contextUuidBuilder_ == null) {
- if (contextUuid_ != null) {
- contextUuid_ =
- context.ContextOuterClass.Uuid.newBuilder(contextUuid_).mergeFrom(value).buildPartial();
- } else {
- contextUuid_ = value;
- }
- onChanged();
- } else {
- contextUuidBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * .context.Uuid context_uuid = 1;
- */
- public Builder clearContextUuid() {
- if (contextUuidBuilder_ == null) {
- contextUuid_ = null;
- onChanged();
- } else {
- contextUuid_ = null;
- contextUuidBuilder_ = null;
- }
-
- return this;
- }
- /**
- * .context.Uuid context_uuid = 1;
- */
- public context.ContextOuterClass.Uuid.Builder getContextUuidBuilder() {
-
- onChanged();
- return getContextUuidFieldBuilder().getBuilder();
- }
- /**
- * .context.Uuid context_uuid = 1;
- */
- public context.ContextOuterClass.UuidOrBuilder getContextUuidOrBuilder() {
- if (contextUuidBuilder_ != null) {
- return contextUuidBuilder_.getMessageOrBuilder();
- } else {
- return contextUuid_ == null ?
- context.ContextOuterClass.Uuid.getDefaultInstance() : contextUuid_;
- }
- }
- /**
- * .context.Uuid context_uuid = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
- getContextUuidFieldBuilder() {
- if (contextUuidBuilder_ == null) {
- contextUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
- getContextUuid(),
- getParentForChildren(),
- isClean());
- contextUuid_ = null;
- }
- return contextUuidBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.ContextId)
- }
+ public static Builder newBuilder(context.ContextOuterClass.Uuid prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
- // @@protoc_insertion_point(class_scope:context.ContextId)
- private static final context.ContextOuterClass.ContextId DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.ContextId();
- }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
- public static context.ContextOuterClass.ContextId getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public ContextId parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new ContextId(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ /**
+ * Protobuf type {@code context.Uuid}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:context.Uuid)
+ context.ContextOuterClass.UuidOrBuilder {
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
+ }
- @java.lang.Override
- public context.ContextOuterClass.ContextId getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_Uuid_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Uuid.class, context.ContextOuterClass.Uuid.Builder.class);
+ }
- }
+ // Construct using context.ContextOuterClass.Uuid.newBuilder()
+ private Builder() {
+ }
- public interface ContextOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.Context)
- com.google.protobuf.MessageOrBuilder {
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
- /**
- * .context.ContextId context_id = 1;
- * @return Whether the contextId field is set.
- */
- boolean hasContextId();
- /**
- * .context.ContextId context_id = 1;
- * @return The contextId.
- */
- context.ContextOuterClass.ContextId getContextId();
- /**
- * .context.ContextId context_id = 1;
- */
- context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ uuid_ = "";
+ return this;
+ }
- /**
- * string name = 2;
- * @return The name.
- */
- java.lang.String getName();
- /**
- * string name = 2;
- * @return The bytes for name.
- */
- com.google.protobuf.ByteString
- getNameBytes();
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return context.ContextOuterClass.internal_static_context_Uuid_descriptor;
+ }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- java.util.List
- getTopologyIdsList();
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- context.ContextOuterClass.TopologyId getTopologyIds(int index);
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- int getTopologyIdsCount();
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
- getTopologyIdsOrBuilderList();
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
- int index);
+ @java.lang.Override
+ public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
+ return context.ContextOuterClass.Uuid.getDefaultInstance();
+ }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- java.util.List
- getServiceIdsList();
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- context.ContextOuterClass.ServiceId getServiceIds(int index);
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- int getServiceIdsCount();
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
- getServiceIdsOrBuilderList();
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
- int index);
+ @java.lang.Override
+ public context.ContextOuterClass.Uuid build() {
+ context.ContextOuterClass.Uuid result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- java.util.List
- getSliceIdsList();
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- context.ContextOuterClass.SliceId getSliceIds(int index);
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- int getSliceIdsCount();
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- java.util.List extends context.ContextOuterClass.SliceIdOrBuilder>
- getSliceIdsOrBuilderList();
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
- int index);
+ @java.lang.Override
+ public context.ContextOuterClass.Uuid buildPartial() {
+ context.ContextOuterClass.Uuid result = new context.ContextOuterClass.Uuid(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
- /**
- * .context.TeraFlowController controller = 6;
- * @return Whether the controller field is set.
- */
- boolean hasController();
- /**
- * .context.TeraFlowController controller = 6;
- * @return The controller.
- */
- context.ContextOuterClass.TeraFlowController getController();
- /**
- * .context.TeraFlowController controller = 6;
- */
- context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder();
- }
- /**
- * Protobuf type {@code context.Context}
- */
- public static final class Context extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.Context)
- ContextOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use Context.newBuilder() to construct.
- private Context(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private Context() {
- name_ = "";
- topologyIds_ = java.util.Collections.emptyList();
- serviceIds_ = java.util.Collections.emptyList();
- sliceIds_ = java.util.Collections.emptyList();
- }
+ private void buildPartial0(context.ContextOuterClass.Uuid result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.uuid_ = uuid_;
+ }
+ }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new Context();
- }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof context.ContextOuterClass.Uuid) {
+ return mergeFrom((context.ContextOuterClass.Uuid) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private Context(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- context.ContextOuterClass.ContextId.Builder subBuilder = null;
- if (contextId_ != null) {
- subBuilder = contextId_.toBuilder();
- }
- contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(contextId_);
- contextId_ = subBuilder.buildPartial();
- }
-
- break;
- }
- case 18: {
- java.lang.String s = input.readStringRequireUtf8();
-
- name_ = s;
- break;
- }
- case 26: {
- if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- topologyIds_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000001;
- }
- topologyIds_.add(
- input.readMessage(context.ContextOuterClass.TopologyId.parser(), extensionRegistry));
- break;
- }
- case 34: {
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
- serviceIds_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000002;
- }
- serviceIds_.add(
- input.readMessage(context.ContextOuterClass.ServiceId.parser(), extensionRegistry));
- break;
- }
- case 42: {
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
- sliceIds_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000004;
- }
- sliceIds_.add(
- input.readMessage(context.ContextOuterClass.SliceId.parser(), extensionRegistry));
- break;
- }
- case 50: {
- context.ContextOuterClass.TeraFlowController.Builder subBuilder = null;
- if (controller_ != null) {
- subBuilder = controller_.toBuilder();
- }
- controller_ = input.readMessage(context.ContextOuterClass.TeraFlowController.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(controller_);
- controller_ = subBuilder.buildPartial();
- }
-
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- if (((mutable_bitField0_ & 0x00000001) != 0)) {
- topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
- }
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
- serviceIds_ = java.util.Collections.unmodifiableList(serviceIds_);
- }
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
- sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Context_descriptor;
- }
+ public Builder mergeFrom(context.ContextOuterClass.Uuid other) {
+ if (other == context.ContextOuterClass.Uuid.getDefaultInstance())
+ return this;
+ if (!other.getUuid().isEmpty()) {
+ uuid_ = other.uuid_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Context_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Context.class, context.ContextOuterClass.Context.Builder.class);
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
- public static final int CONTEXT_ID_FIELD_NUMBER = 1;
- private context.ContextOuterClass.ContextId contextId_;
- /**
- * .context.ContextId context_id = 1;
- * @return Whether the contextId field is set.
- */
- @java.lang.Override
- public boolean hasContextId() {
- return contextId_ != null;
- }
- /**
- * .context.ContextId context_id = 1;
- * @return The contextId.
- */
- @java.lang.Override
- public context.ContextOuterClass.ContextId getContextId() {
- return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
- return getContextId();
- }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch(tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ uuid_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ // case 10
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ // was an endgroup tag
+ done = true;
+ }
+ break;
+ }
+ }
+ // switch (tag)
+ }
+ // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ }
+ // finally
+ return this;
+ }
- public static final int NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object name_;
- /**
- * string name = 2;
- * @return The name.
- */
- @java.lang.Override
- public java.lang.String getName() {
- java.lang.Object ref = name_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- name_ = s;
- return s;
- }
- }
- /**
- * string name = 2;
- * @return The bytes for name.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getNameBytes() {
- java.lang.Object ref = name_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- name_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
+ private int bitField0_;
+
+ private java.lang.Object uuid_ = "";
+
+ /**
+ * string uuid = 1;
+ * @return The uuid.
+ */
+ public java.lang.String getUuid() {
+ java.lang.Object ref = uuid_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ uuid_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
- public static final int TOPOLOGY_IDS_FIELD_NUMBER = 3;
- private java.util.List topologyIds_;
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- @java.lang.Override
- public java.util.List getTopologyIdsList() {
- return topologyIds_;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- @java.lang.Override
- public java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
- getTopologyIdsOrBuilderList() {
- return topologyIds_;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- @java.lang.Override
- public int getTopologyIdsCount() {
- return topologyIds_.size();
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- @java.lang.Override
- public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
- return topologyIds_.get(index);
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- @java.lang.Override
- public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
- int index) {
- return topologyIds_.get(index);
- }
+ /**
+ * string uuid = 1;
+ * @return The bytes for uuid.
+ */
+ public com.google.protobuf.ByteString getUuidBytes() {
+ java.lang.Object ref = uuid_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ uuid_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
- public static final int SERVICE_IDS_FIELD_NUMBER = 4;
- private java.util.List serviceIds_;
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- @java.lang.Override
- public java.util.List getServiceIdsList() {
- return serviceIds_;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- @java.lang.Override
- public java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
- getServiceIdsOrBuilderList() {
- return serviceIds_;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- @java.lang.Override
- public int getServiceIdsCount() {
- return serviceIds_.size();
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- @java.lang.Override
- public context.ContextOuterClass.ServiceId getServiceIds(int index) {
- return serviceIds_.get(index);
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- @java.lang.Override
- public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
- int index) {
- return serviceIds_.get(index);
- }
+ /**
+ * string uuid = 1;
+ * @param value The uuid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUuid(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ uuid_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
- public static final int SLICE_IDS_FIELD_NUMBER = 5;
- private java.util.List sliceIds_;
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- @java.lang.Override
- public java.util.List getSliceIdsList() {
- return sliceIds_;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- @java.lang.Override
- public java.util.List extends context.ContextOuterClass.SliceIdOrBuilder>
- getSliceIdsOrBuilderList() {
- return sliceIds_;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- @java.lang.Override
- public int getSliceIdsCount() {
- return sliceIds_.size();
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- @java.lang.Override
- public context.ContextOuterClass.SliceId getSliceIds(int index) {
- return sliceIds_.get(index);
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- @java.lang.Override
- public context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
- int index) {
- return sliceIds_.get(index);
- }
+ /**
+ * string uuid = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearUuid() {
+ uuid_ = getDefaultInstance().getUuid();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
- public static final int CONTROLLER_FIELD_NUMBER = 6;
- private context.ContextOuterClass.TeraFlowController controller_;
- /**
- * .context.TeraFlowController controller = 6;
- * @return Whether the controller field is set.
- */
- @java.lang.Override
- public boolean hasController() {
- return controller_ != null;
- }
- /**
- * .context.TeraFlowController controller = 6;
- * @return The controller.
- */
- @java.lang.Override
- public context.ContextOuterClass.TeraFlowController getController() {
- return controller_ == null ? context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
- }
- /**
- * .context.TeraFlowController controller = 6;
- */
- @java.lang.Override
- public context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder() {
- return getController();
- }
+ /**
+ * string uuid = 1;
+ * @param value The bytes for uuid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUuidBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ uuid_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
- memoizedIsInitialized = 1;
- return true;
- }
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+ // @@protoc_insertion_point(builder_scope:context.Uuid)
+ }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (contextId_ != null) {
- output.writeMessage(1, getContextId());
- }
- if (!getNameBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
- }
- for (int i = 0; i < topologyIds_.size(); i++) {
- output.writeMessage(3, topologyIds_.get(i));
- }
- for (int i = 0; i < serviceIds_.size(); i++) {
- output.writeMessage(4, serviceIds_.get(i));
- }
- for (int i = 0; i < sliceIds_.size(); i++) {
- output.writeMessage(5, sliceIds_.get(i));
- }
- if (controller_ != null) {
- output.writeMessage(6, getController());
- }
- unknownFields.writeTo(output);
- }
+ // @@protoc_insertion_point(class_scope:context.Uuid)
+ private static final context.ContextOuterClass.Uuid DEFAULT_INSTANCE;
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (contextId_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getContextId());
- }
- if (!getNameBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
- }
- for (int i = 0; i < topologyIds_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, topologyIds_.get(i));
- }
- for (int i = 0; i < serviceIds_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, serviceIds_.get(i));
- }
- for (int i = 0; i < sliceIds_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, sliceIds_.get(i));
- }
- if (controller_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, getController());
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.Uuid();
+ }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.Context)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.Context other = (context.ContextOuterClass.Context) obj;
-
- if (hasContextId() != other.hasContextId()) return false;
- if (hasContextId()) {
- if (!getContextId()
- .equals(other.getContextId())) return false;
- }
- if (!getName()
- .equals(other.getName())) return false;
- if (!getTopologyIdsList()
- .equals(other.getTopologyIdsList())) return false;
- if (!getServiceIdsList()
- .equals(other.getServiceIdsList())) return false;
- if (!getSliceIdsList()
- .equals(other.getSliceIdsList())) return false;
- if (hasController() != other.hasController()) return false;
- if (hasController()) {
- if (!getController()
- .equals(other.getController())) return false;
- }
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ public static context.ContextOuterClass.Uuid getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasContextId()) {
- hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
- hash = (53 * hash) + getContextId().hashCode();
- }
- hash = (37 * hash) + NAME_FIELD_NUMBER;
- hash = (53 * hash) + getName().hashCode();
- if (getTopologyIdsCount() > 0) {
- hash = (37 * hash) + TOPOLOGY_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getTopologyIdsList().hashCode();
- }
- if (getServiceIdsCount() > 0) {
- hash = (37 * hash) + SERVICE_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getServiceIdsList().hashCode();
- }
- if (getSliceIdsCount() > 0) {
- hash = (37 * hash) + SLICE_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getSliceIdsList().hashCode();
- }
- if (hasController()) {
- hash = (37 * hash) + CONTROLLER_FIELD_NUMBER;
- hash = (53 * hash) + getController().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() {
- public static context.ContextOuterClass.Context parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Context parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Context parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Context parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Context parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.Context parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.Context parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Context parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Context parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Context parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.Context parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.Context parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
+ @java.lang.Override
+ public Uuid parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.Context prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code context.Context}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.Context)
- context.ContextOuterClass.ContextOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_Context_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_Context_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.Context.class, context.ContextOuterClass.Context.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.Context.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getTopologyIdsFieldBuilder();
- getServiceIdsFieldBuilder();
- getSliceIdsFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- if (contextIdBuilder_ == null) {
- contextId_ = null;
- } else {
- contextId_ = null;
- contextIdBuilder_ = null;
- }
- name_ = "";
-
- if (topologyIdsBuilder_ == null) {
- topologyIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- topologyIdsBuilder_.clear();
- }
- if (serviceIdsBuilder_ == null) {
- serviceIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- serviceIdsBuilder_.clear();
- }
- if (sliceIdsBuilder_ == null) {
- sliceIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- sliceIdsBuilder_.clear();
- }
- if (controllerBuilder_ == null) {
- controller_ = null;
- } else {
- controller_ = null;
- controllerBuilder_ = null;
- }
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_Context_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Context getDefaultInstanceForType() {
- return context.ContextOuterClass.Context.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Context build() {
- context.ContextOuterClass.Context result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.Context buildPartial() {
- context.ContextOuterClass.Context result = new context.ContextOuterClass.Context(this);
- int from_bitField0_ = bitField0_;
- if (contextIdBuilder_ == null) {
- result.contextId_ = contextId_;
- } else {
- result.contextId_ = contextIdBuilder_.build();
- }
- result.name_ = name_;
- if (topologyIdsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
- topologyIds_ = java.util.Collections.unmodifiableList(topologyIds_);
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.topologyIds_ = topologyIds_;
- } else {
- result.topologyIds_ = topologyIdsBuilder_.build();
- }
- if (serviceIdsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
- serviceIds_ = java.util.Collections.unmodifiableList(serviceIds_);
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.serviceIds_ = serviceIds_;
- } else {
- result.serviceIds_ = serviceIdsBuilder_.build();
- }
- if (sliceIdsBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
- sliceIds_ = java.util.Collections.unmodifiableList(sliceIds_);
- bitField0_ = (bitField0_ & ~0x00000004);
- }
- result.sliceIds_ = sliceIds_;
- } else {
- result.sliceIds_ = sliceIdsBuilder_.build();
- }
- if (controllerBuilder_ == null) {
- result.controller_ = controller_;
- } else {
- result.controller_ = controllerBuilder_.build();
- }
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.Context) {
- return mergeFrom((context.ContextOuterClass.Context)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.Context other) {
- if (other == context.ContextOuterClass.Context.getDefaultInstance()) return this;
- if (other.hasContextId()) {
- mergeContextId(other.getContextId());
- }
- if (!other.getName().isEmpty()) {
- name_ = other.name_;
- onChanged();
- }
- if (topologyIdsBuilder_ == null) {
- if (!other.topologyIds_.isEmpty()) {
- if (topologyIds_.isEmpty()) {
- topologyIds_ = other.topologyIds_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureTopologyIdsIsMutable();
- topologyIds_.addAll(other.topologyIds_);
- }
- onChanged();
- }
- } else {
- if (!other.topologyIds_.isEmpty()) {
- if (topologyIdsBuilder_.isEmpty()) {
- topologyIdsBuilder_.dispose();
- topologyIdsBuilder_ = null;
- topologyIds_ = other.topologyIds_;
- bitField0_ = (bitField0_ & ~0x00000001);
- topologyIdsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getTopologyIdsFieldBuilder() : null;
- } else {
- topologyIdsBuilder_.addAllMessages(other.topologyIds_);
- }
- }
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
}
- if (serviceIdsBuilder_ == null) {
- if (!other.serviceIds_.isEmpty()) {
- if (serviceIds_.isEmpty()) {
- serviceIds_ = other.serviceIds_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureServiceIdsIsMutable();
- serviceIds_.addAll(other.serviceIds_);
- }
- onChanged();
- }
- } else {
- if (!other.serviceIds_.isEmpty()) {
- if (serviceIdsBuilder_.isEmpty()) {
- serviceIdsBuilder_.dispose();
- serviceIdsBuilder_ = null;
- serviceIds_ = other.serviceIds_;
- bitField0_ = (bitField0_ & ~0x00000002);
- serviceIdsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getServiceIdsFieldBuilder() : null;
- } else {
- serviceIdsBuilder_.addAllMessages(other.serviceIds_);
- }
- }
+
+ @java.lang.Override
+ public context.ContextOuterClass.Uuid getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
}
- if (sliceIdsBuilder_ == null) {
- if (!other.sliceIds_.isEmpty()) {
- if (sliceIds_.isEmpty()) {
- sliceIds_ = other.sliceIds_;
- bitField0_ = (bitField0_ & ~0x00000004);
- } else {
- ensureSliceIdsIsMutable();
- sliceIds_.addAll(other.sliceIds_);
- }
- onChanged();
- }
- } else {
- if (!other.sliceIds_.isEmpty()) {
- if (sliceIdsBuilder_.isEmpty()) {
- sliceIdsBuilder_.dispose();
- sliceIdsBuilder_ = null;
- sliceIds_ = other.sliceIds_;
- bitField0_ = (bitField0_ & ~0x00000004);
- sliceIdsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getSliceIdsFieldBuilder() : null;
- } else {
- sliceIdsBuilder_.addAllMessages(other.sliceIds_);
- }
- }
- }
- if (other.hasController()) {
- mergeController(other.getController());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.Context parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.Context) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private int bitField0_;
-
- private context.ContextOuterClass.ContextId contextId_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
- /**
- * .context.ContextId context_id = 1;
- * @return Whether the contextId field is set.
- */
- public boolean hasContextId() {
- return contextIdBuilder_ != null || contextId_ != null;
- }
- /**
- * .context.ContextId context_id = 1;
- * @return The contextId.
- */
- public context.ContextOuterClass.ContextId getContextId() {
- if (contextIdBuilder_ == null) {
- return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
- } else {
- return contextIdBuilder_.getMessage();
- }
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public Builder setContextId(context.ContextOuterClass.ContextId value) {
- if (contextIdBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contextId_ = value;
- onChanged();
- } else {
- contextIdBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public Builder setContextId(
- context.ContextOuterClass.ContextId.Builder builderForValue) {
- if (contextIdBuilder_ == null) {
- contextId_ = builderForValue.build();
- onChanged();
- } else {
- contextIdBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
- if (contextIdBuilder_ == null) {
- if (contextId_ != null) {
- contextId_ =
- context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
- } else {
- contextId_ = value;
- }
- onChanged();
- } else {
- contextIdBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public Builder clearContextId() {
- if (contextIdBuilder_ == null) {
- contextId_ = null;
- onChanged();
- } else {
- contextId_ = null;
- contextIdBuilder_ = null;
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
-
- onChanged();
- return getContextIdFieldBuilder().getBuilder();
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
- if (contextIdBuilder_ != null) {
- return contextIdBuilder_.getMessageOrBuilder();
- } else {
- return contextId_ == null ?
- context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
- }
- }
- /**
- * .context.ContextId context_id = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
- getContextIdFieldBuilder() {
- if (contextIdBuilder_ == null) {
- contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
- getContextId(),
- getParentForChildren(),
- isClean());
- contextId_ = null;
- }
- return contextIdBuilder_;
- }
-
- private java.lang.Object name_ = "";
- /**
- * string name = 2;
- * @return The name.
- */
- public java.lang.String getName() {
- java.lang.Object ref = name_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- name_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * string name = 2;
- * @return The bytes for name.
- */
- public com.google.protobuf.ByteString
- getNameBytes() {
- java.lang.Object ref = name_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- name_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * string name = 2;
- * @param value The name to set.
- * @return This builder for chaining.
- */
- public Builder setName(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- name_ = value;
- onChanged();
- return this;
- }
- /**
- * string name = 2;
- * @return This builder for chaining.
- */
- public Builder clearName() {
-
- name_ = getDefaultInstance().getName();
- onChanged();
- return this;
- }
- /**
- * string name = 2;
- * @param value The bytes for name to set.
- * @return This builder for chaining.
- */
- public Builder setNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- name_ = value;
- onChanged();
- return this;
- }
-
- private java.util.List topologyIds_ =
- java.util.Collections.emptyList();
- private void ensureTopologyIdsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
- topologyIds_ = new java.util.ArrayList(topologyIds_);
- bitField0_ |= 0x00000001;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder> topologyIdsBuilder_;
-
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public java.util.List getTopologyIdsList() {
- if (topologyIdsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(topologyIds_);
- } else {
- return topologyIdsBuilder_.getMessageList();
- }
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public int getTopologyIdsCount() {
- if (topologyIdsBuilder_ == null) {
- return topologyIds_.size();
- } else {
- return topologyIdsBuilder_.getCount();
- }
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public context.ContextOuterClass.TopologyId getTopologyIds(int index) {
- if (topologyIdsBuilder_ == null) {
- return topologyIds_.get(index);
- } else {
- return topologyIdsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public Builder setTopologyIds(
- int index, context.ContextOuterClass.TopologyId value) {
- if (topologyIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTopologyIdsIsMutable();
- topologyIds_.set(index, value);
- onChanged();
- } else {
- topologyIdsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public Builder setTopologyIds(
- int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
- topologyIds_.set(index, builderForValue.build());
- onChanged();
- } else {
- topologyIdsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public Builder addTopologyIds(context.ContextOuterClass.TopologyId value) {
- if (topologyIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTopologyIdsIsMutable();
- topologyIds_.add(value);
- onChanged();
- } else {
- topologyIdsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public Builder addTopologyIds(
- int index, context.ContextOuterClass.TopologyId value) {
- if (topologyIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureTopologyIdsIsMutable();
- topologyIds_.add(index, value);
- onChanged();
- } else {
- topologyIdsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public Builder addTopologyIds(
- context.ContextOuterClass.TopologyId.Builder builderForValue) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
- topologyIds_.add(builderForValue.build());
- onChanged();
- } else {
- topologyIdsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public Builder addTopologyIds(
- int index, context.ContextOuterClass.TopologyId.Builder builderForValue) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
- topologyIds_.add(index, builderForValue.build());
- onChanged();
- } else {
- topologyIdsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public Builder addAllTopologyIds(
- java.lang.Iterable extends context.ContextOuterClass.TopologyId> values) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, topologyIds_);
- onChanged();
- } else {
- topologyIdsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public Builder clearTopologyIds() {
- if (topologyIdsBuilder_ == null) {
- topologyIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- topologyIdsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public Builder removeTopologyIds(int index) {
- if (topologyIdsBuilder_ == null) {
- ensureTopologyIdsIsMutable();
- topologyIds_.remove(index);
- onChanged();
- } else {
- topologyIdsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public context.ContextOuterClass.TopologyId.Builder getTopologyIdsBuilder(
- int index) {
- return getTopologyIdsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public context.ContextOuterClass.TopologyIdOrBuilder getTopologyIdsOrBuilder(
- int index) {
- if (topologyIdsBuilder_ == null) {
- return topologyIds_.get(index); } else {
- return topologyIdsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public java.util.List extends context.ContextOuterClass.TopologyIdOrBuilder>
- getTopologyIdsOrBuilderList() {
- if (topologyIdsBuilder_ != null) {
- return topologyIdsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(topologyIds_);
- }
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder() {
- return getTopologyIdsFieldBuilder().addBuilder(
- context.ContextOuterClass.TopologyId.getDefaultInstance());
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public context.ContextOuterClass.TopologyId.Builder addTopologyIdsBuilder(
- int index) {
- return getTopologyIdsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.TopologyId.getDefaultInstance());
- }
- /**
- * repeated .context.TopologyId topology_ids = 3;
- */
- public java.util.List
- getTopologyIdsBuilderList() {
- return getTopologyIdsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>
- getTopologyIdsFieldBuilder() {
- if (topologyIdsBuilder_ == null) {
- topologyIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.TopologyId, context.ContextOuterClass.TopologyId.Builder, context.ContextOuterClass.TopologyIdOrBuilder>(
- topologyIds_,
- ((bitField0_ & 0x00000001) != 0),
- getParentForChildren(),
- isClean());
- topologyIds_ = null;
- }
- return topologyIdsBuilder_;
- }
-
- private java.util.List serviceIds_ =
- java.util.Collections.emptyList();
- private void ensureServiceIdsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
- serviceIds_ = new java.util.ArrayList(serviceIds_);
- bitField0_ |= 0x00000002;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder> serviceIdsBuilder_;
-
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public java.util.List getServiceIdsList() {
- if (serviceIdsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(serviceIds_);
- } else {
- return serviceIdsBuilder_.getMessageList();
- }
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public int getServiceIdsCount() {
- if (serviceIdsBuilder_ == null) {
- return serviceIds_.size();
- } else {
- return serviceIdsBuilder_.getCount();
- }
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public context.ContextOuterClass.ServiceId getServiceIds(int index) {
- if (serviceIdsBuilder_ == null) {
- return serviceIds_.get(index);
- } else {
- return serviceIdsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public Builder setServiceIds(
- int index, context.ContextOuterClass.ServiceId value) {
- if (serviceIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureServiceIdsIsMutable();
- serviceIds_.set(index, value);
- onChanged();
- } else {
- serviceIdsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public Builder setServiceIds(
- int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
- serviceIds_.set(index, builderForValue.build());
- onChanged();
- } else {
- serviceIdsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public Builder addServiceIds(context.ContextOuterClass.ServiceId value) {
- if (serviceIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureServiceIdsIsMutable();
- serviceIds_.add(value);
- onChanged();
- } else {
- serviceIdsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public Builder addServiceIds(
- int index, context.ContextOuterClass.ServiceId value) {
- if (serviceIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureServiceIdsIsMutable();
- serviceIds_.add(index, value);
- onChanged();
- } else {
- serviceIdsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public Builder addServiceIds(
- context.ContextOuterClass.ServiceId.Builder builderForValue) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
- serviceIds_.add(builderForValue.build());
- onChanged();
- } else {
- serviceIdsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public Builder addServiceIds(
- int index, context.ContextOuterClass.ServiceId.Builder builderForValue) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
- serviceIds_.add(index, builderForValue.build());
- onChanged();
- } else {
- serviceIdsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public Builder addAllServiceIds(
- java.lang.Iterable extends context.ContextOuterClass.ServiceId> values) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, serviceIds_);
- onChanged();
- } else {
- serviceIdsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public Builder clearServiceIds() {
- if (serviceIdsBuilder_ == null) {
- serviceIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- } else {
- serviceIdsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public Builder removeServiceIds(int index) {
- if (serviceIdsBuilder_ == null) {
- ensureServiceIdsIsMutable();
- serviceIds_.remove(index);
- onChanged();
- } else {
- serviceIdsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public context.ContextOuterClass.ServiceId.Builder getServiceIdsBuilder(
- int index) {
- return getServiceIdsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public context.ContextOuterClass.ServiceIdOrBuilder getServiceIdsOrBuilder(
- int index) {
- if (serviceIdsBuilder_ == null) {
- return serviceIds_.get(index); } else {
- return serviceIdsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public java.util.List extends context.ContextOuterClass.ServiceIdOrBuilder>
- getServiceIdsOrBuilderList() {
- if (serviceIdsBuilder_ != null) {
- return serviceIdsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(serviceIds_);
- }
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder() {
- return getServiceIdsFieldBuilder().addBuilder(
- context.ContextOuterClass.ServiceId.getDefaultInstance());
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public context.ContextOuterClass.ServiceId.Builder addServiceIdsBuilder(
- int index) {
- return getServiceIdsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.ServiceId.getDefaultInstance());
- }
- /**
- * repeated .context.ServiceId service_ids = 4;
- */
- public java.util.List
- getServiceIdsBuilderList() {
- return getServiceIdsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>
- getServiceIdsFieldBuilder() {
- if (serviceIdsBuilder_ == null) {
- serviceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.ServiceId, context.ContextOuterClass.ServiceId.Builder, context.ContextOuterClass.ServiceIdOrBuilder>(
- serviceIds_,
- ((bitField0_ & 0x00000002) != 0),
- getParentForChildren(),
- isClean());
- serviceIds_ = null;
- }
- return serviceIdsBuilder_;
- }
-
- private java.util.List sliceIds_ =
- java.util.Collections.emptyList();
- private void ensureSliceIdsIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
- sliceIds_ = new java.util.ArrayList(sliceIds_);
- bitField0_ |= 0x00000004;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder> sliceIdsBuilder_;
-
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public java.util.List getSliceIdsList() {
- if (sliceIdsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(sliceIds_);
- } else {
- return sliceIdsBuilder_.getMessageList();
- }
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public int getSliceIdsCount() {
- if (sliceIdsBuilder_ == null) {
- return sliceIds_.size();
- } else {
- return sliceIdsBuilder_.getCount();
- }
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public context.ContextOuterClass.SliceId getSliceIds(int index) {
- if (sliceIdsBuilder_ == null) {
- return sliceIds_.get(index);
- } else {
- return sliceIdsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public Builder setSliceIds(
- int index, context.ContextOuterClass.SliceId value) {
- if (sliceIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSliceIdsIsMutable();
- sliceIds_.set(index, value);
- onChanged();
- } else {
- sliceIdsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public Builder setSliceIds(
- int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
- if (sliceIdsBuilder_ == null) {
- ensureSliceIdsIsMutable();
- sliceIds_.set(index, builderForValue.build());
- onChanged();
- } else {
- sliceIdsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public Builder addSliceIds(context.ContextOuterClass.SliceId value) {
- if (sliceIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSliceIdsIsMutable();
- sliceIds_.add(value);
- onChanged();
- } else {
- sliceIdsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public Builder addSliceIds(
- int index, context.ContextOuterClass.SliceId value) {
- if (sliceIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureSliceIdsIsMutable();
- sliceIds_.add(index, value);
- onChanged();
- } else {
- sliceIdsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public Builder addSliceIds(
- context.ContextOuterClass.SliceId.Builder builderForValue) {
- if (sliceIdsBuilder_ == null) {
- ensureSliceIdsIsMutable();
- sliceIds_.add(builderForValue.build());
- onChanged();
- } else {
- sliceIdsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public Builder addSliceIds(
- int index, context.ContextOuterClass.SliceId.Builder builderForValue) {
- if (sliceIdsBuilder_ == null) {
- ensureSliceIdsIsMutable();
- sliceIds_.add(index, builderForValue.build());
- onChanged();
- } else {
- sliceIdsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public Builder addAllSliceIds(
- java.lang.Iterable extends context.ContextOuterClass.SliceId> values) {
- if (sliceIdsBuilder_ == null) {
- ensureSliceIdsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, sliceIds_);
- onChanged();
- } else {
- sliceIdsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public Builder clearSliceIds() {
- if (sliceIdsBuilder_ == null) {
- sliceIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
- onChanged();
- } else {
- sliceIdsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public Builder removeSliceIds(int index) {
- if (sliceIdsBuilder_ == null) {
- ensureSliceIdsIsMutable();
- sliceIds_.remove(index);
- onChanged();
- } else {
- sliceIdsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public context.ContextOuterClass.SliceId.Builder getSliceIdsBuilder(
- int index) {
- return getSliceIdsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public context.ContextOuterClass.SliceIdOrBuilder getSliceIdsOrBuilder(
- int index) {
- if (sliceIdsBuilder_ == null) {
- return sliceIds_.get(index); } else {
- return sliceIdsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public java.util.List extends context.ContextOuterClass.SliceIdOrBuilder>
- getSliceIdsOrBuilderList() {
- if (sliceIdsBuilder_ != null) {
- return sliceIdsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(sliceIds_);
- }
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder() {
- return getSliceIdsFieldBuilder().addBuilder(
- context.ContextOuterClass.SliceId.getDefaultInstance());
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public context.ContextOuterClass.SliceId.Builder addSliceIdsBuilder(
- int index) {
- return getSliceIdsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.SliceId.getDefaultInstance());
- }
- /**
- * repeated .context.SliceId slice_ids = 5;
- */
- public java.util.List
- getSliceIdsBuilderList() {
- return getSliceIdsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>
- getSliceIdsFieldBuilder() {
- if (sliceIdsBuilder_ == null) {
- sliceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.SliceId, context.ContextOuterClass.SliceId.Builder, context.ContextOuterClass.SliceIdOrBuilder>(
- sliceIds_,
- ((bitField0_ & 0x00000004) != 0),
- getParentForChildren(),
- isClean());
- sliceIds_ = null;
- }
- return sliceIdsBuilder_;
- }
-
- private context.ContextOuterClass.TeraFlowController controller_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder> controllerBuilder_;
- /**
- * .context.TeraFlowController controller = 6;
- * @return Whether the controller field is set.
- */
- public boolean hasController() {
- return controllerBuilder_ != null || controller_ != null;
- }
- /**
- * .context.TeraFlowController controller = 6;
- * @return The controller.
- */
- public context.ContextOuterClass.TeraFlowController getController() {
- if (controllerBuilder_ == null) {
- return controller_ == null ? context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
- } else {
- return controllerBuilder_.getMessage();
- }
- }
- /**
- * .context.TeraFlowController controller = 6;
- */
- public Builder setController(context.ContextOuterClass.TeraFlowController value) {
- if (controllerBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- controller_ = value;
- onChanged();
- } else {
- controllerBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * .context.TeraFlowController controller = 6;
- */
- public Builder setController(
- context.ContextOuterClass.TeraFlowController.Builder builderForValue) {
- if (controllerBuilder_ == null) {
- controller_ = builderForValue.build();
- onChanged();
- } else {
- controllerBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * .context.TeraFlowController controller = 6;
- */
- public Builder mergeController(context.ContextOuterClass.TeraFlowController value) {
- if (controllerBuilder_ == null) {
- if (controller_ != null) {
- controller_ =
- context.ContextOuterClass.TeraFlowController.newBuilder(controller_).mergeFrom(value).buildPartial();
- } else {
- controller_ = value;
- }
- onChanged();
- } else {
- controllerBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * .context.TeraFlowController controller = 6;
- */
- public Builder clearController() {
- if (controllerBuilder_ == null) {
- controller_ = null;
- onChanged();
- } else {
- controller_ = null;
- controllerBuilder_ = null;
- }
-
- return this;
- }
- /**
- * .context.TeraFlowController controller = 6;
- */
- public context.ContextOuterClass.TeraFlowController.Builder getControllerBuilder() {
-
- onChanged();
- return getControllerFieldBuilder().getBuilder();
- }
- /**
- * .context.TeraFlowController controller = 6;
- */
- public context.ContextOuterClass.TeraFlowControllerOrBuilder getControllerOrBuilder() {
- if (controllerBuilder_ != null) {
- return controllerBuilder_.getMessageOrBuilder();
- } else {
- return controller_ == null ?
- context.ContextOuterClass.TeraFlowController.getDefaultInstance() : controller_;
- }
- }
- /**
- * .context.TeraFlowController controller = 6;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder>
- getControllerFieldBuilder() {
- if (controllerBuilder_ == null) {
- controllerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.TeraFlowController, context.ContextOuterClass.TeraFlowController.Builder, context.ContextOuterClass.TeraFlowControllerOrBuilder>(
- getController(),
- getParentForChildren(),
- isClean());
- controller_ = null;
- }
- return controllerBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.Context)
}
- // @@protoc_insertion_point(class_scope:context.Context)
- private static final context.ContextOuterClass.Context DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.Context();
- }
+ public interface TimestampOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Timestamp)
+ com.google.protobuf.MessageOrBuilder {
- public static context.ContextOuterClass.Context getDefaultInstance() {
- return DEFAULT_INSTANCE;
+ /**
+ * double timestamp = 1;
+ * @return The timestamp.
+ */
+ double getTimestamp();
}
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public Context parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new Context(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ /**
+ * Protobuf type {@code context.Timestamp}
+ */
+ public static final class Timestamp extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Timestamp)
+ TimestampOrBuilder {
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ private static final long serialVersionUID = 0L;
- @java.lang.Override
- public context.ContextOuterClass.Context getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ // Use Timestamp.newBuilder() to construct.
+ private Timestamp(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
- }
+ private Timestamp() {
+ }
- public interface ContextIdListOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.ContextIdList)
- com.google.protobuf.MessageOrBuilder {
+ @java.lang.Override
+ @SuppressWarnings({ "unused" })
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Timestamp();
+ }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- java.util.List
- getContextIdsList();
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- context.ContextOuterClass.ContextId getContextIds(int index);
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- int getContextIdsCount();
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- java.util.List extends context.ContextOuterClass.ContextIdOrBuilder>
- getContextIdsOrBuilderList();
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(
- int index);
- }
- /**
- * Protobuf type {@code context.ContextIdList}
- */
- public static final class ContextIdList extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.ContextIdList)
- ContextIdListOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use ContextIdList.newBuilder() to construct.
- private ContextIdList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private ContextIdList() {
- contextIds_ = java.util.Collections.emptyList();
- }
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
+ }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new ContextIdList();
- }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private ContextIdList(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- contextIds_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000001;
- }
- contextIds_.add(
- input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry));
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- if (((mutable_bitField0_ & 0x00000001) != 0)) {
- contextIds_ = java.util.Collections.unmodifiableList(contextIds_);
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ContextIdList_descriptor;
- }
+ public static final int TIMESTAMP_FIELD_NUMBER = 1;
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ContextIdList_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.ContextIdList.class, context.ContextOuterClass.ContextIdList.Builder.class);
- }
+ private double timestamp_ = 0D;
- public static final int CONTEXT_IDS_FIELD_NUMBER = 1;
- private java.util.List contextIds_;
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- @java.lang.Override
- public java.util.List getContextIdsList() {
- return contextIds_;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- @java.lang.Override
- public java.util.List extends context.ContextOuterClass.ContextIdOrBuilder>
- getContextIdsOrBuilderList() {
- return contextIds_;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- @java.lang.Override
- public int getContextIdsCount() {
- return contextIds_.size();
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.ContextId getContextIds(int index) {
- return contextIds_.get(index);
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(
- int index) {
- return contextIds_.get(index);
- }
+ /**
+ * double timestamp = 1;
+ * @return The timestamp.
+ */
+ @java.lang.Override
+ public double getTimestamp() {
+ return timestamp_;
+ }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ private byte memoizedIsInitialized = -1;
- memoizedIsInitialized = 1;
- return true;
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
+ memoizedIsInitialized = 1;
+ return true;
+ }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- for (int i = 0; i < contextIds_.size(); i++) {
- output.writeMessage(1, contextIds_.get(i));
- }
- unknownFields.writeTo(output);
- }
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (java.lang.Double.doubleToRawLongBits(timestamp_) != 0) {
+ output.writeDouble(1, timestamp_);
+ }
+ getUnknownFields().writeTo(output);
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < contextIds_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, contextIds_.get(i));
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+ size = 0;
+ if (java.lang.Double.doubleToRawLongBits(timestamp_) != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, timestamp_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.ContextIdList)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.ContextIdList other = (context.ContextOuterClass.ContextIdList) obj;
-
- if (!getContextIdsList()
- .equals(other.getContextIdsList())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.Timestamp)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.Timestamp other = (context.ContextOuterClass.Timestamp) obj;
+ if (java.lang.Double.doubleToLongBits(getTimestamp()) != java.lang.Double.doubleToLongBits(other.getTimestamp()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getTimestamp()));
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (getContextIdsCount() > 0) {
- hash = (37 * hash) + CONTEXT_IDS_FIELD_NUMBER;
- hash = (53 * hash) + getContextIdsList().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ public static context.ContextOuterClass.Timestamp parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public static context.ContextOuterClass.ContextIdList parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextIdList parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextIdList parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextIdList parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextIdList parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextIdList parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextIdList parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextIdList parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextIdList parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextIdList parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextIdList parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextIdList parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
+ public static context.ContextOuterClass.Timestamp parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.ContextIdList prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
+ public static context.ContextOuterClass.Timestamp parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code context.ContextIdList}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.ContextIdList)
- context.ContextOuterClass.ContextIdListOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ContextIdList_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ContextIdList_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.ContextIdList.class, context.ContextOuterClass.ContextIdList.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.ContextIdList.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getContextIdsFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- if (contextIdsBuilder_ == null) {
- contextIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- contextIdsBuilder_.clear();
- }
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_ContextIdList_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextIdList getDefaultInstanceForType() {
- return context.ContextOuterClass.ContextIdList.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextIdList build() {
- context.ContextOuterClass.ContextIdList result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextIdList buildPartial() {
- context.ContextOuterClass.ContextIdList result = new context.ContextOuterClass.ContextIdList(this);
- int from_bitField0_ = bitField0_;
- if (contextIdsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
- contextIds_ = java.util.Collections.unmodifiableList(contextIds_);
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.contextIds_ = contextIds_;
- } else {
- result.contextIds_ = contextIdsBuilder_.build();
- }
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.ContextIdList) {
- return mergeFrom((context.ContextOuterClass.ContextIdList)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.ContextIdList other) {
- if (other == context.ContextOuterClass.ContextIdList.getDefaultInstance()) return this;
- if (contextIdsBuilder_ == null) {
- if (!other.contextIds_.isEmpty()) {
- if (contextIds_.isEmpty()) {
- contextIds_ = other.contextIds_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureContextIdsIsMutable();
- contextIds_.addAll(other.contextIds_);
- }
- onChanged();
- }
- } else {
- if (!other.contextIds_.isEmpty()) {
- if (contextIdsBuilder_.isEmpty()) {
- contextIdsBuilder_.dispose();
- contextIdsBuilder_ = null;
- contextIds_ = other.contextIds_;
- bitField0_ = (bitField0_ & ~0x00000001);
- contextIdsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getContextIdsFieldBuilder() : null;
- } else {
- contextIdsBuilder_.addAllMessages(other.contextIds_);
- }
- }
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.ContextIdList parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.ContextIdList) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private int bitField0_;
-
- private java.util.List contextIds_ =
- java.util.Collections.emptyList();
- private void ensureContextIdsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
- contextIds_ = new java.util.ArrayList(contextIds_);
- bitField0_ |= 0x00000001;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdsBuilder_;
-
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public java.util.List getContextIdsList() {
- if (contextIdsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(contextIds_);
- } else {
- return contextIdsBuilder_.getMessageList();
- }
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public int getContextIdsCount() {
- if (contextIdsBuilder_ == null) {
- return contextIds_.size();
- } else {
- return contextIdsBuilder_.getCount();
- }
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public context.ContextOuterClass.ContextId getContextIds(int index) {
- if (contextIdsBuilder_ == null) {
- return contextIds_.get(index);
- } else {
- return contextIdsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public Builder setContextIds(
- int index, context.ContextOuterClass.ContextId value) {
- if (contextIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureContextIdsIsMutable();
- contextIds_.set(index, value);
- onChanged();
- } else {
- contextIdsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public Builder setContextIds(
- int index, context.ContextOuterClass.ContextId.Builder builderForValue) {
- if (contextIdsBuilder_ == null) {
- ensureContextIdsIsMutable();
- contextIds_.set(index, builderForValue.build());
- onChanged();
- } else {
- contextIdsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public Builder addContextIds(context.ContextOuterClass.ContextId value) {
- if (contextIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureContextIdsIsMutable();
- contextIds_.add(value);
- onChanged();
- } else {
- contextIdsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public Builder addContextIds(
- int index, context.ContextOuterClass.ContextId value) {
- if (contextIdsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureContextIdsIsMutable();
- contextIds_.add(index, value);
- onChanged();
- } else {
- contextIdsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public Builder addContextIds(
- context.ContextOuterClass.ContextId.Builder builderForValue) {
- if (contextIdsBuilder_ == null) {
- ensureContextIdsIsMutable();
- contextIds_.add(builderForValue.build());
- onChanged();
- } else {
- contextIdsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public Builder addContextIds(
- int index, context.ContextOuterClass.ContextId.Builder builderForValue) {
- if (contextIdsBuilder_ == null) {
- ensureContextIdsIsMutable();
- contextIds_.add(index, builderForValue.build());
- onChanged();
- } else {
- contextIdsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public Builder addAllContextIds(
- java.lang.Iterable extends context.ContextOuterClass.ContextId> values) {
- if (contextIdsBuilder_ == null) {
- ensureContextIdsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, contextIds_);
- onChanged();
- } else {
- contextIdsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public Builder clearContextIds() {
- if (contextIdsBuilder_ == null) {
- contextIds_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- contextIdsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public Builder removeContextIds(int index) {
- if (contextIdsBuilder_ == null) {
- ensureContextIdsIsMutable();
- contextIds_.remove(index);
- onChanged();
- } else {
- contextIdsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public context.ContextOuterClass.ContextId.Builder getContextIdsBuilder(
- int index) {
- return getContextIdsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdsOrBuilder(
- int index) {
- if (contextIdsBuilder_ == null) {
- return contextIds_.get(index); } else {
- return contextIdsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public java.util.List extends context.ContextOuterClass.ContextIdOrBuilder>
- getContextIdsOrBuilderList() {
- if (contextIdsBuilder_ != null) {
- return contextIdsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(contextIds_);
- }
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public context.ContextOuterClass.ContextId.Builder addContextIdsBuilder() {
- return getContextIdsFieldBuilder().addBuilder(
- context.ContextOuterClass.ContextId.getDefaultInstance());
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public context.ContextOuterClass.ContextId.Builder addContextIdsBuilder(
- int index) {
- return getContextIdsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.ContextId.getDefaultInstance());
- }
- /**
- * repeated .context.ContextId context_ids = 1;
- */
- public java.util.List
- getContextIdsBuilderList() {
- return getContextIdsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
- getContextIdsFieldBuilder() {
- if (contextIdsBuilder_ == null) {
- contextIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
- contextIds_,
- ((bitField0_ & 0x00000001) != 0),
- getParentForChildren(),
- isClean());
- contextIds_ = null;
- }
- return contextIdsBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.ContextIdList)
- }
+ public static context.ContextOuterClass.Timestamp parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- // @@protoc_insertion_point(class_scope:context.ContextIdList)
- private static final context.ContextOuterClass.ContextIdList DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.ContextIdList();
- }
+ public static context.ContextOuterClass.Timestamp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- public static context.ContextOuterClass.ContextIdList getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ public static context.ContextOuterClass.Timestamp parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public ContextIdList parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new ContextIdList(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ public static context.ContextOuterClass.Timestamp parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ public static context.ContextOuterClass.Timestamp parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
- @java.lang.Override
- public context.ContextOuterClass.ContextIdList getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ public static context.ContextOuterClass.Timestamp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
- }
+ public static context.ContextOuterClass.Timestamp parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
- public interface ContextListOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.ContextList)
- com.google.protobuf.MessageOrBuilder {
+ public static context.ContextOuterClass.Timestamp parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
- /**
- * repeated .context.Context contexts = 1;
- */
- java.util.List
- getContextsList();
- /**
- * repeated .context.Context contexts = 1;
- */
- context.ContextOuterClass.Context getContexts(int index);
- /**
- * repeated .context.Context contexts = 1;
- */
- int getContextsCount();
- /**
- * repeated .context.Context contexts = 1;
- */
- java.util.List extends context.ContextOuterClass.ContextOrBuilder>
- getContextsOrBuilderList();
- /**
- * repeated .context.Context contexts = 1;
- */
- context.ContextOuterClass.ContextOrBuilder getContextsOrBuilder(
- int index);
- }
- /**
- * Protobuf type {@code context.ContextList}
- */
- public static final class ContextList extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.ContextList)
- ContextListOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use ContextList.newBuilder() to construct.
- private ContextList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private ContextList() {
- contexts_ = java.util.Collections.emptyList();
- }
+ public static context.ContextOuterClass.Timestamp parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new ContextList();
- }
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private ContextList(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- if (!((mutable_bitField0_ & 0x00000001) != 0)) {
- contexts_ = new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000001;
- }
- contexts_.add(
- input.readMessage(context.ContextOuterClass.Context.parser(), extensionRegistry));
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- if (((mutable_bitField0_ & 0x00000001) != 0)) {
- contexts_ = java.util.Collections.unmodifiableList(contexts_);
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ContextList_descriptor;
- }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ContextList_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.ContextList.class, context.ContextOuterClass.ContextList.Builder.class);
- }
+ public static Builder newBuilder(context.ContextOuterClass.Timestamp prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
- public static final int CONTEXTS_FIELD_NUMBER = 1;
- private java.util.List contexts_;
- /**
- * repeated .context.Context contexts = 1;
- */
- @java.lang.Override
- public java.util.List getContextsList() {
- return contexts_;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- @java.lang.Override
- public java.util.List extends context.ContextOuterClass.ContextOrBuilder>
- getContextsOrBuilderList() {
- return contexts_;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- @java.lang.Override
- public int getContextsCount() {
- return contexts_.size();
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.Context getContexts(int index) {
- return contexts_.get(index);
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.ContextOrBuilder getContextsOrBuilder(
- int index) {
- return contexts_.get(index);
- }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
- memoizedIsInitialized = 1;
- return true;
- }
+ /**
+ * Protobuf type {@code context.Timestamp}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:context.Timestamp)
+ context.ContextOuterClass.TimestampOrBuilder {
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- for (int i = 0; i < contexts_.size(); i++) {
- output.writeMessage(1, contexts_.get(i));
- }
- unknownFields.writeTo(output);
- }
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < contexts_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, contexts_.get(i));
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_Timestamp_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Timestamp.class, context.ContextOuterClass.Timestamp.Builder.class);
+ }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.ContextList)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.ContextList other = (context.ContextOuterClass.ContextList) obj;
-
- if (!getContextsList()
- .equals(other.getContextsList())) return false;
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ // Construct using context.ContextOuterClass.Timestamp.newBuilder()
+ private Builder() {
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (getContextsCount() > 0) {
- hash = (37 * hash) + CONTEXTS_FIELD_NUMBER;
- hash = (53 * hash) + getContextsList().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
- public static context.ContextOuterClass.ContextList parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextList parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextList parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextList parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextList parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextList parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextList parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextList parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextList parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextList parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextList parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextList parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ timestamp_ = 0D;
+ return this;
+ }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.ContextList prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return context.ContextOuterClass.internal_static_context_Timestamp_descriptor;
+ }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code context.ContextList}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.ContextList)
- context.ContextOuterClass.ContextListOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ContextList_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ContextList_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.ContextList.class, context.ContextOuterClass.ContextList.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.ContextList.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getContextsFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- if (contextsBuilder_ == null) {
- contexts_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- contextsBuilder_.clear();
- }
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_ContextList_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextList getDefaultInstanceForType() {
- return context.ContextOuterClass.ContextList.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextList build() {
- context.ContextOuterClass.ContextList result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextList buildPartial() {
- context.ContextOuterClass.ContextList result = new context.ContextOuterClass.ContextList(this);
- int from_bitField0_ = bitField0_;
- if (contextsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
- contexts_ = java.util.Collections.unmodifiableList(contexts_);
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.contexts_ = contexts_;
- } else {
- result.contexts_ = contextsBuilder_.build();
- }
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.ContextList) {
- return mergeFrom((context.ContextOuterClass.ContextList)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.ContextList other) {
- if (other == context.ContextOuterClass.ContextList.getDefaultInstance()) return this;
- if (contextsBuilder_ == null) {
- if (!other.contexts_.isEmpty()) {
- if (contexts_.isEmpty()) {
- contexts_ = other.contexts_;
- bitField0_ = (bitField0_ & ~0x00000001);
- } else {
- ensureContextsIsMutable();
- contexts_.addAll(other.contexts_);
- }
- onChanged();
- }
- } else {
- if (!other.contexts_.isEmpty()) {
- if (contextsBuilder_.isEmpty()) {
- contextsBuilder_.dispose();
- contextsBuilder_ = null;
- contexts_ = other.contexts_;
- bitField0_ = (bitField0_ & ~0x00000001);
- contextsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getContextsFieldBuilder() : null;
- } else {
- contextsBuilder_.addAllMessages(other.contexts_);
- }
- }
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.ContextList parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.ContextList) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private int bitField0_;
-
- private java.util.List contexts_ =
- java.util.Collections.emptyList();
- private void ensureContextsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
- contexts_ = new java.util.ArrayList(contexts_);
- bitField0_ |= 0x00000001;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.Context, context.ContextOuterClass.Context.Builder, context.ContextOuterClass.ContextOrBuilder> contextsBuilder_;
-
- /**
- * repeated .context.Context contexts = 1;
- */
- public java.util.List getContextsList() {
- if (contextsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(contexts_);
- } else {
- return contextsBuilder_.getMessageList();
- }
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public int getContextsCount() {
- if (contextsBuilder_ == null) {
- return contexts_.size();
- } else {
- return contextsBuilder_.getCount();
- }
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public context.ContextOuterClass.Context getContexts(int index) {
- if (contextsBuilder_ == null) {
- return contexts_.get(index);
- } else {
- return contextsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public Builder setContexts(
- int index, context.ContextOuterClass.Context value) {
- if (contextsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureContextsIsMutable();
- contexts_.set(index, value);
- onChanged();
- } else {
- contextsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public Builder setContexts(
- int index, context.ContextOuterClass.Context.Builder builderForValue) {
- if (contextsBuilder_ == null) {
- ensureContextsIsMutable();
- contexts_.set(index, builderForValue.build());
- onChanged();
- } else {
- contextsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public Builder addContexts(context.ContextOuterClass.Context value) {
- if (contextsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureContextsIsMutable();
- contexts_.add(value);
- onChanged();
- } else {
- contextsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public Builder addContexts(
- int index, context.ContextOuterClass.Context value) {
- if (contextsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureContextsIsMutable();
- contexts_.add(index, value);
- onChanged();
- } else {
- contextsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public Builder addContexts(
- context.ContextOuterClass.Context.Builder builderForValue) {
- if (contextsBuilder_ == null) {
- ensureContextsIsMutable();
- contexts_.add(builderForValue.build());
- onChanged();
- } else {
- contextsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public Builder addContexts(
- int index, context.ContextOuterClass.Context.Builder builderForValue) {
- if (contextsBuilder_ == null) {
- ensureContextsIsMutable();
- contexts_.add(index, builderForValue.build());
- onChanged();
- } else {
- contextsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public Builder addAllContexts(
- java.lang.Iterable extends context.ContextOuterClass.Context> values) {
- if (contextsBuilder_ == null) {
- ensureContextsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, contexts_);
- onChanged();
- } else {
- contextsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public Builder clearContexts() {
- if (contextsBuilder_ == null) {
- contexts_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- contextsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public Builder removeContexts(int index) {
- if (contextsBuilder_ == null) {
- ensureContextsIsMutable();
- contexts_.remove(index);
- onChanged();
- } else {
- contextsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public context.ContextOuterClass.Context.Builder getContextsBuilder(
- int index) {
- return getContextsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public context.ContextOuterClass.ContextOrBuilder getContextsOrBuilder(
- int index) {
- if (contextsBuilder_ == null) {
- return contexts_.get(index); } else {
- return contextsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public java.util.List extends context.ContextOuterClass.ContextOrBuilder>
- getContextsOrBuilderList() {
- if (contextsBuilder_ != null) {
- return contextsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(contexts_);
- }
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public context.ContextOuterClass.Context.Builder addContextsBuilder() {
- return getContextsFieldBuilder().addBuilder(
- context.ContextOuterClass.Context.getDefaultInstance());
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public context.ContextOuterClass.Context.Builder addContextsBuilder(
- int index) {
- return getContextsFieldBuilder().addBuilder(
- index, context.ContextOuterClass.Context.getDefaultInstance());
- }
- /**
- * repeated .context.Context contexts = 1;
- */
- public java.util.List
- getContextsBuilderList() {
- return getContextsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.Context, context.ContextOuterClass.Context.Builder, context.ContextOuterClass.ContextOrBuilder>
- getContextsFieldBuilder() {
- if (contextsBuilder_ == null) {
- contextsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- context.ContextOuterClass.Context, context.ContextOuterClass.Context.Builder, context.ContextOuterClass.ContextOrBuilder>(
- contexts_,
- ((bitField0_ & 0x00000001) != 0),
- getParentForChildren(),
- isClean());
- contexts_ = null;
- }
- return contextsBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.ContextList)
- }
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
+ return context.ContextOuterClass.Timestamp.getDefaultInstance();
+ }
- // @@protoc_insertion_point(class_scope:context.ContextList)
- private static final context.ContextOuterClass.ContextList DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.ContextList();
- }
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp build() {
+ context.ContextOuterClass.Timestamp result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
- public static context.ContextOuterClass.ContextList getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp buildPartial() {
+ context.ContextOuterClass.Timestamp result = new context.ContextOuterClass.Timestamp(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public ContextList parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new ContextList(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ private void buildPartial0(context.ContextOuterClass.Timestamp result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.timestamp_ = timestamp_;
+ }
+ }
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof context.ContextOuterClass.Timestamp) {
+ return mergeFrom((context.ContextOuterClass.Timestamp) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
- @java.lang.Override
- public context.ContextOuterClass.ContextList getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ public Builder mergeFrom(context.ContextOuterClass.Timestamp other) {
+ if (other == context.ContextOuterClass.Timestamp.getDefaultInstance())
+ return this;
+ if (other.getTimestamp() != 0D) {
+ setTimestamp(other.getTimestamp());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
- public interface ContextEventOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.ContextEvent)
- com.google.protobuf.MessageOrBuilder {
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch(tag) {
+ case 0:
+ done = true;
+ break;
+ case 9:
+ {
+ timestamp_ = input.readDouble();
+ bitField0_ |= 0x00000001;
+ break;
+ }
+ // case 9
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ // was an endgroup tag
+ done = true;
+ }
+ break;
+ }
+ }
+ // switch (tag)
+ }
+ // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ }
+ // finally
+ return this;
+ }
- /**
- * .context.Event event = 1;
- * @return Whether the event field is set.
- */
- boolean hasEvent();
- /**
- * .context.Event event = 1;
- * @return The event.
- */
- context.ContextOuterClass.Event getEvent();
- /**
- * .context.Event event = 1;
- */
- context.ContextOuterClass.EventOrBuilder getEventOrBuilder();
+ private int bitField0_;
- /**
- * .context.ContextId context_id = 2;
- * @return Whether the contextId field is set.
- */
- boolean hasContextId();
- /**
- * .context.ContextId context_id = 2;
- * @return The contextId.
- */
- context.ContextOuterClass.ContextId getContextId();
- /**
- * .context.ContextId context_id = 2;
- */
- context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
- }
- /**
- * Protobuf type {@code context.ContextEvent}
- */
- public static final class ContextEvent extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.ContextEvent)
- ContextEventOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use ContextEvent.newBuilder() to construct.
- private ContextEvent(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private ContextEvent() {
- }
+ private double timestamp_;
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new ContextEvent();
- }
+ /**
+ * double timestamp = 1;
+ * @return The timestamp.
+ */
+ @java.lang.Override
+ public double getTimestamp() {
+ return timestamp_;
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private ContextEvent(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- context.ContextOuterClass.Event.Builder subBuilder = null;
- if (event_ != null) {
- subBuilder = event_.toBuilder();
- }
- event_ = input.readMessage(context.ContextOuterClass.Event.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(event_);
- event_ = subBuilder.buildPartial();
- }
-
- break;
- }
- case 18: {
- context.ContextOuterClass.ContextId.Builder subBuilder = null;
- if (contextId_ != null) {
- subBuilder = contextId_.toBuilder();
- }
- contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(contextId_);
- contextId_ = subBuilder.buildPartial();
- }
-
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ContextEvent_descriptor;
- }
+ /**
+ * double timestamp = 1;
+ * @param value The timestamp to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTimestamp(double value) {
+ timestamp_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ContextEvent_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.ContextEvent.class, context.ContextOuterClass.ContextEvent.Builder.class);
- }
+ /**
+ * double timestamp = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearTimestamp() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ timestamp_ = 0D;
+ onChanged();
+ return this;
+ }
- public static final int EVENT_FIELD_NUMBER = 1;
- private context.ContextOuterClass.Event event_;
- /**
- * .context.Event event = 1;
- * @return Whether the event field is set.
- */
- @java.lang.Override
- public boolean hasEvent() {
- return event_ != null;
- }
- /**
- * .context.Event event = 1;
- * @return The event.
- */
- @java.lang.Override
- public context.ContextOuterClass.Event getEvent() {
- return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
- }
- /**
- * .context.Event event = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
- return getEvent();
- }
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
- public static final int CONTEXT_ID_FIELD_NUMBER = 2;
- private context.ContextOuterClass.ContextId contextId_;
- /**
- * .context.ContextId context_id = 2;
- * @return Whether the contextId field is set.
- */
- @java.lang.Override
- public boolean hasContextId() {
- return contextId_ != null;
- }
- /**
- * .context.ContextId context_id = 2;
- * @return The contextId.
- */
- @java.lang.Override
- public context.ContextOuterClass.ContextId getContextId() {
- return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
- }
- /**
- * .context.ContextId context_id = 2;
- */
- @java.lang.Override
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
- return getContextId();
- }
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+ // @@protoc_insertion_point(builder_scope:context.Timestamp)
+ }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ // @@protoc_insertion_point(class_scope:context.Timestamp)
+ private static final context.ContextOuterClass.Timestamp DEFAULT_INSTANCE;
- memoizedIsInitialized = 1;
- return true;
- }
+ static {
+ DEFAULT_INSTANCE = new context.ContextOuterClass.Timestamp();
+ }
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (event_ != null) {
- output.writeMessage(1, getEvent());
- }
- if (contextId_ != null) {
- output.writeMessage(2, getContextId());
- }
- unknownFields.writeTo(output);
- }
+ public static context.ContextOuterClass.Timestamp getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (event_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getEvent());
- }
- if (contextId_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getContextId());
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.ContextEvent)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.ContextEvent other = (context.ContextOuterClass.ContextEvent) obj;
-
- if (hasEvent() != other.hasEvent()) return false;
- if (hasEvent()) {
- if (!getEvent()
- .equals(other.getEvent())) return false;
- }
- if (hasContextId() != other.hasContextId()) return false;
- if (hasContextId()) {
- if (!getContextId()
- .equals(other.getContextId())) return false;
- }
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ @java.lang.Override
+ public Timestamp parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasEvent()) {
- hash = (37 * hash) + EVENT_FIELD_NUMBER;
- hash = (53 * hash) + getEvent().hashCode();
- }
- if (hasContextId()) {
- hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
- hash = (53 * hash) + getContextId().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
- public static context.ContextOuterClass.ContextEvent parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextEvent parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextEvent parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextEvent parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextEvent parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.ContextEvent parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextEvent parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextEvent parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextEvent parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextEvent parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.ContextEvent parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.ContextEvent parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.ContextEvent prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
}
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code context.ContextEvent}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.ContextEvent)
- context.ContextOuterClass.ContextEventOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_ContextEvent_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_ContextEvent_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.ContextEvent.class, context.ContextOuterClass.ContextEvent.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.ContextEvent.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- if (eventBuilder_ == null) {
- event_ = null;
- } else {
- event_ = null;
- eventBuilder_ = null;
- }
- if (contextIdBuilder_ == null) {
- contextId_ = null;
- } else {
- contextId_ = null;
- contextIdBuilder_ = null;
- }
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_ContextEvent_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextEvent getDefaultInstanceForType() {
- return context.ContextOuterClass.ContextEvent.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextEvent build() {
- context.ContextOuterClass.ContextEvent result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.ContextEvent buildPartial() {
- context.ContextOuterClass.ContextEvent result = new context.ContextOuterClass.ContextEvent(this);
- if (eventBuilder_ == null) {
- result.event_ = event_;
- } else {
- result.event_ = eventBuilder_.build();
- }
- if (contextIdBuilder_ == null) {
- result.contextId_ = contextId_;
- } else {
- result.contextId_ = contextIdBuilder_.build();
- }
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.ContextEvent) {
- return mergeFrom((context.ContextOuterClass.ContextEvent)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.ContextEvent other) {
- if (other == context.ContextOuterClass.ContextEvent.getDefaultInstance()) return this;
- if (other.hasEvent()) {
- mergeEvent(other.getEvent());
- }
- if (other.hasContextId()) {
- mergeContextId(other.getContextId());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.ContextEvent parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.ContextEvent) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
-
- private context.ContextOuterClass.Event event_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder> eventBuilder_;
- /**
- * .context.Event event = 1;
- * @return Whether the event field is set.
- */
- public boolean hasEvent() {
- return eventBuilder_ != null || event_ != null;
- }
- /**
- * .context.Event event = 1;
- * @return The event.
- */
- public context.ContextOuterClass.Event getEvent() {
- if (eventBuilder_ == null) {
- return event_ == null ? context.ContextOuterClass.Event.getDefaultInstance() : event_;
- } else {
- return eventBuilder_.getMessage();
- }
- }
- /**
- * .context.Event event = 1;
- */
- public Builder setEvent(context.ContextOuterClass.Event value) {
- if (eventBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- event_ = value;
- onChanged();
- } else {
- eventBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * .context.Event event = 1;
- */
- public Builder setEvent(
- context.ContextOuterClass.Event.Builder builderForValue) {
- if (eventBuilder_ == null) {
- event_ = builderForValue.build();
- onChanged();
- } else {
- eventBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * .context.Event event = 1;
- */
- public Builder mergeEvent(context.ContextOuterClass.Event value) {
- if (eventBuilder_ == null) {
- if (event_ != null) {
- event_ =
- context.ContextOuterClass.Event.newBuilder(event_).mergeFrom(value).buildPartial();
- } else {
- event_ = value;
- }
- onChanged();
- } else {
- eventBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * .context.Event event = 1;
- */
- public Builder clearEvent() {
- if (eventBuilder_ == null) {
- event_ = null;
- onChanged();
- } else {
- event_ = null;
- eventBuilder_ = null;
- }
-
- return this;
- }
- /**
- * .context.Event event = 1;
- */
- public context.ContextOuterClass.Event.Builder getEventBuilder() {
-
- onChanged();
- return getEventFieldBuilder().getBuilder();
- }
- /**
- * .context.Event event = 1;
- */
- public context.ContextOuterClass.EventOrBuilder getEventOrBuilder() {
- if (eventBuilder_ != null) {
- return eventBuilder_.getMessageOrBuilder();
- } else {
- return event_ == null ?
- context.ContextOuterClass.Event.getDefaultInstance() : event_;
- }
- }
- /**
- * .context.Event event = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>
- getEventFieldBuilder() {
- if (eventBuilder_ == null) {
- eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Event, context.ContextOuterClass.Event.Builder, context.ContextOuterClass.EventOrBuilder>(
- getEvent(),
- getParentForChildren(),
- isClean());
- event_ = null;
- }
- return eventBuilder_;
- }
-
- private context.ContextOuterClass.ContextId contextId_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
- /**
- * .context.ContextId context_id = 2;
- * @return Whether the contextId field is set.
- */
- public boolean hasContextId() {
- return contextIdBuilder_ != null || contextId_ != null;
- }
- /**
- * .context.ContextId context_id = 2;
- * @return The contextId.
- */
- public context.ContextOuterClass.ContextId getContextId() {
- if (contextIdBuilder_ == null) {
- return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
- } else {
- return contextIdBuilder_.getMessage();
- }
- }
- /**
- * .context.ContextId context_id = 2;
- */
- public Builder setContextId(context.ContextOuterClass.ContextId value) {
- if (contextIdBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contextId_ = value;
- onChanged();
- } else {
- contextIdBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 2;
- */
- public Builder setContextId(
- context.ContextOuterClass.ContextId.Builder builderForValue) {
- if (contextIdBuilder_ == null) {
- contextId_ = builderForValue.build();
- onChanged();
- } else {
- contextIdBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 2;
- */
- public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
- if (contextIdBuilder_ == null) {
- if (contextId_ != null) {
- contextId_ =
- context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
- } else {
- contextId_ = value;
- }
- onChanged();
- } else {
- contextIdBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 2;
- */
- public Builder clearContextId() {
- if (contextIdBuilder_ == null) {
- contextId_ = null;
- onChanged();
- } else {
- contextId_ = null;
- contextIdBuilder_ = null;
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 2;
- */
- public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
-
- onChanged();
- return getContextIdFieldBuilder().getBuilder();
- }
- /**
- * .context.ContextId context_id = 2;
- */
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
- if (contextIdBuilder_ != null) {
- return contextIdBuilder_.getMessageOrBuilder();
- } else {
- return contextId_ == null ?
- context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
- }
- }
- /**
- * .context.ContextId context_id = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
- getContextIdFieldBuilder() {
- if (contextIdBuilder_ == null) {
- contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
- getContextId(),
- getParentForChildren(),
- isClean());
- contextId_ = null;
- }
- return contextIdBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.ContextEvent)
- }
+ public interface EventOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Event)
+ com.google.protobuf.MessageOrBuilder {
- // @@protoc_insertion_point(class_scope:context.ContextEvent)
- private static final context.ContextOuterClass.ContextEvent DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.ContextEvent();
- }
+ /**
+ * .context.Timestamp timestamp = 1;
+ * @return Whether the timestamp field is set.
+ */
+ boolean hasTimestamp();
- public static context.ContextOuterClass.ContextEvent getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ /**
+ * .context.Timestamp timestamp = 1;
+ * @return The timestamp.
+ */
+ context.ContextOuterClass.Timestamp getTimestamp();
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public ContextEvent parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new ContextEvent(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ /**
+ * .context.Timestamp timestamp = 1;
+ */
+ context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder();
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ /**
+ * .context.EventTypeEnum event_type = 2;
+ * @return The enum numeric value on the wire for eventType.
+ */
+ int getEventTypeValue();
- @java.lang.Override
- public context.ContextOuterClass.ContextEvent getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
+ /**
+ * .context.EventTypeEnum event_type = 2;
+ * @return The eventType.
+ */
+ context.ContextOuterClass.EventTypeEnum getEventType();
}
- }
-
- public interface TopologyIdOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.TopologyId)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * .context.ContextId context_id = 1;
- * @return Whether the contextId field is set.
- */
- boolean hasContextId();
- /**
- * .context.ContextId context_id = 1;
- * @return The contextId.
- */
- context.ContextOuterClass.ContextId getContextId();
/**
- * .context.ContextId context_id = 1;
+ * Protobuf type {@code context.Event}
*/
- context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder();
+ public static final class Event extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:context.Event)
+ EventOrBuilder {
- /**
- * .context.Uuid topology_uuid = 2;
- * @return Whether the topologyUuid field is set.
- */
- boolean hasTopologyUuid();
- /**
- * .context.Uuid topology_uuid = 2;
- * @return The topologyUuid.
- */
- context.ContextOuterClass.Uuid getTopologyUuid();
- /**
- * .context.Uuid topology_uuid = 2;
- */
- context.ContextOuterClass.UuidOrBuilder getTopologyUuidOrBuilder();
- }
- /**
- *
- * ----- Topology ------------------------------------------------------------------------------------------------------
- *
- *
- * Protobuf type {@code context.TopologyId}
- */
- public static final class TopologyId extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:context.TopologyId)
- TopologyIdOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use TopologyId.newBuilder() to construct.
- private TopologyId(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
- super(builder);
- }
- private TopologyId() {
- }
+ private static final long serialVersionUID = 0L;
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new TopologyId();
- }
+ // Use Event.newBuilder() to construct.
+ private Event(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private TopologyId(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- context.ContextOuterClass.ContextId.Builder subBuilder = null;
- if (contextId_ != null) {
- subBuilder = contextId_.toBuilder();
- }
- contextId_ = input.readMessage(context.ContextOuterClass.ContextId.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(contextId_);
- contextId_ = subBuilder.buildPartial();
- }
-
- break;
- }
- case 18: {
- context.ContextOuterClass.Uuid.Builder subBuilder = null;
- if (topologyUuid_ != null) {
- subBuilder = topologyUuid_.toBuilder();
- }
- topologyUuid_ = input.readMessage(context.ContextOuterClass.Uuid.parser(), extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(topologyUuid_);
- topologyUuid_ = subBuilder.buildPartial();
- }
-
- break;
- }
- default: {
- if (!parseUnknownField(
- input, unknownFields, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_TopologyId_descriptor;
- }
+ private Event() {
+ eventType_ = 0;
+ }
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_TopologyId_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.TopologyId.class, context.ContextOuterClass.TopologyId.Builder.class);
- }
+ @java.lang.Override
+ @SuppressWarnings({ "unused" })
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Event();
+ }
- public static final int CONTEXT_ID_FIELD_NUMBER = 1;
- private context.ContextOuterClass.ContextId contextId_;
- /**
- * .context.ContextId context_id = 1;
- * @return Whether the contextId field is set.
- */
- @java.lang.Override
- public boolean hasContextId() {
- return contextId_ != null;
- }
- /**
- * .context.ContextId context_id = 1;
- * @return The contextId.
- */
- @java.lang.Override
- public context.ContextOuterClass.ContextId getContextId() {
- return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- @java.lang.Override
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
- return getContextId();
- }
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return context.ContextOuterClass.internal_static_context_Event_descriptor;
+ }
- public static final int TOPOLOGY_UUID_FIELD_NUMBER = 2;
- private context.ContextOuterClass.Uuid topologyUuid_;
- /**
- * .context.Uuid topology_uuid = 2;
- * @return Whether the topologyUuid field is set.
- */
- @java.lang.Override
- public boolean hasTopologyUuid() {
- return topologyUuid_ != null;
- }
- /**
- * .context.Uuid topology_uuid = 2;
- * @return The topologyUuid.
- */
- @java.lang.Override
- public context.ContextOuterClass.Uuid getTopologyUuid() {
- return topologyUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
- }
- /**
- * .context.Uuid topology_uuid = 2;
- */
- @java.lang.Override
- public context.ContextOuterClass.UuidOrBuilder getTopologyUuidOrBuilder() {
- return getTopologyUuid();
- }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return context.ContextOuterClass.internal_static_context_Event_fieldAccessorTable.ensureFieldAccessorsInitialized(context.ContextOuterClass.Event.class, context.ContextOuterClass.Event.Builder.class);
+ }
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
+ public static final int TIMESTAMP_FIELD_NUMBER = 1;
- memoizedIsInitialized = 1;
- return true;
- }
+ private context.ContextOuterClass.Timestamp timestamp_;
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (contextId_ != null) {
- output.writeMessage(1, getContextId());
- }
- if (topologyUuid_ != null) {
- output.writeMessage(2, getTopologyUuid());
- }
- unknownFields.writeTo(output);
- }
+ /**
+ * .context.Timestamp timestamp = 1;
+ * @return Whether the timestamp field is set.
+ */
+ @java.lang.Override
+ public boolean hasTimestamp() {
+ return timestamp_ != null;
+ }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (contextId_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getContextId());
- }
- if (topologyUuid_ != null) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getTopologyUuid());
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
+ /**
+ * .context.Timestamp timestamp = 1;
+ * @return The timestamp.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.Timestamp getTimestamp() {
+ return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
+ }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof context.ContextOuterClass.TopologyId)) {
- return super.equals(obj);
- }
- context.ContextOuterClass.TopologyId other = (context.ContextOuterClass.TopologyId) obj;
-
- if (hasContextId() != other.hasContextId()) return false;
- if (hasContextId()) {
- if (!getContextId()
- .equals(other.getContextId())) return false;
- }
- if (hasTopologyUuid() != other.hasTopologyUuid()) return false;
- if (hasTopologyUuid()) {
- if (!getTopologyUuid()
- .equals(other.getTopologyUuid())) return false;
- }
- if (!unknownFields.equals(other.unknownFields)) return false;
- return true;
- }
+ /**
+ * .context.Timestamp timestamp = 1;
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.TimestampOrBuilder getTimestampOrBuilder() {
+ return timestamp_ == null ? context.ContextOuterClass.Timestamp.getDefaultInstance() : timestamp_;
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasContextId()) {
- hash = (37 * hash) + CONTEXT_ID_FIELD_NUMBER;
- hash = (53 * hash) + getContextId().hashCode();
- }
- if (hasTopologyUuid()) {
- hash = (37 * hash) + TOPOLOGY_UUID_FIELD_NUMBER;
- hash = (53 * hash) + getTopologyUuid().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
+ public static final int EVENT_TYPE_FIELD_NUMBER = 2;
- public static context.ContextOuterClass.TopologyId parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.TopologyId parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.TopologyId parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.TopologyId parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.TopologyId parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static context.ContextOuterClass.TopologyId parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static context.ContextOuterClass.TopologyId parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.TopologyId parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.TopologyId parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.TopologyId parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static context.ContextOuterClass.TopologyId parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static context.ContextOuterClass.TopologyId parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
+ private int eventType_ = 0;
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(context.ContextOuterClass.TopologyId prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
+ /**
+ * .context.EventTypeEnum event_type = 2;
+ * @return The enum numeric value on the wire for eventType.
+ */
+ @java.lang.Override
+ public int getEventTypeValue() {
+ return eventType_;
+ }
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- *
- * ----- Topology ------------------------------------------------------------------------------------------------------
- *
- *
- * Protobuf type {@code context.TopologyId}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder implements
- // @@protoc_insertion_point(builder_implements:context.TopologyId)
- context.ContextOuterClass.TopologyIdOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return context.ContextOuterClass.internal_static_context_TopologyId_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return context.ContextOuterClass.internal_static_context_TopologyId_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- context.ContextOuterClass.TopologyId.class, context.ContextOuterClass.TopologyId.Builder.class);
- }
-
- // Construct using context.ContextOuterClass.TopologyId.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- if (contextIdBuilder_ == null) {
- contextId_ = null;
- } else {
- contextId_ = null;
- contextIdBuilder_ = null;
- }
- if (topologyUuidBuilder_ == null) {
- topologyUuid_ = null;
- } else {
- topologyUuid_ = null;
- topologyUuidBuilder_ = null;
- }
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return context.ContextOuterClass.internal_static_context_TopologyId_descriptor;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.TopologyId getDefaultInstanceForType() {
- return context.ContextOuterClass.TopologyId.getDefaultInstance();
- }
-
- @java.lang.Override
- public context.ContextOuterClass.TopologyId build() {
- context.ContextOuterClass.TopologyId result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public context.ContextOuterClass.TopologyId buildPartial() {
- context.ContextOuterClass.TopologyId result = new context.ContextOuterClass.TopologyId(this);
- if (contextIdBuilder_ == null) {
- result.contextId_ = contextId_;
- } else {
- result.contextId_ = contextIdBuilder_.build();
- }
- if (topologyUuidBuilder_ == null) {
- result.topologyUuid_ = topologyUuid_;
- } else {
- result.topologyUuid_ = topologyUuidBuilder_.build();
- }
- onBuilt();
- return result;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof context.ContextOuterClass.TopologyId) {
- return mergeFrom((context.ContextOuterClass.TopologyId)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(context.ContextOuterClass.TopologyId other) {
- if (other == context.ContextOuterClass.TopologyId.getDefaultInstance()) return this;
- if (other.hasContextId()) {
- mergeContextId(other.getContextId());
- }
- if (other.hasTopologyUuid()) {
- mergeTopologyUuid(other.getTopologyUuid());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- context.ContextOuterClass.TopologyId parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (context.ContextOuterClass.TopologyId) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
-
- private context.ContextOuterClass.ContextId contextId_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder> contextIdBuilder_;
- /**
- * .context.ContextId context_id = 1;
- * @return Whether the contextId field is set.
- */
- public boolean hasContextId() {
- return contextIdBuilder_ != null || contextId_ != null;
- }
- /**
- * .context.ContextId context_id = 1;
- * @return The contextId.
- */
- public context.ContextOuterClass.ContextId getContextId() {
- if (contextIdBuilder_ == null) {
- return contextId_ == null ? context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
- } else {
- return contextIdBuilder_.getMessage();
- }
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public Builder setContextId(context.ContextOuterClass.ContextId value) {
- if (contextIdBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- contextId_ = value;
- onChanged();
- } else {
- contextIdBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public Builder setContextId(
- context.ContextOuterClass.ContextId.Builder builderForValue) {
- if (contextIdBuilder_ == null) {
- contextId_ = builderForValue.build();
- onChanged();
- } else {
- contextIdBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public Builder mergeContextId(context.ContextOuterClass.ContextId value) {
- if (contextIdBuilder_ == null) {
- if (contextId_ != null) {
- contextId_ =
- context.ContextOuterClass.ContextId.newBuilder(contextId_).mergeFrom(value).buildPartial();
- } else {
- contextId_ = value;
- }
- onChanged();
- } else {
- contextIdBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public Builder clearContextId() {
- if (contextIdBuilder_ == null) {
- contextId_ = null;
- onChanged();
- } else {
- contextId_ = null;
- contextIdBuilder_ = null;
- }
-
- return this;
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public context.ContextOuterClass.ContextId.Builder getContextIdBuilder() {
-
- onChanged();
- return getContextIdFieldBuilder().getBuilder();
- }
- /**
- * .context.ContextId context_id = 1;
- */
- public context.ContextOuterClass.ContextIdOrBuilder getContextIdOrBuilder() {
- if (contextIdBuilder_ != null) {
- return contextIdBuilder_.getMessageOrBuilder();
- } else {
- return contextId_ == null ?
- context.ContextOuterClass.ContextId.getDefaultInstance() : contextId_;
- }
- }
- /**
- * .context.ContextId context_id = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>
- getContextIdFieldBuilder() {
- if (contextIdBuilder_ == null) {
- contextIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.ContextId, context.ContextOuterClass.ContextId.Builder, context.ContextOuterClass.ContextIdOrBuilder>(
- getContextId(),
- getParentForChildren(),
- isClean());
- contextId_ = null;
- }
- return contextIdBuilder_;
- }
-
- private context.ContextOuterClass.Uuid topologyUuid_;
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder> topologyUuidBuilder_;
- /**
- * .context.Uuid topology_uuid = 2;
- * @return Whether the topologyUuid field is set.
- */
- public boolean hasTopologyUuid() {
- return topologyUuidBuilder_ != null || topologyUuid_ != null;
- }
- /**
- * .context.Uuid topology_uuid = 2;
- * @return The topologyUuid.
- */
- public context.ContextOuterClass.Uuid getTopologyUuid() {
- if (topologyUuidBuilder_ == null) {
- return topologyUuid_ == null ? context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
- } else {
- return topologyUuidBuilder_.getMessage();
- }
- }
- /**
- * .context.Uuid topology_uuid = 2;
- */
- public Builder setTopologyUuid(context.ContextOuterClass.Uuid value) {
- if (topologyUuidBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- topologyUuid_ = value;
- onChanged();
- } else {
- topologyUuidBuilder_.setMessage(value);
- }
-
- return this;
- }
- /**
- * .context.Uuid topology_uuid = 2;
- */
- public Builder setTopologyUuid(
- context.ContextOuterClass.Uuid.Builder builderForValue) {
- if (topologyUuidBuilder_ == null) {
- topologyUuid_ = builderForValue.build();
- onChanged();
- } else {
- topologyUuidBuilder_.setMessage(builderForValue.build());
- }
-
- return this;
- }
- /**
- * .context.Uuid topology_uuid = 2;
- */
- public Builder mergeTopologyUuid(context.ContextOuterClass.Uuid value) {
- if (topologyUuidBuilder_ == null) {
- if (topologyUuid_ != null) {
- topologyUuid_ =
- context.ContextOuterClass.Uuid.newBuilder(topologyUuid_).mergeFrom(value).buildPartial();
- } else {
- topologyUuid_ = value;
- }
- onChanged();
- } else {
- topologyUuidBuilder_.mergeFrom(value);
- }
-
- return this;
- }
- /**
- * .context.Uuid topology_uuid = 2;
- */
- public Builder clearTopologyUuid() {
- if (topologyUuidBuilder_ == null) {
- topologyUuid_ = null;
- onChanged();
- } else {
- topologyUuid_ = null;
- topologyUuidBuilder_ = null;
- }
-
- return this;
- }
- /**
- * .context.Uuid topology_uuid = 2;
- */
- public context.ContextOuterClass.Uuid.Builder getTopologyUuidBuilder() {
-
- onChanged();
- return getTopologyUuidFieldBuilder().getBuilder();
- }
- /**
- * .context.Uuid topology_uuid = 2;
- */
- public context.ContextOuterClass.UuidOrBuilder getTopologyUuidOrBuilder() {
- if (topologyUuidBuilder_ != null) {
- return topologyUuidBuilder_.getMessageOrBuilder();
- } else {
- return topologyUuid_ == null ?
- context.ContextOuterClass.Uuid.getDefaultInstance() : topologyUuid_;
- }
- }
- /**
- * .context.Uuid topology_uuid = 2;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>
- getTopologyUuidFieldBuilder() {
- if (topologyUuidBuilder_ == null) {
- topologyUuidBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- context.ContextOuterClass.Uuid, context.ContextOuterClass.Uuid.Builder, context.ContextOuterClass.UuidOrBuilder>(
- getTopologyUuid(),
- getParentForChildren(),
- isClean());
- topologyUuid_ = null;
- }
- return topologyUuidBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:context.TopologyId)
- }
+ /**
+ * .context.EventTypeEnum event_type = 2;
+ * @return The eventType.
+ */
+ @java.lang.Override
+ public context.ContextOuterClass.EventTypeEnum getEventType() {
+ context.ContextOuterClass.EventTypeEnum result = context.ContextOuterClass.EventTypeEnum.forNumber(eventType_);
+ return result == null ? context.ContextOuterClass.EventTypeEnum.UNRECOGNIZED : result;
+ }
- // @@protoc_insertion_point(class_scope:context.TopologyId)
- private static final context.ContextOuterClass.TopologyId DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new context.ContextOuterClass.TopologyId();
- }
+ private byte memoizedIsInitialized = -1;
- public static context.ContextOuterClass.TopologyId getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
+ memoizedIsInitialized = 1;
+ return true;
+ }
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public TopologyId parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new TopologyId(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (timestamp_ != null) {
+ output.writeMessage(1, getTimestamp());
+ }
+ if (eventType_ != context.ContextOuterClass.EventTypeEnum.EVENTTYPE_UNDEFINED.getNumber()) {
+ output.writeEnum(2, eventType_);
+ }
+ getUnknownFields().writeTo(output);
+ }
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+ size = 0;
+ if (timestamp_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimestamp());
+ }
+ if (eventType_ != context.ContextOuterClass.EventTypeEnum.EVENTTYPE_UNDEFINED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, eventType_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
- @java.lang.Override
- public context.ContextOuterClass.TopologyId getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof context.ContextOuterClass.Event)) {
+ return super.equals(obj);
+ }
+ context.ContextOuterClass.Event other = (context.ContextOuterClass.Event) obj;
+ if (hasTimestamp() != other.hasTimestamp())
+ return false;
+ if (hasTimestamp()) {
+ if (!getTimestamp().equals(other.getTimestamp()))
+ return false;
+ }
+ if (eventType_ != other.eventType_)
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
- }
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasTimestamp()) {
+ hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
+ hash = (53 * hash) + getTimestamp().hashCode();
+ }
+ hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + eventType_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
- public interface TopologyOrBuilder extends
- // @@protoc_insertion_point(interface_extends:context.Topology)
- com.google.protobuf.MessageOrBuilder {
+ public static context.ContextOuterClass.Event parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- /**
- *