Package org.platanios.tensorflow.proto
Class EagerServiceOuterClass.UpdateContextRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.platanios.tensorflow.proto.EagerServiceOuterClass.UpdateContextRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,EagerServiceOuterClass.UpdateContextRequestOrBuilder
- Enclosing class:
- EagerServiceOuterClass
public static final class EagerServiceOuterClass.UpdateContextRequest extends com.google.protobuf.GeneratedMessageV3 implements EagerServiceOuterClass.UpdateContextRequestOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.UpdateContextRequest
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EagerServiceOuterClass.UpdateContextRequest.Builder
Protobuf typeorg.platanios.tensorflow.proto.UpdateContextRequest
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CLUSTER_DEVICE_ATTRIBUTES_FIELD_NUMBER
static int
CONTEXT_ID_FIELD_NUMBER
static int
CONTEXT_VIEW_ID_FIELD_NUMBER
static int
SERVER_DEF_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
DeviceAttributes
getClusterDeviceAttributes(int index)
Device attributes in the cluster.int
getClusterDeviceAttributesCount()
Device attributes in the cluster.java.util.List<DeviceAttributes>
getClusterDeviceAttributesList()
Device attributes in the cluster.DeviceAttributesOrBuilder
getClusterDeviceAttributesOrBuilder(int index)
Device attributes in the cluster.java.util.List<? extends DeviceAttributesOrBuilder>
getClusterDeviceAttributesOrBuilderList()
Device attributes in the cluster.long
getContextId()
The ID of the context to be updated.long
getContextViewId()
The view ID of the context, which should be contiguously incremented when updating the same context.static EagerServiceOuterClass.UpdateContextRequest
getDefaultInstance()
EagerServiceOuterClass.UpdateContextRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<EagerServiceOuterClass.UpdateContextRequest>
getParserForType()
int
getSerializedSize()
ServerDef
getServerDef()
Identifies the full cluster, and this particular worker's position within.ServerDefOrBuilder
getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
boolean
hasServerDef()
Identifies the full cluster, and this particular worker's position within.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static EagerServiceOuterClass.UpdateContextRequest.Builder
newBuilder()
static EagerServiceOuterClass.UpdateContextRequest.Builder
newBuilder(EagerServiceOuterClass.UpdateContextRequest prototype)
EagerServiceOuterClass.UpdateContextRequest.Builder
newBuilderForType()
protected EagerServiceOuterClass.UpdateContextRequest.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static EagerServiceOuterClass.UpdateContextRequest
parseDelimitedFrom(java.io.InputStream input)
static EagerServiceOuterClass.UpdateContextRequest
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(byte[] data)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(com.google.protobuf.ByteString data)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(com.google.protobuf.CodedInputStream input)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(java.io.InputStream input)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(java.nio.ByteBuffer data)
static EagerServiceOuterClass.UpdateContextRequest
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<EagerServiceOuterClass.UpdateContextRequest>
parser()
EagerServiceOuterClass.UpdateContextRequest.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SERVER_DEF_FIELD_NUMBER
public static final int SERVER_DEF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_DEVICE_ATTRIBUTES_FIELD_NUMBER
public static final int CLUSTER_DEVICE_ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTEXT_ID_FIELD_NUMBER
public static final int CONTEXT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTEXT_VIEW_ID_FIELD_NUMBER
public static final int CONTEXT_VIEW_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasServerDef
public boolean hasServerDef()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
- Specified by:
hasServerDef
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
- Returns:
- Whether the serverDef field is set.
-
getServerDef
public ServerDef getServerDef()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
- Specified by:
getServerDef
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
- Returns:
- The serverDef.
-
getServerDefOrBuilder
public ServerDefOrBuilder getServerDefOrBuilder()
Identifies the full cluster, and this particular worker's position within.
.org.platanios.tensorflow.proto.ServerDef server_def = 1;
- Specified by:
getServerDefOrBuilder
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getClusterDeviceAttributesList
public java.util.List<DeviceAttributes> getClusterDeviceAttributesList()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributesList
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getClusterDeviceAttributesOrBuilderList
public java.util.List<? extends DeviceAttributesOrBuilder> getClusterDeviceAttributesOrBuilderList()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributesOrBuilderList
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getClusterDeviceAttributesCount
public int getClusterDeviceAttributesCount()
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributesCount
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getClusterDeviceAttributes
public DeviceAttributes getClusterDeviceAttributes(int index)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributes
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getClusterDeviceAttributesOrBuilder
public DeviceAttributesOrBuilder getClusterDeviceAttributesOrBuilder(int index)
Device attributes in the cluster. If this field is empty, it indicates that this is a simple update request that only increments the cluster view ID and does not require changes to the workers it connects to.
repeated .org.platanios.tensorflow.proto.DeviceAttributes cluster_device_attributes = 2;
- Specified by:
getClusterDeviceAttributesOrBuilder
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
-
getContextId
public long getContextId()
The ID of the context to be updated. A context with the specified ID must already exist on the recepient server of this request.
fixed64 context_id = 3;
- Specified by:
getContextId
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
- Returns:
- The contextId.
-
getContextViewId
public long getContextViewId()
The view ID of the context, which should be contiguously incremented when updating the same context.
fixed64 context_view_id = 4;
- Specified by:
getContextViewId
in interfaceEagerServiceOuterClass.UpdateContextRequestOrBuilder
- Returns:
- The contextViewId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static EagerServiceOuterClass.UpdateContextRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static EagerServiceOuterClass.UpdateContextRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static EagerServiceOuterClass.UpdateContextRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public EagerServiceOuterClass.UpdateContextRequest.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static EagerServiceOuterClass.UpdateContextRequest.Builder newBuilder()
-
newBuilder
public static EagerServiceOuterClass.UpdateContextRequest.Builder newBuilder(EagerServiceOuterClass.UpdateContextRequest prototype)
-
toBuilder
public EagerServiceOuterClass.UpdateContextRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected EagerServiceOuterClass.UpdateContextRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static EagerServiceOuterClass.UpdateContextRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<EagerServiceOuterClass.UpdateContextRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<EagerServiceOuterClass.UpdateContextRequest> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public EagerServiceOuterClass.UpdateContextRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-