ApiDef.Endpoint

public static final class ApiDef.Endpoint

 If you specify any endpoint, this will replace all of the
 inherited endpoints.  The first endpoint should be the
 "canonical" endpoint, and should not be deprecated (unless all
 endpoints are deprecated).
 
Protobuf type tensorflow.ApiDef.Endpoint

Nested Classes

class ApiDef.Endpoint.Builder
 If you specify any endpoint, this will replace all of the
 inherited endpoints. 

Constants

int DEPRECATED_FIELD_NUMBER
int DEPRECATION_VERSION_FIELD_NUMBER
int NAME_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static ApiDef.Endpoint
ApiDef.Endpoint
boolean
getDeprecated()
 Set if this endpoint is deprecated.
int
getDeprecationVersion()
 Major version when an endpoint will be deleted.
final static com.google.protobuf.Descriptors.Descriptor
String
getName()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".
com.google.protobuf.ByteString
getNameBytes()
 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName".
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static ApiDef.Endpoint.Builder
static ApiDef.Endpoint.Builder
ApiDef.Endpoint.Builder
static ApiDef.Endpoint
parseDelimitedFrom(InputStream input)
static ApiDef.Endpoint
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Endpoint
parseFrom(ByteBuffer data)
static ApiDef.Endpoint
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Endpoint
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Endpoint
parseFrom(com.google.protobuf.CodedInputStream input)
static ApiDef.Endpoint
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Endpoint
parseFrom(com.google.protobuf.ByteString data)
static ApiDef.Endpoint
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Endpoint
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
ApiDef.Endpoint.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DEPRECATED_FIELD_NUMBER

Constant Value: 3

public static final int DEPRECATION_VERSION_FIELD_NUMBER

Constant Value: 4

public static final int NAME_FIELD_NUMBER

Constant Value: 1

Public Methods

public boolean equals (Object obj)

public static ApiDef.Endpoint getDefaultInstance ()

public ApiDef.Endpoint getDefaultInstanceForType ()

public boolean getDeprecated ()

 Set if this endpoint is deprecated. If set to true, a message suggesting
 to use a non-deprecated endpoint instead will be printed. If all
 endpoints are deprecated, set deprecation_message in ApiDef instead.
 
bool deprecated = 3;

public int getDeprecationVersion ()

 Major version when an endpoint will be deleted. For e.g. set this
 value to 2 if endpoint should be removed in TensorFlow 2.0 and
 deprecated in versions before that.
 
int32 deprecation_version = 4;

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String getName ()

 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName". Client-language-specific ApiDefs may
 use a snake_case convention instead of CamelCase.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 Name should be either like "CamelCaseName" or
 "Package.CamelCaseName". Client-language-specific ApiDefs may
 use a snake_case convention instead of CamelCase.
 
string name = 1;

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static ApiDef.Endpoint.Builder newBuilder (ApiDef.Endpoint prototype)

public static ApiDef.Endpoint.Builder newBuilder ()

public ApiDef.Endpoint.Builder newBuilderForType ()

public static ApiDef.Endpoint parseDelimitedFrom (InputStream input)

Throws
IOException

public static ApiDef.Endpoint parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ApiDef.Endpoint parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static ApiDef.Endpoint parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ApiDef.Endpoint parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static ApiDef.Endpoint parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static ApiDef.Endpoint parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static ApiDef.Endpoint parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static ApiDef.Endpoint parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ApiDef.Endpoint parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public ApiDef.Endpoint.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException