org.tensorflow.util.BundleHeaderProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto Show documentation
Show all versions of proto Show documentation
Java API for TensorFlow protocol buffers.
// 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
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tensorflow.BundleHeaderProto)
BundleHeaderProtoOrBuilder {
private static final long serialVersionUID = 0L;
// Use BundleHeaderProto.newBuilder() to construct.
private BundleHeaderProto(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BundleHeaderProto() {
numShards_ = 0;
endianness_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BundleHeaderProto(
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;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
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;
}
}
}
} 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 org.tensorflow.util.TensorBundleProtos.internal_static_tensorflow_BundleHeaderProto_descriptor;
}
protected com.google.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 com.google.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 com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Endianness> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Endianness findValueByNumber(int number) {
return Endianness.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
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 org.tensorflow.util.BundleHeaderProto.getDescriptor().getEnumTypes().get(0);
}
private static final Endianness[] VALUES = values();
public static Endianness 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 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() {
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;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.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);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (numShards_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, numShards_);
}
if (endianness_ != org.tensorflow.util.BundleHeaderProto.Endianness.LITTLE.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, endianness_);
}
if (version_ != null) {
size += com.google.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;
boolean result = true;
result = result && (getNumShards()
== other.getNumShards());
result = result && endianness_ == other.endianness_;
result = result && (hasVersion() == other.hasVersion());
if (hasVersion()) {
result = result && getVersion()
.equals(other.getVersion());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@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 com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.util.BundleHeaderProto parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.util.BundleHeaderProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.util.BundleHeaderProto 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.util.BundleHeaderProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.util.BundleHeaderProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.util.BundleHeaderProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.util.BundleHeaderProto 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.util.BundleHeaderProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.tensorflow.util.BundleHeaderProto 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.util.BundleHeaderProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.util.BundleHeaderProto 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 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);
}
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;
}
/**
*
* 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
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tensorflow.BundleHeaderProto)
org.tensorflow.util.BundleHeaderProtoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.tensorflow.util.TensorBundleProtos.internal_static_tensorflow_BundleHeaderProto_descriptor;
}
protected com.google.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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
numShards_ = 0;
endianness_ = 0;
if (versionBuilder_ == null) {
version_ = null;
} else {
version_ = null;
versionBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.tensorflow.util.TensorBundleProtos.internal_static_tensorflow_BundleHeaderProto_descriptor;
}
public org.tensorflow.util.BundleHeaderProto getDefaultInstanceForType() {
return org.tensorflow.util.BundleHeaderProto.getDefaultInstance();
}
public org.tensorflow.util.BundleHeaderProto build() {
org.tensorflow.util.BundleHeaderProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
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;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.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;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.tensorflow.util.BundleHeaderProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.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() {
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_ = null;
private com.google.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 com.google.protobuf.SingleFieldBuilderV3<
org.tensorflow.framework.VersionDef, org.tensorflow.framework.VersionDef.Builder, org.tensorflow.framework.VersionDefOrBuilder>
getVersionFieldBuilder() {
if (versionBuilder_ == null) {
versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.tensorflow.framework.VersionDef, org.tensorflow.framework.VersionDef.Builder, org.tensorflow.framework.VersionDefOrBuilder>(
getVersion(),
getParentForChildren(),
isClean());
version_ = null;
}
return versionBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.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 com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public BundleHeaderProto parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BundleHeaderProto(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.tensorflow.util.BundleHeaderProto getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy