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

org.tensorflow.util.BundleHeaderProto Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: tensorflow/core/protobuf/tensor_bundle.proto

package org.tensorflow.util;

/**
 * 
 * Special header that is associated with a bundle.
 * TODO(zongheng,zhifengc): maybe in the future, we can add information about
 * which binary produced this checkpoint, timestamp, etc. Sometime, these can be
 * valuable debugging information. And if needed, these can be used as defensive
 * information ensuring reader (binary version) of the checkpoint and the writer
 * (binary version) must match within certain range, etc.
 * 
* * Protobuf type {@code tensorflow.BundleHeaderProto} */ public final class BundleHeaderProto extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:tensorflow.BundleHeaderProto) BundleHeaderProtoOrBuilder { private static final long serialVersionUID = 0L; // Use BundleHeaderProto.newBuilder() to construct. private BundleHeaderProto(org.nd4j.shade.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BundleHeaderProto() { endianness_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BundleHeaderProto(); } @java.lang.Override public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BundleHeaderProto( org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } org.nd4j.shade.protobuf.UnknownFieldSet.Builder unknownFields = org.nd4j.shade.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { numShards_ = input.readInt32(); break; } case 16: { int rawValue = input.readEnum(); endianness_ = rawValue; break; } case 26: { org.tensorflow.framework.VersionDef.Builder subBuilder = null; if (version_ != null) { subBuilder = version_.toBuilder(); } version_ = input.readMessage(org.tensorflow.framework.VersionDef.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(version_); version_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.nd4j.shade.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor() { return org.tensorflow.util.TensorBundleProtos.internal_static_tensorflow_BundleHeaderProto_descriptor; } @java.lang.Override protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.tensorflow.util.TensorBundleProtos.internal_static_tensorflow_BundleHeaderProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.tensorflow.util.BundleHeaderProto.class, org.tensorflow.util.BundleHeaderProto.Builder.class); } /** *
   * An enum indicating the endianness of the platform that produced this
   * bundle.  A bundle can only be read by a platform with matching endianness.
   * Defaults to LITTLE, as most modern platforms are little-endian.
   * Affects the binary tensor data bytes only, not the metadata in protobufs.
   * 
* * Protobuf enum {@code tensorflow.BundleHeaderProto.Endianness} */ public enum Endianness implements org.nd4j.shade.protobuf.ProtocolMessageEnum { /** * LITTLE = 0; */ LITTLE(0), /** * BIG = 1; */ BIG(1), UNRECOGNIZED(-1), ; /** * LITTLE = 0; */ public static final int LITTLE_VALUE = 0; /** * BIG = 1; */ public static final int BIG_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Endianness valueOf(int value) { return forNumber(value); } public static Endianness forNumber(int value) { switch (value) { case 0: return LITTLE; case 1: return BIG; default: return null; } } public static org.nd4j.shade.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final org.nd4j.shade.protobuf.Internal.EnumLiteMap< Endianness> internalValueMap = new org.nd4j.shade.protobuf.Internal.EnumLiteMap() { public Endianness findValueByNumber(int number) { return Endianness.forNumber(number); } }; public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.tensorflow.util.BundleHeaderProto.getDescriptor().getEnumTypes().get(0); } private static final Endianness[] VALUES = values(); public static Endianness valueOf( org.nd4j.shade.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 Endianness(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:tensorflow.BundleHeaderProto.Endianness) } public static final int NUM_SHARDS_FIELD_NUMBER = 1; private int numShards_; /** *
   * Number of data files in the bundle.
   * 
* * int32 num_shards = 1; */ public int getNumShards() { return numShards_; } public static final int ENDIANNESS_FIELD_NUMBER = 2; private int endianness_; /** * .tensorflow.BundleHeaderProto.Endianness endianness = 2; */ public int getEndiannessValue() { return endianness_; } /** * .tensorflow.BundleHeaderProto.Endianness endianness = 2; */ public org.tensorflow.util.BundleHeaderProto.Endianness getEndianness() { @SuppressWarnings("deprecation") org.tensorflow.util.BundleHeaderProto.Endianness result = org.tensorflow.util.BundleHeaderProto.Endianness.valueOf(endianness_); return result == null ? org.tensorflow.util.BundleHeaderProto.Endianness.UNRECOGNIZED : result; } public static final int VERSION_FIELD_NUMBER = 3; private org.tensorflow.framework.VersionDef version_; /** *
   * Versioning of the tensor bundle format.
   * 
* * .tensorflow.VersionDef version = 3; */ public boolean hasVersion() { return version_ != null; } /** *
   * Versioning of the tensor bundle format.
   * 
* * .tensorflow.VersionDef version = 3; */ public org.tensorflow.framework.VersionDef getVersion() { return version_ == null ? org.tensorflow.framework.VersionDef.getDefaultInstance() : version_; } /** *
   * Versioning of the tensor bundle format.
   * 
* * .tensorflow.VersionDef version = 3; */ public org.tensorflow.framework.VersionDefOrBuilder getVersionOrBuilder() { return getVersion(); } 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(org.nd4j.shade.protobuf.CodedOutputStream output) throws java.io.IOException { if (numShards_ != 0) { output.writeInt32(1, numShards_); } if (endianness_ != org.tensorflow.util.BundleHeaderProto.Endianness.LITTLE.getNumber()) { output.writeEnum(2, endianness_); } if (version_ != null) { output.writeMessage(3, getVersion()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (numShards_ != 0) { size += org.nd4j.shade.protobuf.CodedOutputStream .computeInt32Size(1, numShards_); } if (endianness_ != org.tensorflow.util.BundleHeaderProto.Endianness.LITTLE.getNumber()) { size += org.nd4j.shade.protobuf.CodedOutputStream .computeEnumSize(2, endianness_); } if (version_ != null) { size += org.nd4j.shade.protobuf.CodedOutputStream .computeMessageSize(3, getVersion()); } size += unknownFields.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.util.BundleHeaderProto)) { return super.equals(obj); } org.tensorflow.util.BundleHeaderProto other = (org.tensorflow.util.BundleHeaderProto) obj; if (getNumShards() != other.getNumShards()) return false; if (endianness_ != other.endianness_) return false; if (hasVersion() != other.hasVersion()) return false; if (hasVersion()) { if (!getVersion() .equals(other.getVersion())) return false; } if (!unknownFields.equals(other.unknownFields)) 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) + NUM_SHARDS_FIELD_NUMBER; hash = (53 * hash) + getNumShards(); hash = (37 * hash) + ENDIANNESS_FIELD_NUMBER; hash = (53 * hash) + endianness_; if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.tensorflow.util.BundleHeaderProto parseFrom( java.nio.ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.tensorflow.util.BundleHeaderProto parseFrom( java.nio.ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.tensorflow.util.BundleHeaderProto parseFrom( org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.tensorflow.util.BundleHeaderProto parseFrom( org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.tensorflow.util.BundleHeaderProto parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.tensorflow.util.BundleHeaderProto parseFrom( byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.tensorflow.util.BundleHeaderProto parseFrom(java.io.InputStream input) throws java.io.IOException { return org.nd4j.shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.tensorflow.util.BundleHeaderProto parseFrom( java.io.InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.nd4j.shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.tensorflow.util.BundleHeaderProto parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.nd4j.shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.tensorflow.util.BundleHeaderProto parseDelimitedFrom( java.io.InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.nd4j.shade.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.tensorflow.util.BundleHeaderProto parseFrom( org.nd4j.shade.protobuf.CodedInputStream input) throws java.io.IOException { return org.nd4j.shade.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.tensorflow.util.BundleHeaderProto parseFrom( org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.nd4j.shade.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.util.BundleHeaderProto 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( org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Special header that is associated with a bundle.
   * TODO(zongheng,zhifengc): maybe in the future, we can add information about
   * which binary produced this checkpoint, timestamp, etc. Sometime, these can be
   * valuable debugging information. And if needed, these can be used as defensive
   * information ensuring reader (binary version) of the checkpoint and the writer
   * (binary version) must match within certain range, etc.
   * 
* * Protobuf type {@code tensorflow.BundleHeaderProto} */ public static final class Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:tensorflow.BundleHeaderProto) org.tensorflow.util.BundleHeaderProtoOrBuilder { public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor() { return org.tensorflow.util.TensorBundleProtos.internal_static_tensorflow_BundleHeaderProto_descriptor; } @java.lang.Override protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.tensorflow.util.TensorBundleProtos.internal_static_tensorflow_BundleHeaderProto_fieldAccessorTable .ensureFieldAccessorsInitialized( org.tensorflow.util.BundleHeaderProto.class, org.tensorflow.util.BundleHeaderProto.Builder.class); } // Construct using org.tensorflow.util.BundleHeaderProto.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.nd4j.shade.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); numShards_ = 0; endianness_ = 0; if (versionBuilder_ == null) { version_ = null; } else { version_ = null; versionBuilder_ = null; } return this; } @java.lang.Override public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.tensorflow.util.TensorBundleProtos.internal_static_tensorflow_BundleHeaderProto_descriptor; } @java.lang.Override public org.tensorflow.util.BundleHeaderProto getDefaultInstanceForType() { return org.tensorflow.util.BundleHeaderProto.getDefaultInstance(); } @java.lang.Override public org.tensorflow.util.BundleHeaderProto build() { org.tensorflow.util.BundleHeaderProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.tensorflow.util.BundleHeaderProto buildPartial() { org.tensorflow.util.BundleHeaderProto result = new org.tensorflow.util.BundleHeaderProto(this); result.numShards_ = numShards_; result.endianness_ = endianness_; if (versionBuilder_ == null) { result.version_ = version_; } else { result.version_ = versionBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.nd4j.shade.protobuf.Message other) { if (other instanceof org.tensorflow.util.BundleHeaderProto) { return mergeFrom((org.tensorflow.util.BundleHeaderProto)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.tensorflow.util.BundleHeaderProto other) { if (other == org.tensorflow.util.BundleHeaderProto.getDefaultInstance()) return this; if (other.getNumShards() != 0) { setNumShards(other.getNumShards()); } if (other.endianness_ != 0) { setEndiannessValue(other.getEndiannessValue()); } if (other.hasVersion()) { mergeVersion(other.getVersion()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.tensorflow.util.BundleHeaderProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.tensorflow.util.BundleHeaderProto) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int numShards_ ; /** *
     * Number of data files in the bundle.
     * 
* * int32 num_shards = 1; */ public int getNumShards() { return numShards_; } /** *
     * Number of data files in the bundle.
     * 
* * int32 num_shards = 1; */ public Builder setNumShards(int value) { numShards_ = value; onChanged(); return this; } /** *
     * Number of data files in the bundle.
     * 
* * int32 num_shards = 1; */ public Builder clearNumShards() { numShards_ = 0; onChanged(); return this; } private int endianness_ = 0; /** * .tensorflow.BundleHeaderProto.Endianness endianness = 2; */ public int getEndiannessValue() { return endianness_; } /** * .tensorflow.BundleHeaderProto.Endianness endianness = 2; */ public Builder setEndiannessValue(int value) { endianness_ = value; onChanged(); return this; } /** * .tensorflow.BundleHeaderProto.Endianness endianness = 2; */ public org.tensorflow.util.BundleHeaderProto.Endianness getEndianness() { @SuppressWarnings("deprecation") org.tensorflow.util.BundleHeaderProto.Endianness result = org.tensorflow.util.BundleHeaderProto.Endianness.valueOf(endianness_); return result == null ? org.tensorflow.util.BundleHeaderProto.Endianness.UNRECOGNIZED : result; } /** * .tensorflow.BundleHeaderProto.Endianness endianness = 2; */ public Builder setEndianness(org.tensorflow.util.BundleHeaderProto.Endianness value) { if (value == null) { throw new NullPointerException(); } endianness_ = value.getNumber(); onChanged(); return this; } /** * .tensorflow.BundleHeaderProto.Endianness endianness = 2; */ public Builder clearEndianness() { endianness_ = 0; onChanged(); return this; } private org.tensorflow.framework.VersionDef version_; private org.nd4j.shade.protobuf.SingleFieldBuilderV3< org.tensorflow.framework.VersionDef, org.tensorflow.framework.VersionDef.Builder, org.tensorflow.framework.VersionDefOrBuilder> versionBuilder_; /** *
     * Versioning of the tensor bundle format.
     * 
* * .tensorflow.VersionDef version = 3; */ public boolean hasVersion() { return versionBuilder_ != null || version_ != null; } /** *
     * Versioning of the tensor bundle format.
     * 
* * .tensorflow.VersionDef version = 3; */ public org.tensorflow.framework.VersionDef getVersion() { if (versionBuilder_ == null) { return version_ == null ? org.tensorflow.framework.VersionDef.getDefaultInstance() : version_; } else { return versionBuilder_.getMessage(); } } /** *
     * Versioning of the tensor bundle format.
     * 
* * .tensorflow.VersionDef version = 3; */ public Builder setVersion(org.tensorflow.framework.VersionDef value) { if (versionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); } else { versionBuilder_.setMessage(value); } return this; } /** *
     * Versioning of the tensor bundle format.
     * 
* * .tensorflow.VersionDef version = 3; */ public Builder setVersion( org.tensorflow.framework.VersionDef.Builder builderForValue) { if (versionBuilder_ == null) { version_ = builderForValue.build(); onChanged(); } else { versionBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Versioning of the tensor bundle format.
     * 
* * .tensorflow.VersionDef version = 3; */ public Builder mergeVersion(org.tensorflow.framework.VersionDef value) { if (versionBuilder_ == null) { if (version_ != null) { version_ = org.tensorflow.framework.VersionDef.newBuilder(version_).mergeFrom(value).buildPartial(); } else { version_ = value; } onChanged(); } else { versionBuilder_.mergeFrom(value); } return this; } /** *
     * Versioning of the tensor bundle format.
     * 
* * .tensorflow.VersionDef version = 3; */ public Builder clearVersion() { if (versionBuilder_ == null) { version_ = null; onChanged(); } else { version_ = null; versionBuilder_ = null; } return this; } /** *
     * Versioning of the tensor bundle format.
     * 
* * .tensorflow.VersionDef version = 3; */ public org.tensorflow.framework.VersionDef.Builder getVersionBuilder() { onChanged(); return getVersionFieldBuilder().getBuilder(); } /** *
     * Versioning of the tensor bundle format.
     * 
* * .tensorflow.VersionDef version = 3; */ public org.tensorflow.framework.VersionDefOrBuilder getVersionOrBuilder() { if (versionBuilder_ != null) { return versionBuilder_.getMessageOrBuilder(); } else { return version_ == null ? org.tensorflow.framework.VersionDef.getDefaultInstance() : version_; } } /** *
     * Versioning of the tensor bundle format.
     * 
* * .tensorflow.VersionDef version = 3; */ private org.nd4j.shade.protobuf.SingleFieldBuilderV3< org.tensorflow.framework.VersionDef, org.tensorflow.framework.VersionDef.Builder, org.tensorflow.framework.VersionDefOrBuilder> getVersionFieldBuilder() { if (versionBuilder_ == null) { versionBuilder_ = new org.nd4j.shade.protobuf.SingleFieldBuilderV3< org.tensorflow.framework.VersionDef, org.tensorflow.framework.VersionDef.Builder, org.tensorflow.framework.VersionDefOrBuilder>( getVersion(), getParentForChildren(), isClean()); version_ = null; } return versionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:tensorflow.BundleHeaderProto) } // @@protoc_insertion_point(class_scope:tensorflow.BundleHeaderProto) private static final org.tensorflow.util.BundleHeaderProto DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.tensorflow.util.BundleHeaderProto(); } public static org.tensorflow.util.BundleHeaderProto getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.nd4j.shade.protobuf.Parser PARSER = new org.nd4j.shade.protobuf.AbstractParser() { @java.lang.Override public BundleHeaderProto parsePartialFrom( org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException { return new BundleHeaderProto(input, extensionRegistry); } }; public static org.nd4j.shade.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.nd4j.shade.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.tensorflow.util.BundleHeaderProto getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy