Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.tensorflow.framework.SummaryMetadata Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/summary.proto
package org.tensorflow.framework;
/**
*
* A SummaryMetadata encapsulates information on which plugins are able to make
* use of a certain summary value.
*
*
* Protobuf type {@code tensorflow.SummaryMetadata}
*/
public final class SummaryMetadata extends
org.nd4j.shade.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tensorflow.SummaryMetadata)
SummaryMetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use SummaryMetadata.newBuilder() to construct.
private SummaryMetadata(org.nd4j.shade.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SummaryMetadata() {
displayName_ = "";
summaryDescription_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SummaryMetadata();
}
@java.lang.Override
public final org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SummaryMetadata(
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 10: {
org.tensorflow.framework.SummaryMetadata.PluginData.Builder subBuilder = null;
if (pluginData_ != null) {
subBuilder = pluginData_.toBuilder();
}
pluginData_ = input.readMessage(org.tensorflow.framework.SummaryMetadata.PluginData.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pluginData_);
pluginData_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
displayName_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
summaryDescription_ = s;
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.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_descriptor;
}
@java.lang.Override
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.framework.SummaryMetadata.class, org.tensorflow.framework.SummaryMetadata.Builder.class);
}
public interface PluginDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.SummaryMetadata.PluginData)
org.nd4j.shade.protobuf.MessageOrBuilder {
/**
*
* The name of the plugin this data pertains to.
*
*
* string plugin_name = 1;
* @return The pluginName.
*/
java.lang.String getPluginName();
/**
*
* The name of the plugin this data pertains to.
*
*
* string plugin_name = 1;
* @return The bytes for pluginName.
*/
org.nd4j.shade.protobuf.ByteString
getPluginNameBytes();
/**
*
* The content to store for the plugin. The best practice is for this to be
* a binary serialized protocol buffer.
*
*
* bytes content = 2;
* @return The content.
*/
org.nd4j.shade.protobuf.ByteString getContent();
}
/**
* Protobuf type {@code tensorflow.SummaryMetadata.PluginData}
*/
public static final class PluginData extends
org.nd4j.shade.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tensorflow.SummaryMetadata.PluginData)
PluginDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use PluginData.newBuilder() to construct.
private PluginData(org.nd4j.shade.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private PluginData() {
pluginName_ = "";
content_ = org.nd4j.shade.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PluginData();
}
@java.lang.Override
public final org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PluginData(
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 10: {
java.lang.String s = input.readStringRequireUtf8();
pluginName_ = s;
break;
}
case 18: {
content_ = input.readBytes();
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.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_PluginData_descriptor;
}
@java.lang.Override
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_PluginData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.framework.SummaryMetadata.PluginData.class, org.tensorflow.framework.SummaryMetadata.PluginData.Builder.class);
}
public static final int PLUGIN_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object pluginName_;
/**
*
* The name of the plugin this data pertains to.
*
*
* string plugin_name = 1;
* @return The pluginName.
*/
@java.lang.Override
public java.lang.String getPluginName() {
java.lang.Object ref = pluginName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.nd4j.shade.protobuf.ByteString bs =
(org.nd4j.shade.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pluginName_ = s;
return s;
}
}
/**
*
* The name of the plugin this data pertains to.
*
*
* string plugin_name = 1;
* @return The bytes for pluginName.
*/
@java.lang.Override
public org.nd4j.shade.protobuf.ByteString
getPluginNameBytes() {
java.lang.Object ref = pluginName_;
if (ref instanceof java.lang.String) {
org.nd4j.shade.protobuf.ByteString b =
org.nd4j.shade.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pluginName_ = b;
return b;
} else {
return (org.nd4j.shade.protobuf.ByteString) ref;
}
}
public static final int CONTENT_FIELD_NUMBER = 2;
private org.nd4j.shade.protobuf.ByteString content_;
/**
*
* The content to store for the plugin. The best practice is for this to be
* a binary serialized protocol buffer.
*
*
* bytes content = 2;
* @return The content.
*/
@java.lang.Override
public org.nd4j.shade.protobuf.ByteString getContent() {
return content_;
}
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 (!getPluginNameBytes().isEmpty()) {
org.nd4j.shade.protobuf.GeneratedMessageV3.writeString(output, 1, pluginName_);
}
if (!content_.isEmpty()) {
output.writeBytes(2, content_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getPluginNameBytes().isEmpty()) {
size += org.nd4j.shade.protobuf.GeneratedMessageV3.computeStringSize(1, pluginName_);
}
if (!content_.isEmpty()) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeBytesSize(2, content_);
}
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.framework.SummaryMetadata.PluginData)) {
return super.equals(obj);
}
org.tensorflow.framework.SummaryMetadata.PluginData other = (org.tensorflow.framework.SummaryMetadata.PluginData) obj;
if (!getPluginName()
.equals(other.getPluginName())) return false;
if (!getContent()
.equals(other.getContent())) 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) + PLUGIN_NAME_FIELD_NUMBER;
hash = (53 * hash) + getPluginName().hashCode();
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
hash = (53 * hash) + getContent().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.tensorflow.framework.SummaryMetadata.PluginData parseFrom(
java.nio.ByteBuffer data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.SummaryMetadata.PluginData 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.framework.SummaryMetadata.PluginData parseFrom(
org.nd4j.shade.protobuf.ByteString data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.SummaryMetadata.PluginData 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.framework.SummaryMetadata.PluginData parseFrom(byte[] data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.SummaryMetadata.PluginData parseFrom(
byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.framework.SummaryMetadata.PluginData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.framework.SummaryMetadata.PluginData 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.framework.SummaryMetadata.PluginData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.tensorflow.framework.SummaryMetadata.PluginData 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.framework.SummaryMetadata.PluginData parseFrom(
org.nd4j.shade.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.framework.SummaryMetadata.PluginData 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.framework.SummaryMetadata.PluginData 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;
}
/**
* Protobuf type {@code tensorflow.SummaryMetadata.PluginData}
*/
public static final class Builder extends
org.nd4j.shade.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tensorflow.SummaryMetadata.PluginData)
org.tensorflow.framework.SummaryMetadata.PluginDataOrBuilder {
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.tensorflow.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_PluginData_descriptor;
}
@java.lang.Override
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_PluginData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.framework.SummaryMetadata.PluginData.class, org.tensorflow.framework.SummaryMetadata.PluginData.Builder.class);
}
// Construct using org.tensorflow.framework.SummaryMetadata.PluginData.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();
pluginName_ = "";
content_ = org.nd4j.shade.protobuf.ByteString.EMPTY;
return this;
}
@java.lang.Override
public org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.tensorflow.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_PluginData_descriptor;
}
@java.lang.Override
public org.tensorflow.framework.SummaryMetadata.PluginData getDefaultInstanceForType() {
return org.tensorflow.framework.SummaryMetadata.PluginData.getDefaultInstance();
}
@java.lang.Override
public org.tensorflow.framework.SummaryMetadata.PluginData build() {
org.tensorflow.framework.SummaryMetadata.PluginData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.tensorflow.framework.SummaryMetadata.PluginData buildPartial() {
org.tensorflow.framework.SummaryMetadata.PluginData result = new org.tensorflow.framework.SummaryMetadata.PluginData(this);
result.pluginName_ = pluginName_;
result.content_ = content_;
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.framework.SummaryMetadata.PluginData) {
return mergeFrom((org.tensorflow.framework.SummaryMetadata.PluginData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.tensorflow.framework.SummaryMetadata.PluginData other) {
if (other == org.tensorflow.framework.SummaryMetadata.PluginData.getDefaultInstance()) return this;
if (!other.getPluginName().isEmpty()) {
pluginName_ = other.pluginName_;
onChanged();
}
if (other.getContent() != org.nd4j.shade.protobuf.ByteString.EMPTY) {
setContent(other.getContent());
}
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.framework.SummaryMetadata.PluginData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.tensorflow.framework.SummaryMetadata.PluginData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object pluginName_ = "";
/**
*
* The name of the plugin this data pertains to.
*
*
* string plugin_name = 1;
* @return The pluginName.
*/
public java.lang.String getPluginName() {
java.lang.Object ref = pluginName_;
if (!(ref instanceof java.lang.String)) {
org.nd4j.shade.protobuf.ByteString bs =
(org.nd4j.shade.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pluginName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The name of the plugin this data pertains to.
*
*
* string plugin_name = 1;
* @return The bytes for pluginName.
*/
public org.nd4j.shade.protobuf.ByteString
getPluginNameBytes() {
java.lang.Object ref = pluginName_;
if (ref instanceof String) {
org.nd4j.shade.protobuf.ByteString b =
org.nd4j.shade.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pluginName_ = b;
return b;
} else {
return (org.nd4j.shade.protobuf.ByteString) ref;
}
}
/**
*
* The name of the plugin this data pertains to.
*
*
* string plugin_name = 1;
* @param value The pluginName to set.
* @return This builder for chaining.
*/
public Builder setPluginName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pluginName_ = value;
onChanged();
return this;
}
/**
*
* The name of the plugin this data pertains to.
*
*
* string plugin_name = 1;
* @return This builder for chaining.
*/
public Builder clearPluginName() {
pluginName_ = getDefaultInstance().getPluginName();
onChanged();
return this;
}
/**
*
* The name of the plugin this data pertains to.
*
*
* string plugin_name = 1;
* @param value The bytes for pluginName to set.
* @return This builder for chaining.
*/
public Builder setPluginNameBytes(
org.nd4j.shade.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pluginName_ = value;
onChanged();
return this;
}
private org.nd4j.shade.protobuf.ByteString content_ = org.nd4j.shade.protobuf.ByteString.EMPTY;
/**
*
* The content to store for the plugin. The best practice is for this to be
* a binary serialized protocol buffer.
*
*
* bytes content = 2;
* @return The content.
*/
@java.lang.Override
public org.nd4j.shade.protobuf.ByteString getContent() {
return content_;
}
/**
*
* The content to store for the plugin. The best practice is for this to be
* a binary serialized protocol buffer.
*
*
* bytes content = 2;
* @param value The content to set.
* @return This builder for chaining.
*/
public Builder setContent(org.nd4j.shade.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
return this;
}
/**
*
* The content to store for the plugin. The best practice is for this to be
* a binary serialized protocol buffer.
*
*
* bytes content = 2;
* @return This builder for chaining.
*/
public Builder clearContent() {
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
@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.SummaryMetadata.PluginData)
}
// @@protoc_insertion_point(class_scope:tensorflow.SummaryMetadata.PluginData)
private static final org.tensorflow.framework.SummaryMetadata.PluginData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.tensorflow.framework.SummaryMetadata.PluginData();
}
public static org.tensorflow.framework.SummaryMetadata.PluginData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.nd4j.shade.protobuf.Parser
PARSER = new org.nd4j.shade.protobuf.AbstractParser() {
@java.lang.Override
public PluginData parsePartialFrom(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return new PluginData(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.framework.SummaryMetadata.PluginData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int PLUGIN_DATA_FIELD_NUMBER = 1;
private org.tensorflow.framework.SummaryMetadata.PluginData pluginData_;
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
* @return Whether the pluginData field is set.
*/
@java.lang.Override
public boolean hasPluginData() {
return pluginData_ != null;
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
* @return The pluginData.
*/
@java.lang.Override
public org.tensorflow.framework.SummaryMetadata.PluginData getPluginData() {
return pluginData_ == null ? org.tensorflow.framework.SummaryMetadata.PluginData.getDefaultInstance() : pluginData_;
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
*/
@java.lang.Override
public org.tensorflow.framework.SummaryMetadata.PluginDataOrBuilder getPluginDataOrBuilder() {
return getPluginData();
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object displayName_;
/**
*
* Display name for viewing in TensorBoard.
*
*
* string display_name = 2;
* @return The displayName.
*/
@java.lang.Override
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.nd4j.shade.protobuf.ByteString bs =
(org.nd4j.shade.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayName_ = s;
return s;
}
}
/**
*
* Display name for viewing in TensorBoard.
*
*
* string display_name = 2;
* @return The bytes for displayName.
*/
@java.lang.Override
public org.nd4j.shade.protobuf.ByteString
getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof java.lang.String) {
org.nd4j.shade.protobuf.ByteString b =
org.nd4j.shade.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
displayName_ = b;
return b;
} else {
return (org.nd4j.shade.protobuf.ByteString) ref;
}
}
public static final int SUMMARY_DESCRIPTION_FIELD_NUMBER = 3;
private volatile java.lang.Object summaryDescription_;
/**
*
* Longform readable description of the summary sequence. Markdown supported.
*
*
* string summary_description = 3;
* @return The summaryDescription.
*/
@java.lang.Override
public java.lang.String getSummaryDescription() {
java.lang.Object ref = summaryDescription_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.nd4j.shade.protobuf.ByteString bs =
(org.nd4j.shade.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
summaryDescription_ = s;
return s;
}
}
/**
*
* Longform readable description of the summary sequence. Markdown supported.
*
*
* string summary_description = 3;
* @return The bytes for summaryDescription.
*/
@java.lang.Override
public org.nd4j.shade.protobuf.ByteString
getSummaryDescriptionBytes() {
java.lang.Object ref = summaryDescription_;
if (ref instanceof java.lang.String) {
org.nd4j.shade.protobuf.ByteString b =
org.nd4j.shade.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
summaryDescription_ = b;
return b;
} else {
return (org.nd4j.shade.protobuf.ByteString) ref;
}
}
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 (pluginData_ != null) {
output.writeMessage(1, getPluginData());
}
if (!getDisplayNameBytes().isEmpty()) {
org.nd4j.shade.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_);
}
if (!getSummaryDescriptionBytes().isEmpty()) {
org.nd4j.shade.protobuf.GeneratedMessageV3.writeString(output, 3, summaryDescription_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (pluginData_ != null) {
size += org.nd4j.shade.protobuf.CodedOutputStream
.computeMessageSize(1, getPluginData());
}
if (!getDisplayNameBytes().isEmpty()) {
size += org.nd4j.shade.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
}
if (!getSummaryDescriptionBytes().isEmpty()) {
size += org.nd4j.shade.protobuf.GeneratedMessageV3.computeStringSize(3, summaryDescription_);
}
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.framework.SummaryMetadata)) {
return super.equals(obj);
}
org.tensorflow.framework.SummaryMetadata other = (org.tensorflow.framework.SummaryMetadata) obj;
if (hasPluginData() != other.hasPluginData()) return false;
if (hasPluginData()) {
if (!getPluginData()
.equals(other.getPluginData())) return false;
}
if (!getDisplayName()
.equals(other.getDisplayName())) return false;
if (!getSummaryDescription()
.equals(other.getSummaryDescription())) 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();
if (hasPluginData()) {
hash = (37 * hash) + PLUGIN_DATA_FIELD_NUMBER;
hash = (53 * hash) + getPluginData().hashCode();
}
hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDisplayName().hashCode();
hash = (37 * hash) + SUMMARY_DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getSummaryDescription().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.tensorflow.framework.SummaryMetadata parseFrom(
java.nio.ByteBuffer data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.SummaryMetadata 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.framework.SummaryMetadata parseFrom(
org.nd4j.shade.protobuf.ByteString data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.SummaryMetadata 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.framework.SummaryMetadata parseFrom(byte[] data)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.tensorflow.framework.SummaryMetadata parseFrom(
byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.tensorflow.framework.SummaryMetadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.framework.SummaryMetadata 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.framework.SummaryMetadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.tensorflow.framework.SummaryMetadata 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.framework.SummaryMetadata parseFrom(
org.nd4j.shade.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.nd4j.shade.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.tensorflow.framework.SummaryMetadata 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.framework.SummaryMetadata 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;
}
/**
*
* A SummaryMetadata encapsulates information on which plugins are able to make
* use of a certain summary value.
*
*
* Protobuf type {@code tensorflow.SummaryMetadata}
*/
public static final class Builder extends
org.nd4j.shade.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tensorflow.SummaryMetadata)
org.tensorflow.framework.SummaryMetadataOrBuilder {
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.tensorflow.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_descriptor;
}
@java.lang.Override
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.tensorflow.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.framework.SummaryMetadata.class, org.tensorflow.framework.SummaryMetadata.Builder.class);
}
// Construct using org.tensorflow.framework.SummaryMetadata.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();
if (pluginDataBuilder_ == null) {
pluginData_ = null;
} else {
pluginData_ = null;
pluginDataBuilder_ = null;
}
displayName_ = "";
summaryDescription_ = "";
return this;
}
@java.lang.Override
public org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.tensorflow.framework.SummaryProtos.internal_static_tensorflow_SummaryMetadata_descriptor;
}
@java.lang.Override
public org.tensorflow.framework.SummaryMetadata getDefaultInstanceForType() {
return org.tensorflow.framework.SummaryMetadata.getDefaultInstance();
}
@java.lang.Override
public org.tensorflow.framework.SummaryMetadata build() {
org.tensorflow.framework.SummaryMetadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.tensorflow.framework.SummaryMetadata buildPartial() {
org.tensorflow.framework.SummaryMetadata result = new org.tensorflow.framework.SummaryMetadata(this);
if (pluginDataBuilder_ == null) {
result.pluginData_ = pluginData_;
} else {
result.pluginData_ = pluginDataBuilder_.build();
}
result.displayName_ = displayName_;
result.summaryDescription_ = summaryDescription_;
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.framework.SummaryMetadata) {
return mergeFrom((org.tensorflow.framework.SummaryMetadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.tensorflow.framework.SummaryMetadata other) {
if (other == org.tensorflow.framework.SummaryMetadata.getDefaultInstance()) return this;
if (other.hasPluginData()) {
mergePluginData(other.getPluginData());
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
onChanged();
}
if (!other.getSummaryDescription().isEmpty()) {
summaryDescription_ = other.summaryDescription_;
onChanged();
}
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.framework.SummaryMetadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.nd4j.shade.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.tensorflow.framework.SummaryMetadata) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.tensorflow.framework.SummaryMetadata.PluginData pluginData_;
private org.nd4j.shade.protobuf.SingleFieldBuilderV3<
org.tensorflow.framework.SummaryMetadata.PluginData, org.tensorflow.framework.SummaryMetadata.PluginData.Builder, org.tensorflow.framework.SummaryMetadata.PluginDataOrBuilder> pluginDataBuilder_;
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
* @return Whether the pluginData field is set.
*/
public boolean hasPluginData() {
return pluginDataBuilder_ != null || pluginData_ != null;
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
* @return The pluginData.
*/
public org.tensorflow.framework.SummaryMetadata.PluginData getPluginData() {
if (pluginDataBuilder_ == null) {
return pluginData_ == null ? org.tensorflow.framework.SummaryMetadata.PluginData.getDefaultInstance() : pluginData_;
} else {
return pluginDataBuilder_.getMessage();
}
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
*/
public Builder setPluginData(org.tensorflow.framework.SummaryMetadata.PluginData value) {
if (pluginDataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pluginData_ = value;
onChanged();
} else {
pluginDataBuilder_.setMessage(value);
}
return this;
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
*/
public Builder setPluginData(
org.tensorflow.framework.SummaryMetadata.PluginData.Builder builderForValue) {
if (pluginDataBuilder_ == null) {
pluginData_ = builderForValue.build();
onChanged();
} else {
pluginDataBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
*/
public Builder mergePluginData(org.tensorflow.framework.SummaryMetadata.PluginData value) {
if (pluginDataBuilder_ == null) {
if (pluginData_ != null) {
pluginData_ =
org.tensorflow.framework.SummaryMetadata.PluginData.newBuilder(pluginData_).mergeFrom(value).buildPartial();
} else {
pluginData_ = value;
}
onChanged();
} else {
pluginDataBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
*/
public Builder clearPluginData() {
if (pluginDataBuilder_ == null) {
pluginData_ = null;
onChanged();
} else {
pluginData_ = null;
pluginDataBuilder_ = null;
}
return this;
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
*/
public org.tensorflow.framework.SummaryMetadata.PluginData.Builder getPluginDataBuilder() {
onChanged();
return getPluginDataFieldBuilder().getBuilder();
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
*/
public org.tensorflow.framework.SummaryMetadata.PluginDataOrBuilder getPluginDataOrBuilder() {
if (pluginDataBuilder_ != null) {
return pluginDataBuilder_.getMessageOrBuilder();
} else {
return pluginData_ == null ?
org.tensorflow.framework.SummaryMetadata.PluginData.getDefaultInstance() : pluginData_;
}
}
/**
*
* Data that associates a summary with a certain plugin.
*
*
* .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
*/
private org.nd4j.shade.protobuf.SingleFieldBuilderV3<
org.tensorflow.framework.SummaryMetadata.PluginData, org.tensorflow.framework.SummaryMetadata.PluginData.Builder, org.tensorflow.framework.SummaryMetadata.PluginDataOrBuilder>
getPluginDataFieldBuilder() {
if (pluginDataBuilder_ == null) {
pluginDataBuilder_ = new org.nd4j.shade.protobuf.SingleFieldBuilderV3<
org.tensorflow.framework.SummaryMetadata.PluginData, org.tensorflow.framework.SummaryMetadata.PluginData.Builder, org.tensorflow.framework.SummaryMetadata.PluginDataOrBuilder>(
getPluginData(),
getParentForChildren(),
isClean());
pluginData_ = null;
}
return pluginDataBuilder_;
}
private java.lang.Object displayName_ = "";
/**
*
* Display name for viewing in TensorBoard.
*
*
* string display_name = 2;
* @return The displayName.
*/
public java.lang.String getDisplayName() {
java.lang.Object ref = displayName_;
if (!(ref instanceof java.lang.String)) {
org.nd4j.shade.protobuf.ByteString bs =
(org.nd4j.shade.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
displayName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Display name for viewing in TensorBoard.
*
*
* string display_name = 2;
* @return The bytes for displayName.
*/
public org.nd4j.shade.protobuf.ByteString
getDisplayNameBytes() {
java.lang.Object ref = displayName_;
if (ref instanceof String) {
org.nd4j.shade.protobuf.ByteString b =
org.nd4j.shade.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
displayName_ = b;
return b;
} else {
return (org.nd4j.shade.protobuf.ByteString) ref;
}
}
/**
*
* Display name for viewing in TensorBoard.
*
*
* string display_name = 2;
* @param value The displayName to set.
* @return This builder for chaining.
*/
public Builder setDisplayName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
displayName_ = value;
onChanged();
return this;
}
/**
*
* Display name for viewing in TensorBoard.
*
*
* string display_name = 2;
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
displayName_ = getDefaultInstance().getDisplayName();
onChanged();
return this;
}
/**
*
* Display name for viewing in TensorBoard.
*
*
* string display_name = 2;
* @param value The bytes for displayName to set.
* @return This builder for chaining.
*/
public Builder setDisplayNameBytes(
org.nd4j.shade.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
displayName_ = value;
onChanged();
return this;
}
private java.lang.Object summaryDescription_ = "";
/**
*
* Longform readable description of the summary sequence. Markdown supported.
*
*
* string summary_description = 3;
* @return The summaryDescription.
*/
public java.lang.String getSummaryDescription() {
java.lang.Object ref = summaryDescription_;
if (!(ref instanceof java.lang.String)) {
org.nd4j.shade.protobuf.ByteString bs =
(org.nd4j.shade.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
summaryDescription_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Longform readable description of the summary sequence. Markdown supported.
*
*
* string summary_description = 3;
* @return The bytes for summaryDescription.
*/
public org.nd4j.shade.protobuf.ByteString
getSummaryDescriptionBytes() {
java.lang.Object ref = summaryDescription_;
if (ref instanceof String) {
org.nd4j.shade.protobuf.ByteString b =
org.nd4j.shade.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
summaryDescription_ = b;
return b;
} else {
return (org.nd4j.shade.protobuf.ByteString) ref;
}
}
/**
*
* Longform readable description of the summary sequence. Markdown supported.
*
*
* string summary_description = 3;
* @param value The summaryDescription to set.
* @return This builder for chaining.
*/
public Builder setSummaryDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
summaryDescription_ = value;
onChanged();
return this;
}
/**
*
* Longform readable description of the summary sequence. Markdown supported.
*
*
* string summary_description = 3;
* @return This builder for chaining.
*/
public Builder clearSummaryDescription() {
summaryDescription_ = getDefaultInstance().getSummaryDescription();
onChanged();
return this;
}
/**
*
* Longform readable description of the summary sequence. Markdown supported.
*
*
* string summary_description = 3;
* @param value The bytes for summaryDescription to set.
* @return This builder for chaining.
*/
public Builder setSummaryDescriptionBytes(
org.nd4j.shade.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
summaryDescription_ = value;
onChanged();
return this;
}
@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.SummaryMetadata)
}
// @@protoc_insertion_point(class_scope:tensorflow.SummaryMetadata)
private static final org.tensorflow.framework.SummaryMetadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.tensorflow.framework.SummaryMetadata();
}
public static org.tensorflow.framework.SummaryMetadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.nd4j.shade.protobuf.Parser
PARSER = new org.nd4j.shade.protobuf.AbstractParser() {
@java.lang.Override
public SummaryMetadata parsePartialFrom(
org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.nd4j.shade.protobuf.InvalidProtocolBufferException {
return new SummaryMetadata(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.framework.SummaryMetadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}