public static final class EagerServiceOuterClass.Operation extends com.github.os72.protobuf351.GeneratedMessageV3 implements EagerServiceOuterClass.OperationOrBuilder
A proto representation of an eager operation.Protobuf type
tensorflow.eager.Operation
Modifier and Type | Class and Description |
---|---|
static class |
EagerServiceOuterClass.Operation.Builder
A proto representation of an eager operation.
|
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
ATTRS_FIELD_NUMBER |
static int |
CONTROL_OP_IDS_FIELD_NUMBER |
static int |
DEVICE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INPUTS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5; |
boolean |
equals(Object obj) |
Map<String,AttrValue> |
getAttrs()
Deprecated.
|
int |
getAttrsCount()
map<string, .tensorflow.AttrValue> attrs = 5; |
Map<String,AttrValue> |
getAttrsMap()
map<string, .tensorflow.AttrValue> attrs = 5; |
AttrValue |
getAttrsOrDefault(String key,
AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attrs = 5; |
AttrValue |
getAttrsOrThrow(String key)
map<string, .tensorflow.AttrValue> attrs = 5; |
long |
getControlOpIds(int index)
Control Operation IDs that will be respected when ops are re-ordered by
async execution.
|
int |
getControlOpIdsCount()
Control Operation IDs that will be respected when ops are re-ordered by
async execution.
|
List<Long> |
getControlOpIdsList()
Control Operation IDs that will be respected when ops are re-ordered by
async execution.
|
static EagerServiceOuterClass.Operation |
getDefaultInstance() |
EagerServiceOuterClass.Operation |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getDevice()
string device = 6; |
com.github.os72.protobuf351.ByteString |
getDeviceBytes()
string device = 6; |
long |
getId()
A unique identifier for the operation.
|
EagerServiceOuterClass.RemoteTensorHandle |
getInputs(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3; |
int |
getInputsCount()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3; |
List<EagerServiceOuterClass.RemoteTensorHandle> |
getInputsList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3; |
EagerServiceOuterClass.RemoteTensorHandleOrBuilder |
getInputsOrBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3; |
List<? extends EagerServiceOuterClass.RemoteTensorHandleOrBuilder> |
getInputsOrBuilderList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3; |
String |
getName()
string name = 2; |
com.github.os72.protobuf351.ByteString |
getNameBytes()
string name = 2; |
com.github.os72.protobuf351.Parser<EagerServiceOuterClass.Operation> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.github.os72.protobuf351.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static EagerServiceOuterClass.Operation.Builder |
newBuilder() |
static EagerServiceOuterClass.Operation.Builder |
newBuilder(EagerServiceOuterClass.Operation prototype) |
EagerServiceOuterClass.Operation.Builder |
newBuilderForType() |
protected EagerServiceOuterClass.Operation.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static EagerServiceOuterClass.Operation |
parseDelimitedFrom(InputStream input) |
static EagerServiceOuterClass.Operation |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(byte[] data) |
static EagerServiceOuterClass.Operation |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(ByteBuffer data) |
static EagerServiceOuterClass.Operation |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static EagerServiceOuterClass.Operation |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static EagerServiceOuterClass.Operation |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static EagerServiceOuterClass.Operation |
parseFrom(InputStream input) |
static EagerServiceOuterClass.Operation |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<EagerServiceOuterClass.Operation> |
parser() |
EagerServiceOuterClass.Operation.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int ID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER
public static final int CONTROL_OP_IDS_FIELD_NUMBER
public static final int ATTRS_FIELD_NUMBER
public static final int DEVICE_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.MapField internalGetMapField(int number)
internalGetMapField
in class com.github.os72.protobuf351.GeneratedMessageV3
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public long getId()
A unique identifier for the operation. Set by the client so that the client can uniquely identify the outputs of the scheduled operation. In the initial implementation, sending duplicate IDs has undefined behaviour, but additional constraints may be placed upon this in the future.
int64 id = 1;
getId
in interface EagerServiceOuterClass.OperationOrBuilder
public String getName()
string name = 2;
getName
in interface EagerServiceOuterClass.OperationOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
string name = 2;
getNameBytes
in interface EagerServiceOuterClass.OperationOrBuilder
public List<EagerServiceOuterClass.RemoteTensorHandle> getInputsList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputsList
in interface EagerServiceOuterClass.OperationOrBuilder
public List<? extends EagerServiceOuterClass.RemoteTensorHandleOrBuilder> getInputsOrBuilderList()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputsOrBuilderList
in interface EagerServiceOuterClass.OperationOrBuilder
public int getInputsCount()
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputsCount
in interface EagerServiceOuterClass.OperationOrBuilder
public EagerServiceOuterClass.RemoteTensorHandle getInputs(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputs
in interface EagerServiceOuterClass.OperationOrBuilder
public EagerServiceOuterClass.RemoteTensorHandleOrBuilder getInputsOrBuilder(int index)
repeated .tensorflow.eager.RemoteTensorHandle inputs = 3;
getInputsOrBuilder
in interface EagerServiceOuterClass.OperationOrBuilder
public List<Long> getControlOpIdsList()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
getControlOpIdsList
in interface EagerServiceOuterClass.OperationOrBuilder
public int getControlOpIdsCount()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
getControlOpIdsCount
in interface EagerServiceOuterClass.OperationOrBuilder
public long getControlOpIds(int index)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
getControlOpIds
in interface EagerServiceOuterClass.OperationOrBuilder
public int getAttrsCount()
EagerServiceOuterClass.OperationOrBuilder
map<string, .tensorflow.AttrValue> attrs = 5;
getAttrsCount
in interface EagerServiceOuterClass.OperationOrBuilder
public boolean containsAttrs(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
containsAttrs
in interface EagerServiceOuterClass.OperationOrBuilder
@Deprecated public Map<String,AttrValue> getAttrs()
getAttrsMap()
instead.getAttrs
in interface EagerServiceOuterClass.OperationOrBuilder
public Map<String,AttrValue> getAttrsMap()
map<string, .tensorflow.AttrValue> attrs = 5;
getAttrsMap
in interface EagerServiceOuterClass.OperationOrBuilder
public AttrValue getAttrsOrDefault(String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attrs = 5;
getAttrsOrDefault
in interface EagerServiceOuterClass.OperationOrBuilder
public AttrValue getAttrsOrThrow(String key)
map<string, .tensorflow.AttrValue> attrs = 5;
getAttrsOrThrow
in interface EagerServiceOuterClass.OperationOrBuilder
public String getDevice()
string device = 6;
getDevice
in interface EagerServiceOuterClass.OperationOrBuilder
public com.github.os72.protobuf351.ByteString getDeviceBytes()
string device = 6;
getDeviceBytes
in interface EagerServiceOuterClass.OperationOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static EagerServiceOuterClass.Operation parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static EagerServiceOuterClass.Operation parseFrom(InputStream input) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseDelimitedFrom(InputStream input) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static EagerServiceOuterClass.Operation parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public EagerServiceOuterClass.Operation.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static EagerServiceOuterClass.Operation.Builder newBuilder()
public static EagerServiceOuterClass.Operation.Builder newBuilder(EagerServiceOuterClass.Operation prototype)
public EagerServiceOuterClass.Operation.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected EagerServiceOuterClass.Operation.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static EagerServiceOuterClass.Operation getDefaultInstance()
public static com.github.os72.protobuf351.Parser<EagerServiceOuterClass.Operation> parser()
public com.github.os72.protobuf351.Parser<EagerServiceOuterClass.Operation> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public EagerServiceOuterClass.Operation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.