All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tensorflow.metadata.v0.DiffRegion Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow_metadata/proto/v0/anomalies.proto

// Protobuf Java Version: 3.25.4
package org.tensorflow.metadata.v0;

/**
 * 
 * Describes a region in the comparison between two text artifacts. Note that
 * a region also contains the contents of the two artifacts that correspond to
 * the region.
 * 
* * Protobuf type {@code tensorflow.metadata.v0.DiffRegion} */ public final class DiffRegion extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tensorflow.metadata.v0.DiffRegion) DiffRegionOrBuilder { private static final long serialVersionUID = 0L; // Use DiffRegion.newBuilder() to construct. private DiffRegion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DiffRegion() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DiffRegion(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.tensorflow.metadata.v0.AnomaliesOuterClass.internal_static_tensorflow_metadata_v0_DiffRegion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.tensorflow.metadata.v0.AnomaliesOuterClass.internal_static_tensorflow_metadata_v0_DiffRegion_fieldAccessorTable .ensureFieldAccessorsInitialized( org.tensorflow.metadata.v0.DiffRegion.class, org.tensorflow.metadata.v0.DiffRegion.Builder.class); } private int detailsCase_ = 0; @SuppressWarnings("serial") private java.lang.Object details_; public enum DetailsCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { UNCHANGED(1), REMOVED(2), ADDED(3), CHANGED(4), HIDDEN(5), DETAILS_NOT_SET(0); private final int value; private DetailsCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DetailsCase valueOf(int value) { return forNumber(value); } public static DetailsCase forNumber(int value) { switch (value) { case 1: return UNCHANGED; case 2: return REMOVED; case 3: return ADDED; case 4: return CHANGED; case 5: return HIDDEN; case 0: return DETAILS_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DetailsCase getDetailsCase() { return DetailsCase.forNumber( detailsCase_); } public static final int UNCHANGED_FIELD_NUMBER = 1; /** *
   * An unchanged region of lines.
   * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; * @return Whether the unchanged field is set. */ @java.lang.Override public boolean hasUnchanged() { return detailsCase_ == 1; } /** *
   * An unchanged region of lines.
   * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; * @return The unchanged. */ @java.lang.Override public org.tensorflow.metadata.v0.UnchangedRegion getUnchanged() { if (detailsCase_ == 1) { return (org.tensorflow.metadata.v0.UnchangedRegion) details_; } return org.tensorflow.metadata.v0.UnchangedRegion.getDefaultInstance(); } /** *
   * An unchanged region of lines.
   * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; */ @java.lang.Override public org.tensorflow.metadata.v0.UnchangedRegionOrBuilder getUnchangedOrBuilder() { if (detailsCase_ == 1) { return (org.tensorflow.metadata.v0.UnchangedRegion) details_; } return org.tensorflow.metadata.v0.UnchangedRegion.getDefaultInstance(); } public static final int REMOVED_FIELD_NUMBER = 2; /** *
   * A region of lines removed from the left.
   * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; * @return Whether the removed field is set. */ @java.lang.Override public boolean hasRemoved() { return detailsCase_ == 2; } /** *
   * A region of lines removed from the left.
   * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; * @return The removed. */ @java.lang.Override public org.tensorflow.metadata.v0.OneSideRegion getRemoved() { if (detailsCase_ == 2) { return (org.tensorflow.metadata.v0.OneSideRegion) details_; } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } /** *
   * A region of lines removed from the left.
   * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; */ @java.lang.Override public org.tensorflow.metadata.v0.OneSideRegionOrBuilder getRemovedOrBuilder() { if (detailsCase_ == 2) { return (org.tensorflow.metadata.v0.OneSideRegion) details_; } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } public static final int ADDED_FIELD_NUMBER = 3; /** *
   * A region of lines added to the right.
   * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; * @return Whether the added field is set. */ @java.lang.Override public boolean hasAdded() { return detailsCase_ == 3; } /** *
   * A region of lines added to the right.
   * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; * @return The added. */ @java.lang.Override public org.tensorflow.metadata.v0.OneSideRegion getAdded() { if (detailsCase_ == 3) { return (org.tensorflow.metadata.v0.OneSideRegion) details_; } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } /** *
   * A region of lines added to the right.
   * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; */ @java.lang.Override public org.tensorflow.metadata.v0.OneSideRegionOrBuilder getAddedOrBuilder() { if (detailsCase_ == 3) { return (org.tensorflow.metadata.v0.OneSideRegion) details_; } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } public static final int CHANGED_FIELD_NUMBER = 4; /** *
   * A region of lines that are different in the two artifacts.
   * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; * @return Whether the changed field is set. */ @java.lang.Override public boolean hasChanged() { return detailsCase_ == 4; } /** *
   * A region of lines that are different in the two artifacts.
   * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; * @return The changed. */ @java.lang.Override public org.tensorflow.metadata.v0.ChangedRegion getChanged() { if (detailsCase_ == 4) { return (org.tensorflow.metadata.v0.ChangedRegion) details_; } return org.tensorflow.metadata.v0.ChangedRegion.getDefaultInstance(); } /** *
   * A region of lines that are different in the two artifacts.
   * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; */ @java.lang.Override public org.tensorflow.metadata.v0.ChangedRegionOrBuilder getChangedOrBuilder() { if (detailsCase_ == 4) { return (org.tensorflow.metadata.v0.ChangedRegion) details_; } return org.tensorflow.metadata.v0.ChangedRegion.getDefaultInstance(); } public static final int HIDDEN_FIELD_NUMBER = 5; /** *
   * An unchanged region of lines whose contents are just hidden.
   * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; * @return Whether the hidden field is set. */ @java.lang.Override public boolean hasHidden() { return detailsCase_ == 5; } /** *
   * An unchanged region of lines whose contents are just hidden.
   * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; * @return The hidden. */ @java.lang.Override public org.tensorflow.metadata.v0.HiddenRegion getHidden() { if (detailsCase_ == 5) { return (org.tensorflow.metadata.v0.HiddenRegion) details_; } return org.tensorflow.metadata.v0.HiddenRegion.getDefaultInstance(); } /** *
   * An unchanged region of lines whose contents are just hidden.
   * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; */ @java.lang.Override public org.tensorflow.metadata.v0.HiddenRegionOrBuilder getHiddenOrBuilder() { if (detailsCase_ == 5) { return (org.tensorflow.metadata.v0.HiddenRegion) details_; } return org.tensorflow.metadata.v0.HiddenRegion.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (detailsCase_ == 1) { output.writeMessage(1, (org.tensorflow.metadata.v0.UnchangedRegion) details_); } if (detailsCase_ == 2) { output.writeMessage(2, (org.tensorflow.metadata.v0.OneSideRegion) details_); } if (detailsCase_ == 3) { output.writeMessage(3, (org.tensorflow.metadata.v0.OneSideRegion) details_); } if (detailsCase_ == 4) { output.writeMessage(4, (org.tensorflow.metadata.v0.ChangedRegion) details_); } if (detailsCase_ == 5) { output.writeMessage(5, (org.tensorflow.metadata.v0.HiddenRegion) details_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (detailsCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (org.tensorflow.metadata.v0.UnchangedRegion) details_); } if (detailsCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (org.tensorflow.metadata.v0.OneSideRegion) details_); } if (detailsCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (org.tensorflow.metadata.v0.OneSideRegion) details_); } if (detailsCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (org.tensorflow.metadata.v0.ChangedRegion) details_); } if (detailsCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (org.tensorflow.metadata.v0.HiddenRegion) details_); } 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 org.tensorflow.metadata.v0.DiffRegion)) { return super.equals(obj); } org.tensorflow.metadata.v0.DiffRegion other = (org.tensorflow.metadata.v0.DiffRegion) obj; if (!getDetailsCase().equals(other.getDetailsCase())) return false; switch (detailsCase_) { case 1: if (!getUnchanged() .equals(other.getUnchanged())) return false; break; case 2: if (!getRemoved() .equals(other.getRemoved())) return false; break; case 3: if (!getAdded() .equals(other.getAdded())) return false; break; case 4: if (!getChanged() .equals(other.getChanged())) return false; break; case 5: if (!getHidden() .equals(other.getHidden())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (detailsCase_) { case 1: hash = (37 * hash) + UNCHANGED_FIELD_NUMBER; hash = (53 * hash) + getUnchanged().hashCode(); break; case 2: hash = (37 * hash) + REMOVED_FIELD_NUMBER; hash = (53 * hash) + getRemoved().hashCode(); break; case 3: hash = (37 * hash) + ADDED_FIELD_NUMBER; hash = (53 * hash) + getAdded().hashCode(); break; case 4: hash = (37 * hash) + CHANGED_FIELD_NUMBER; hash = (53 * hash) + getChanged().hashCode(); break; case 5: hash = (37 * hash) + HIDDEN_FIELD_NUMBER; hash = (53 * hash) + getHidden().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static org.tensorflow.metadata.v0.DiffRegion parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.tensorflow.metadata.v0.DiffRegion parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.tensorflow.metadata.v0.DiffRegion parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.tensorflow.metadata.v0.DiffRegion parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.tensorflow.metadata.v0.DiffRegion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.tensorflow.metadata.v0.DiffRegion parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.tensorflow.metadata.v0.DiffRegion parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.tensorflow.metadata.v0.DiffRegion 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 org.tensorflow.metadata.v0.DiffRegion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.tensorflow.metadata.v0.DiffRegion 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 org.tensorflow.metadata.v0.DiffRegion parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.tensorflow.metadata.v0.DiffRegion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.tensorflow.metadata.v0.DiffRegion prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Describes a region in the comparison between two text artifacts. Note that
   * a region also contains the contents of the two artifacts that correspond to
   * the region.
   * 
* * Protobuf type {@code tensorflow.metadata.v0.DiffRegion} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tensorflow.metadata.v0.DiffRegion) org.tensorflow.metadata.v0.DiffRegionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.tensorflow.metadata.v0.AnomaliesOuterClass.internal_static_tensorflow_metadata_v0_DiffRegion_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.tensorflow.metadata.v0.AnomaliesOuterClass.internal_static_tensorflow_metadata_v0_DiffRegion_fieldAccessorTable .ensureFieldAccessorsInitialized( org.tensorflow.metadata.v0.DiffRegion.class, org.tensorflow.metadata.v0.DiffRegion.Builder.class); } // Construct using org.tensorflow.metadata.v0.DiffRegion.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (unchangedBuilder_ != null) { unchangedBuilder_.clear(); } if (removedBuilder_ != null) { removedBuilder_.clear(); } if (addedBuilder_ != null) { addedBuilder_.clear(); } if (changedBuilder_ != null) { changedBuilder_.clear(); } if (hiddenBuilder_ != null) { hiddenBuilder_.clear(); } detailsCase_ = 0; details_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.tensorflow.metadata.v0.AnomaliesOuterClass.internal_static_tensorflow_metadata_v0_DiffRegion_descriptor; } @java.lang.Override public org.tensorflow.metadata.v0.DiffRegion getDefaultInstanceForType() { return org.tensorflow.metadata.v0.DiffRegion.getDefaultInstance(); } @java.lang.Override public org.tensorflow.metadata.v0.DiffRegion build() { org.tensorflow.metadata.v0.DiffRegion result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.tensorflow.metadata.v0.DiffRegion buildPartial() { org.tensorflow.metadata.v0.DiffRegion result = new org.tensorflow.metadata.v0.DiffRegion(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(org.tensorflow.metadata.v0.DiffRegion result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(org.tensorflow.metadata.v0.DiffRegion result) { result.detailsCase_ = detailsCase_; result.details_ = this.details_; if (detailsCase_ == 1 && unchangedBuilder_ != null) { result.details_ = unchangedBuilder_.build(); } if (detailsCase_ == 2 && removedBuilder_ != null) { result.details_ = removedBuilder_.build(); } if (detailsCase_ == 3 && addedBuilder_ != null) { result.details_ = addedBuilder_.build(); } if (detailsCase_ == 4 && changedBuilder_ != null) { result.details_ = changedBuilder_.build(); } if (detailsCase_ == 5 && hiddenBuilder_ != null) { result.details_ = hiddenBuilder_.build(); } } @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 org.tensorflow.metadata.v0.DiffRegion) { return mergeFrom((org.tensorflow.metadata.v0.DiffRegion)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.tensorflow.metadata.v0.DiffRegion other) { if (other == org.tensorflow.metadata.v0.DiffRegion.getDefaultInstance()) return this; switch (other.getDetailsCase()) { case UNCHANGED: { mergeUnchanged(other.getUnchanged()); break; } case REMOVED: { mergeRemoved(other.getRemoved()); break; } case ADDED: { mergeAdded(other.getAdded()); break; } case CHANGED: { mergeChanged(other.getChanged()); break; } case HIDDEN: { mergeHidden(other.getHidden()); break; } case DETAILS_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getUnchangedFieldBuilder().getBuilder(), extensionRegistry); detailsCase_ = 1; break; } // case 10 case 18: { input.readMessage( getRemovedFieldBuilder().getBuilder(), extensionRegistry); detailsCase_ = 2; break; } // case 18 case 26: { input.readMessage( getAddedFieldBuilder().getBuilder(), extensionRegistry); detailsCase_ = 3; break; } // case 26 case 34: { input.readMessage( getChangedFieldBuilder().getBuilder(), extensionRegistry); detailsCase_ = 4; break; } // case 34 case 42: { input.readMessage( getHiddenFieldBuilder().getBuilder(), extensionRegistry); detailsCase_ = 5; break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int detailsCase_ = 0; private java.lang.Object details_; public DetailsCase getDetailsCase() { return DetailsCase.forNumber( detailsCase_); } public Builder clearDetails() { detailsCase_ = 0; details_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.UnchangedRegion, org.tensorflow.metadata.v0.UnchangedRegion.Builder, org.tensorflow.metadata.v0.UnchangedRegionOrBuilder> unchangedBuilder_; /** *
     * An unchanged region of lines.
     * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; * @return Whether the unchanged field is set. */ @java.lang.Override public boolean hasUnchanged() { return detailsCase_ == 1; } /** *
     * An unchanged region of lines.
     * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; * @return The unchanged. */ @java.lang.Override public org.tensorflow.metadata.v0.UnchangedRegion getUnchanged() { if (unchangedBuilder_ == null) { if (detailsCase_ == 1) { return (org.tensorflow.metadata.v0.UnchangedRegion) details_; } return org.tensorflow.metadata.v0.UnchangedRegion.getDefaultInstance(); } else { if (detailsCase_ == 1) { return unchangedBuilder_.getMessage(); } return org.tensorflow.metadata.v0.UnchangedRegion.getDefaultInstance(); } } /** *
     * An unchanged region of lines.
     * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; */ public Builder setUnchanged(org.tensorflow.metadata.v0.UnchangedRegion value) { if (unchangedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } details_ = value; onChanged(); } else { unchangedBuilder_.setMessage(value); } detailsCase_ = 1; return this; } /** *
     * An unchanged region of lines.
     * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; */ public Builder setUnchanged( org.tensorflow.metadata.v0.UnchangedRegion.Builder builderForValue) { if (unchangedBuilder_ == null) { details_ = builderForValue.build(); onChanged(); } else { unchangedBuilder_.setMessage(builderForValue.build()); } detailsCase_ = 1; return this; } /** *
     * An unchanged region of lines.
     * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; */ public Builder mergeUnchanged(org.tensorflow.metadata.v0.UnchangedRegion value) { if (unchangedBuilder_ == null) { if (detailsCase_ == 1 && details_ != org.tensorflow.metadata.v0.UnchangedRegion.getDefaultInstance()) { details_ = org.tensorflow.metadata.v0.UnchangedRegion.newBuilder((org.tensorflow.metadata.v0.UnchangedRegion) details_) .mergeFrom(value).buildPartial(); } else { details_ = value; } onChanged(); } else { if (detailsCase_ == 1) { unchangedBuilder_.mergeFrom(value); } else { unchangedBuilder_.setMessage(value); } } detailsCase_ = 1; return this; } /** *
     * An unchanged region of lines.
     * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; */ public Builder clearUnchanged() { if (unchangedBuilder_ == null) { if (detailsCase_ == 1) { detailsCase_ = 0; details_ = null; onChanged(); } } else { if (detailsCase_ == 1) { detailsCase_ = 0; details_ = null; } unchangedBuilder_.clear(); } return this; } /** *
     * An unchanged region of lines.
     * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; */ public org.tensorflow.metadata.v0.UnchangedRegion.Builder getUnchangedBuilder() { return getUnchangedFieldBuilder().getBuilder(); } /** *
     * An unchanged region of lines.
     * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; */ @java.lang.Override public org.tensorflow.metadata.v0.UnchangedRegionOrBuilder getUnchangedOrBuilder() { if ((detailsCase_ == 1) && (unchangedBuilder_ != null)) { return unchangedBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 1) { return (org.tensorflow.metadata.v0.UnchangedRegion) details_; } return org.tensorflow.metadata.v0.UnchangedRegion.getDefaultInstance(); } } /** *
     * An unchanged region of lines.
     * 
* * .tensorflow.metadata.v0.UnchangedRegion unchanged = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.UnchangedRegion, org.tensorflow.metadata.v0.UnchangedRegion.Builder, org.tensorflow.metadata.v0.UnchangedRegionOrBuilder> getUnchangedFieldBuilder() { if (unchangedBuilder_ == null) { if (!(detailsCase_ == 1)) { details_ = org.tensorflow.metadata.v0.UnchangedRegion.getDefaultInstance(); } unchangedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.UnchangedRegion, org.tensorflow.metadata.v0.UnchangedRegion.Builder, org.tensorflow.metadata.v0.UnchangedRegionOrBuilder>( (org.tensorflow.metadata.v0.UnchangedRegion) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 1; onChanged(); return unchangedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.OneSideRegion, org.tensorflow.metadata.v0.OneSideRegion.Builder, org.tensorflow.metadata.v0.OneSideRegionOrBuilder> removedBuilder_; /** *
     * A region of lines removed from the left.
     * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; * @return Whether the removed field is set. */ @java.lang.Override public boolean hasRemoved() { return detailsCase_ == 2; } /** *
     * A region of lines removed from the left.
     * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; * @return The removed. */ @java.lang.Override public org.tensorflow.metadata.v0.OneSideRegion getRemoved() { if (removedBuilder_ == null) { if (detailsCase_ == 2) { return (org.tensorflow.metadata.v0.OneSideRegion) details_; } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } else { if (detailsCase_ == 2) { return removedBuilder_.getMessage(); } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } } /** *
     * A region of lines removed from the left.
     * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; */ public Builder setRemoved(org.tensorflow.metadata.v0.OneSideRegion value) { if (removedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } details_ = value; onChanged(); } else { removedBuilder_.setMessage(value); } detailsCase_ = 2; return this; } /** *
     * A region of lines removed from the left.
     * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; */ public Builder setRemoved( org.tensorflow.metadata.v0.OneSideRegion.Builder builderForValue) { if (removedBuilder_ == null) { details_ = builderForValue.build(); onChanged(); } else { removedBuilder_.setMessage(builderForValue.build()); } detailsCase_ = 2; return this; } /** *
     * A region of lines removed from the left.
     * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; */ public Builder mergeRemoved(org.tensorflow.metadata.v0.OneSideRegion value) { if (removedBuilder_ == null) { if (detailsCase_ == 2 && details_ != org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance()) { details_ = org.tensorflow.metadata.v0.OneSideRegion.newBuilder((org.tensorflow.metadata.v0.OneSideRegion) details_) .mergeFrom(value).buildPartial(); } else { details_ = value; } onChanged(); } else { if (detailsCase_ == 2) { removedBuilder_.mergeFrom(value); } else { removedBuilder_.setMessage(value); } } detailsCase_ = 2; return this; } /** *
     * A region of lines removed from the left.
     * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; */ public Builder clearRemoved() { if (removedBuilder_ == null) { if (detailsCase_ == 2) { detailsCase_ = 0; details_ = null; onChanged(); } } else { if (detailsCase_ == 2) { detailsCase_ = 0; details_ = null; } removedBuilder_.clear(); } return this; } /** *
     * A region of lines removed from the left.
     * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; */ public org.tensorflow.metadata.v0.OneSideRegion.Builder getRemovedBuilder() { return getRemovedFieldBuilder().getBuilder(); } /** *
     * A region of lines removed from the left.
     * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; */ @java.lang.Override public org.tensorflow.metadata.v0.OneSideRegionOrBuilder getRemovedOrBuilder() { if ((detailsCase_ == 2) && (removedBuilder_ != null)) { return removedBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 2) { return (org.tensorflow.metadata.v0.OneSideRegion) details_; } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } } /** *
     * A region of lines removed from the left.
     * 
* * .tensorflow.metadata.v0.OneSideRegion removed = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.OneSideRegion, org.tensorflow.metadata.v0.OneSideRegion.Builder, org.tensorflow.metadata.v0.OneSideRegionOrBuilder> getRemovedFieldBuilder() { if (removedBuilder_ == null) { if (!(detailsCase_ == 2)) { details_ = org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } removedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.OneSideRegion, org.tensorflow.metadata.v0.OneSideRegion.Builder, org.tensorflow.metadata.v0.OneSideRegionOrBuilder>( (org.tensorflow.metadata.v0.OneSideRegion) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 2; onChanged(); return removedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.OneSideRegion, org.tensorflow.metadata.v0.OneSideRegion.Builder, org.tensorflow.metadata.v0.OneSideRegionOrBuilder> addedBuilder_; /** *
     * A region of lines added to the right.
     * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; * @return Whether the added field is set. */ @java.lang.Override public boolean hasAdded() { return detailsCase_ == 3; } /** *
     * A region of lines added to the right.
     * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; * @return The added. */ @java.lang.Override public org.tensorflow.metadata.v0.OneSideRegion getAdded() { if (addedBuilder_ == null) { if (detailsCase_ == 3) { return (org.tensorflow.metadata.v0.OneSideRegion) details_; } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } else { if (detailsCase_ == 3) { return addedBuilder_.getMessage(); } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } } /** *
     * A region of lines added to the right.
     * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; */ public Builder setAdded(org.tensorflow.metadata.v0.OneSideRegion value) { if (addedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } details_ = value; onChanged(); } else { addedBuilder_.setMessage(value); } detailsCase_ = 3; return this; } /** *
     * A region of lines added to the right.
     * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; */ public Builder setAdded( org.tensorflow.metadata.v0.OneSideRegion.Builder builderForValue) { if (addedBuilder_ == null) { details_ = builderForValue.build(); onChanged(); } else { addedBuilder_.setMessage(builderForValue.build()); } detailsCase_ = 3; return this; } /** *
     * A region of lines added to the right.
     * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; */ public Builder mergeAdded(org.tensorflow.metadata.v0.OneSideRegion value) { if (addedBuilder_ == null) { if (detailsCase_ == 3 && details_ != org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance()) { details_ = org.tensorflow.metadata.v0.OneSideRegion.newBuilder((org.tensorflow.metadata.v0.OneSideRegion) details_) .mergeFrom(value).buildPartial(); } else { details_ = value; } onChanged(); } else { if (detailsCase_ == 3) { addedBuilder_.mergeFrom(value); } else { addedBuilder_.setMessage(value); } } detailsCase_ = 3; return this; } /** *
     * A region of lines added to the right.
     * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; */ public Builder clearAdded() { if (addedBuilder_ == null) { if (detailsCase_ == 3) { detailsCase_ = 0; details_ = null; onChanged(); } } else { if (detailsCase_ == 3) { detailsCase_ = 0; details_ = null; } addedBuilder_.clear(); } return this; } /** *
     * A region of lines added to the right.
     * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; */ public org.tensorflow.metadata.v0.OneSideRegion.Builder getAddedBuilder() { return getAddedFieldBuilder().getBuilder(); } /** *
     * A region of lines added to the right.
     * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; */ @java.lang.Override public org.tensorflow.metadata.v0.OneSideRegionOrBuilder getAddedOrBuilder() { if ((detailsCase_ == 3) && (addedBuilder_ != null)) { return addedBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 3) { return (org.tensorflow.metadata.v0.OneSideRegion) details_; } return org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } } /** *
     * A region of lines added to the right.
     * 
* * .tensorflow.metadata.v0.OneSideRegion added = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.OneSideRegion, org.tensorflow.metadata.v0.OneSideRegion.Builder, org.tensorflow.metadata.v0.OneSideRegionOrBuilder> getAddedFieldBuilder() { if (addedBuilder_ == null) { if (!(detailsCase_ == 3)) { details_ = org.tensorflow.metadata.v0.OneSideRegion.getDefaultInstance(); } addedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.OneSideRegion, org.tensorflow.metadata.v0.OneSideRegion.Builder, org.tensorflow.metadata.v0.OneSideRegionOrBuilder>( (org.tensorflow.metadata.v0.OneSideRegion) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 3; onChanged(); return addedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.ChangedRegion, org.tensorflow.metadata.v0.ChangedRegion.Builder, org.tensorflow.metadata.v0.ChangedRegionOrBuilder> changedBuilder_; /** *
     * A region of lines that are different in the two artifacts.
     * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; * @return Whether the changed field is set. */ @java.lang.Override public boolean hasChanged() { return detailsCase_ == 4; } /** *
     * A region of lines that are different in the two artifacts.
     * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; * @return The changed. */ @java.lang.Override public org.tensorflow.metadata.v0.ChangedRegion getChanged() { if (changedBuilder_ == null) { if (detailsCase_ == 4) { return (org.tensorflow.metadata.v0.ChangedRegion) details_; } return org.tensorflow.metadata.v0.ChangedRegion.getDefaultInstance(); } else { if (detailsCase_ == 4) { return changedBuilder_.getMessage(); } return org.tensorflow.metadata.v0.ChangedRegion.getDefaultInstance(); } } /** *
     * A region of lines that are different in the two artifacts.
     * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; */ public Builder setChanged(org.tensorflow.metadata.v0.ChangedRegion value) { if (changedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } details_ = value; onChanged(); } else { changedBuilder_.setMessage(value); } detailsCase_ = 4; return this; } /** *
     * A region of lines that are different in the two artifacts.
     * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; */ public Builder setChanged( org.tensorflow.metadata.v0.ChangedRegion.Builder builderForValue) { if (changedBuilder_ == null) { details_ = builderForValue.build(); onChanged(); } else { changedBuilder_.setMessage(builderForValue.build()); } detailsCase_ = 4; return this; } /** *
     * A region of lines that are different in the two artifacts.
     * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; */ public Builder mergeChanged(org.tensorflow.metadata.v0.ChangedRegion value) { if (changedBuilder_ == null) { if (detailsCase_ == 4 && details_ != org.tensorflow.metadata.v0.ChangedRegion.getDefaultInstance()) { details_ = org.tensorflow.metadata.v0.ChangedRegion.newBuilder((org.tensorflow.metadata.v0.ChangedRegion) details_) .mergeFrom(value).buildPartial(); } else { details_ = value; } onChanged(); } else { if (detailsCase_ == 4) { changedBuilder_.mergeFrom(value); } else { changedBuilder_.setMessage(value); } } detailsCase_ = 4; return this; } /** *
     * A region of lines that are different in the two artifacts.
     * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; */ public Builder clearChanged() { if (changedBuilder_ == null) { if (detailsCase_ == 4) { detailsCase_ = 0; details_ = null; onChanged(); } } else { if (detailsCase_ == 4) { detailsCase_ = 0; details_ = null; } changedBuilder_.clear(); } return this; } /** *
     * A region of lines that are different in the two artifacts.
     * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; */ public org.tensorflow.metadata.v0.ChangedRegion.Builder getChangedBuilder() { return getChangedFieldBuilder().getBuilder(); } /** *
     * A region of lines that are different in the two artifacts.
     * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; */ @java.lang.Override public org.tensorflow.metadata.v0.ChangedRegionOrBuilder getChangedOrBuilder() { if ((detailsCase_ == 4) && (changedBuilder_ != null)) { return changedBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 4) { return (org.tensorflow.metadata.v0.ChangedRegion) details_; } return org.tensorflow.metadata.v0.ChangedRegion.getDefaultInstance(); } } /** *
     * A region of lines that are different in the two artifacts.
     * 
* * .tensorflow.metadata.v0.ChangedRegion changed = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.ChangedRegion, org.tensorflow.metadata.v0.ChangedRegion.Builder, org.tensorflow.metadata.v0.ChangedRegionOrBuilder> getChangedFieldBuilder() { if (changedBuilder_ == null) { if (!(detailsCase_ == 4)) { details_ = org.tensorflow.metadata.v0.ChangedRegion.getDefaultInstance(); } changedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.ChangedRegion, org.tensorflow.metadata.v0.ChangedRegion.Builder, org.tensorflow.metadata.v0.ChangedRegionOrBuilder>( (org.tensorflow.metadata.v0.ChangedRegion) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 4; onChanged(); return changedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.HiddenRegion, org.tensorflow.metadata.v0.HiddenRegion.Builder, org.tensorflow.metadata.v0.HiddenRegionOrBuilder> hiddenBuilder_; /** *
     * An unchanged region of lines whose contents are just hidden.
     * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; * @return Whether the hidden field is set. */ @java.lang.Override public boolean hasHidden() { return detailsCase_ == 5; } /** *
     * An unchanged region of lines whose contents are just hidden.
     * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; * @return The hidden. */ @java.lang.Override public org.tensorflow.metadata.v0.HiddenRegion getHidden() { if (hiddenBuilder_ == null) { if (detailsCase_ == 5) { return (org.tensorflow.metadata.v0.HiddenRegion) details_; } return org.tensorflow.metadata.v0.HiddenRegion.getDefaultInstance(); } else { if (detailsCase_ == 5) { return hiddenBuilder_.getMessage(); } return org.tensorflow.metadata.v0.HiddenRegion.getDefaultInstance(); } } /** *
     * An unchanged region of lines whose contents are just hidden.
     * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; */ public Builder setHidden(org.tensorflow.metadata.v0.HiddenRegion value) { if (hiddenBuilder_ == null) { if (value == null) { throw new NullPointerException(); } details_ = value; onChanged(); } else { hiddenBuilder_.setMessage(value); } detailsCase_ = 5; return this; } /** *
     * An unchanged region of lines whose contents are just hidden.
     * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; */ public Builder setHidden( org.tensorflow.metadata.v0.HiddenRegion.Builder builderForValue) { if (hiddenBuilder_ == null) { details_ = builderForValue.build(); onChanged(); } else { hiddenBuilder_.setMessage(builderForValue.build()); } detailsCase_ = 5; return this; } /** *
     * An unchanged region of lines whose contents are just hidden.
     * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; */ public Builder mergeHidden(org.tensorflow.metadata.v0.HiddenRegion value) { if (hiddenBuilder_ == null) { if (detailsCase_ == 5 && details_ != org.tensorflow.metadata.v0.HiddenRegion.getDefaultInstance()) { details_ = org.tensorflow.metadata.v0.HiddenRegion.newBuilder((org.tensorflow.metadata.v0.HiddenRegion) details_) .mergeFrom(value).buildPartial(); } else { details_ = value; } onChanged(); } else { if (detailsCase_ == 5) { hiddenBuilder_.mergeFrom(value); } else { hiddenBuilder_.setMessage(value); } } detailsCase_ = 5; return this; } /** *
     * An unchanged region of lines whose contents are just hidden.
     * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; */ public Builder clearHidden() { if (hiddenBuilder_ == null) { if (detailsCase_ == 5) { detailsCase_ = 0; details_ = null; onChanged(); } } else { if (detailsCase_ == 5) { detailsCase_ = 0; details_ = null; } hiddenBuilder_.clear(); } return this; } /** *
     * An unchanged region of lines whose contents are just hidden.
     * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; */ public org.tensorflow.metadata.v0.HiddenRegion.Builder getHiddenBuilder() { return getHiddenFieldBuilder().getBuilder(); } /** *
     * An unchanged region of lines whose contents are just hidden.
     * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; */ @java.lang.Override public org.tensorflow.metadata.v0.HiddenRegionOrBuilder getHiddenOrBuilder() { if ((detailsCase_ == 5) && (hiddenBuilder_ != null)) { return hiddenBuilder_.getMessageOrBuilder(); } else { if (detailsCase_ == 5) { return (org.tensorflow.metadata.v0.HiddenRegion) details_; } return org.tensorflow.metadata.v0.HiddenRegion.getDefaultInstance(); } } /** *
     * An unchanged region of lines whose contents are just hidden.
     * 
* * .tensorflow.metadata.v0.HiddenRegion hidden = 5; */ private com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.HiddenRegion, org.tensorflow.metadata.v0.HiddenRegion.Builder, org.tensorflow.metadata.v0.HiddenRegionOrBuilder> getHiddenFieldBuilder() { if (hiddenBuilder_ == null) { if (!(detailsCase_ == 5)) { details_ = org.tensorflow.metadata.v0.HiddenRegion.getDefaultInstance(); } hiddenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.tensorflow.metadata.v0.HiddenRegion, org.tensorflow.metadata.v0.HiddenRegion.Builder, org.tensorflow.metadata.v0.HiddenRegionOrBuilder>( (org.tensorflow.metadata.v0.HiddenRegion) details_, getParentForChildren(), isClean()); details_ = null; } detailsCase_ = 5; onChanged(); return hiddenBuilder_; } @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:tensorflow.metadata.v0.DiffRegion) } // @@protoc_insertion_point(class_scope:tensorflow.metadata.v0.DiffRegion) private static final org.tensorflow.metadata.v0.DiffRegion DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.tensorflow.metadata.v0.DiffRegion(); } public static org.tensorflow.metadata.v0.DiffRegion getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DiffRegion parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.tensorflow.metadata.v0.DiffRegion getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy