public static final class CondContextDef.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder> implements CondContextDefOrBuilder
Protocol buffer representing a CondContext object.Protobuf type
tensorflow.CondContextDef
Modifier and Type | Method and Description |
---|---|
CondContextDef.Builder |
addAllNestedContexts(Iterable<? extends ControlFlowContextDef> values)
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
addNestedContexts(ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
addNestedContexts(ControlFlowContextDef value)
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
addNestedContexts(int index,
ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
addNestedContexts(int index,
ControlFlowContextDef value)
Contexts contained inside this context (e.g.
|
ControlFlowContextDef.Builder |
addNestedContextsBuilder()
Contexts contained inside this context (e.g.
|
ControlFlowContextDef.Builder |
addNestedContextsBuilder(int index)
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CondContextDef |
build() |
CondContextDef |
buildPartial() |
CondContextDef.Builder |
clear() |
CondContextDef.Builder |
clearBranch()
Branch prediction.
|
CondContextDef.Builder |
clearContextName()
Name of the context.
|
CondContextDef.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CondContextDef.Builder |
clearNestedContexts()
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CondContextDef.Builder |
clearPivotName()
Name of the pivot tensor.
|
CondContextDef.Builder |
clearPredName()
Name of the pred tensor.
|
CondContextDef.Builder |
clearValuesDef()
Values and external values in control flow context.
|
CondContextDef.Builder |
clone() |
int |
getBranch()
Branch prediction.
|
String |
getContextName()
Name of the context.
|
com.google.protobuf.ByteString |
getContextNameBytes()
Name of the context.
|
CondContextDef |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ControlFlowContextDef |
getNestedContexts(int index)
Contexts contained inside this context (e.g.
|
ControlFlowContextDef.Builder |
getNestedContextsBuilder(int index)
Contexts contained inside this context (e.g.
|
List<ControlFlowContextDef.Builder> |
getNestedContextsBuilderList()
Contexts contained inside this context (e.g.
|
int |
getNestedContextsCount()
Contexts contained inside this context (e.g.
|
List<ControlFlowContextDef> |
getNestedContextsList()
Contexts contained inside this context (e.g.
|
ControlFlowContextDefOrBuilder |
getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g.
|
List<? extends ControlFlowContextDefOrBuilder> |
getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g.
|
String |
getPivotName()
Name of the pivot tensor.
|
com.google.protobuf.ByteString |
getPivotNameBytes()
Name of the pivot tensor.
|
String |
getPredName()
Name of the pred tensor.
|
com.google.protobuf.ByteString |
getPredNameBytes()
Name of the pred tensor.
|
ValuesDef |
getValuesDef()
Values and external values in control flow context.
|
ValuesDef.Builder |
getValuesDefBuilder()
Values and external values in control flow context.
|
ValuesDefOrBuilder |
getValuesDefOrBuilder()
Values and external values in control flow context.
|
boolean |
hasValuesDef()
Values and external values in control flow context.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CondContextDef.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CondContextDef.Builder |
mergeFrom(CondContextDef other) |
CondContextDef.Builder |
mergeFrom(com.google.protobuf.Message other) |
CondContextDef.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CondContextDef.Builder |
mergeValuesDef(ValuesDef value)
Values and external values in control flow context.
|
CondContextDef.Builder |
removeNestedContexts(int index)
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
setBranch(int value)
Branch prediction.
|
CondContextDef.Builder |
setContextName(String value)
Name of the context.
|
CondContextDef.Builder |
setContextNameBytes(com.google.protobuf.ByteString value)
Name of the context.
|
CondContextDef.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CondContextDef.Builder |
setNestedContexts(int index,
ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
setNestedContexts(int index,
ControlFlowContextDef value)
Contexts contained inside this context (e.g.
|
CondContextDef.Builder |
setPivotName(String value)
Name of the pivot tensor.
|
CondContextDef.Builder |
setPivotNameBytes(com.google.protobuf.ByteString value)
Name of the pivot tensor.
|
CondContextDef.Builder |
setPredName(String value)
Name of the pred tensor.
|
CondContextDef.Builder |
setPredNameBytes(com.google.protobuf.ByteString value)
Name of the pred tensor.
|
CondContextDef.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CondContextDef.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CondContextDef.Builder |
setValuesDef(ValuesDef.Builder builderForValue)
Values and external values in control flow context.
|
CondContextDef.Builder |
setValuesDef(ValuesDef value)
Values and external values in control flow context.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public CondContextDef.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public CondContextDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CondContextDef build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CondContextDef buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CondContextDef.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public CondContextDef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public CondContextDef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public CondContextDef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public CondContextDef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public CondContextDef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public CondContextDef.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CondContextDef.Builder>
public CondContextDef.Builder mergeFrom(CondContextDef other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public CondContextDef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CondContextDef.Builder>
IOException
public String getContextName()
Name of the context.
string context_name = 1;
getContextName
in interface CondContextDefOrBuilder
public com.google.protobuf.ByteString getContextNameBytes()
Name of the context.
string context_name = 1;
getContextNameBytes
in interface CondContextDefOrBuilder
public CondContextDef.Builder setContextName(String value)
Name of the context.
string context_name = 1;
public CondContextDef.Builder clearContextName()
Name of the context.
string context_name = 1;
public CondContextDef.Builder setContextNameBytes(com.google.protobuf.ByteString value)
Name of the context.
string context_name = 1;
public String getPredName()
Name of the pred tensor.
string pred_name = 2;
getPredName
in interface CondContextDefOrBuilder
public com.google.protobuf.ByteString getPredNameBytes()
Name of the pred tensor.
string pred_name = 2;
getPredNameBytes
in interface CondContextDefOrBuilder
public CondContextDef.Builder setPredName(String value)
Name of the pred tensor.
string pred_name = 2;
public CondContextDef.Builder clearPredName()
Name of the pred tensor.
string pred_name = 2;
public CondContextDef.Builder setPredNameBytes(com.google.protobuf.ByteString value)
Name of the pred tensor.
string pred_name = 2;
public String getPivotName()
Name of the pivot tensor.
string pivot_name = 3;
getPivotName
in interface CondContextDefOrBuilder
public com.google.protobuf.ByteString getPivotNameBytes()
Name of the pivot tensor.
string pivot_name = 3;
getPivotNameBytes
in interface CondContextDefOrBuilder
public CondContextDef.Builder setPivotName(String value)
Name of the pivot tensor.
string pivot_name = 3;
public CondContextDef.Builder clearPivotName()
Name of the pivot tensor.
string pivot_name = 3;
public CondContextDef.Builder setPivotNameBytes(com.google.protobuf.ByteString value)
Name of the pivot tensor.
string pivot_name = 3;
public int getBranch()
Branch prediction. 0 or 1.
int32 branch = 4;
getBranch
in interface CondContextDefOrBuilder
public CondContextDef.Builder setBranch(int value)
Branch prediction. 0 or 1.
int32 branch = 4;
public CondContextDef.Builder clearBranch()
Branch prediction. 0 or 1.
int32 branch = 4;
public boolean hasValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
hasValuesDef
in interface CondContextDefOrBuilder
public ValuesDef getValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
getValuesDef
in interface CondContextDefOrBuilder
public CondContextDef.Builder setValuesDef(ValuesDef value)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
public CondContextDef.Builder setValuesDef(ValuesDef.Builder builderForValue)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
public CondContextDef.Builder mergeValuesDef(ValuesDef value)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
public CondContextDef.Builder clearValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
public ValuesDef.Builder getValuesDefBuilder()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
public ValuesDefOrBuilder getValuesDefOrBuilder()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
getValuesDefOrBuilder
in interface CondContextDefOrBuilder
public List<ControlFlowContextDef> getNestedContextsList()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
getNestedContextsList
in interface CondContextDefOrBuilder
public int getNestedContextsCount()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
getNestedContextsCount
in interface CondContextDefOrBuilder
public ControlFlowContextDef getNestedContexts(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
getNestedContexts
in interface CondContextDefOrBuilder
public CondContextDef.Builder setNestedContexts(int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public CondContextDef.Builder setNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public CondContextDef.Builder addNestedContexts(ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public CondContextDef.Builder addNestedContexts(int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public CondContextDef.Builder addNestedContexts(ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public CondContextDef.Builder addNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public CondContextDef.Builder addAllNestedContexts(Iterable<? extends ControlFlowContextDef> values)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public CondContextDef.Builder clearNestedContexts()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public CondContextDef.Builder removeNestedContexts(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public ControlFlowContextDef.Builder getNestedContextsBuilder(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
getNestedContextsOrBuilder
in interface CondContextDefOrBuilder
public List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
getNestedContextsOrBuilderList
in interface CondContextDefOrBuilder
public ControlFlowContextDef.Builder addNestedContextsBuilder()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public ControlFlowContextDef.Builder addNestedContextsBuilder(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public List<ControlFlowContextDef.Builder> getNestedContextsBuilderList()
Contexts contained inside this context (e.g. nested conds).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 6;
public final CondContextDef.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
public final CondContextDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CondContextDef.Builder>
Copyright © 2015–2019. All rights reserved.