public static final class
OpDeprecation.Builder
Information about version-dependent deprecation of an op
tensorflow.OpDeprecation
Public Methods
OpDeprecation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
OpDeprecation |
build()
|
OpDeprecation | |
OpDeprecation.Builder |
clear()
|
OpDeprecation.Builder |
clearExplanation()
Explanation of why it was deprecated and what to use instead. |
OpDeprecation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
OpDeprecation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
OpDeprecation.Builder |
clearVersion()
First GraphDef version at which the op is disallowed. |
OpDeprecation.Builder |
clone()
|
OpDeprecation | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
String |
getExplanation()
Explanation of why it was deprecated and what to use instead. |
com.google.protobuf.ByteString |
getExplanationBytes()
Explanation of why it was deprecated and what to use instead. |
int |
getVersion()
First GraphDef version at which the op is disallowed. |
final boolean | |
OpDeprecation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
OpDeprecation.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final OpDeprecation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
OpDeprecation.Builder |
setExplanation(String value)
Explanation of why it was deprecated and what to use instead. |
OpDeprecation.Builder |
setExplanationBytes(com.google.protobuf.ByteString value)
Explanation of why it was deprecated and what to use instead. |
OpDeprecation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
OpDeprecation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final OpDeprecation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
OpDeprecation.Builder |
setVersion(int value)
First GraphDef version at which the op is disallowed. |
Inherited Methods
Public Methods
public OpDeprecation.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public OpDeprecation.Builder clearExplanation ()
Explanation of why it was deprecated and what to use instead.
string explanation = 2;
public OpDeprecation.Builder clearVersion ()
First GraphDef version at which the op is disallowed.
int32 version = 1;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getExplanation ()
Explanation of why it was deprecated and what to use instead.
string explanation = 2;
public com.google.protobuf.ByteString getExplanationBytes ()
Explanation of why it was deprecated and what to use instead.
string explanation = 2;
public int getVersion ()
First GraphDef version at which the op is disallowed.
int32 version = 1;
public final boolean isInitialized ()
public OpDeprecation.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final OpDeprecation.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public OpDeprecation.Builder setExplanation (String value)
Explanation of why it was deprecated and what to use instead.
string explanation = 2;
public OpDeprecation.Builder setExplanationBytes (com.google.protobuf.ByteString value)
Explanation of why it was deprecated and what to use instead.
string explanation = 2;
public OpDeprecation.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public OpDeprecation.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public final OpDeprecation.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public OpDeprecation.Builder setVersion (int value)
First GraphDef version at which the op is disallowed.
int32 version = 1;