Class OpDeprecation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<OpDeprecation.Builder>
com.google.protobuf.GeneratedMessage.Builder<OpDeprecation.Builder>
org.tensorflow.proto.OpDeprecation.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, OpDeprecationOrBuilder
- Enclosing class:
OpDeprecation
public static final class OpDeprecation.Builder
extends GeneratedMessage.Builder<OpDeprecation.Builder>
implements OpDeprecationOrBuilder
Information about version-dependent deprecation of an opProtobuf type
tensorflow.OpDeprecation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Explanation of why it was deprecated and what to use instead.First GraphDef version at which the op is disallowed.static final Descriptors.DescriptorExplanation of why it was deprecated and what to use instead.Explanation of why it was deprecated and what to use instead.intFirst GraphDef version at which the op is disallowed.protected GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(OpDeprecation other) setExplanation(String value) Explanation of why it was deprecated and what to use instead.setExplanationBytes(ByteString value) Explanation of why it was deprecated and what to use instead.setVersion(int value) First GraphDef version at which the op is disallowed.Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<OpDeprecation.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<OpDeprecation.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<OpDeprecation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<OpDeprecation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<OpDeprecation.Builder>
-
mergeFrom
public OpDeprecation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<OpDeprecation.Builder>- Throws:
IOException
-
getVersion
public int getVersion()First GraphDef version at which the op is disallowed.
int32 version = 1;- Specified by:
getVersionin interfaceOpDeprecationOrBuilder- Returns:
- The version.
-
setVersion
First GraphDef version at which the op is disallowed.
int32 version = 1;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
First GraphDef version at which the op is disallowed.
int32 version = 1;- Returns:
- This builder for chaining.
-
getExplanation
Explanation of why it was deprecated and what to use instead.
string explanation = 2;- Specified by:
getExplanationin interfaceOpDeprecationOrBuilder- Returns:
- The explanation.
-
getExplanationBytes
Explanation of why it was deprecated and what to use instead.
string explanation = 2;- Specified by:
getExplanationBytesin interfaceOpDeprecationOrBuilder- Returns:
- The bytes for explanation.
-
setExplanation
Explanation of why it was deprecated and what to use instead.
string explanation = 2;- Parameters:
value- The explanation to set.- Returns:
- This builder for chaining.
-
clearExplanation
Explanation of why it was deprecated and what to use instead.
string explanation = 2;- Returns:
- This builder for chaining.
-
setExplanationBytes
Explanation of why it was deprecated and what to use instead.
string explanation = 2;- Parameters:
value- The bytes for explanation to set.- Returns:
- This builder for chaining.
-