publiczna statyczna klasa końcowa ApiDef.Endpoint.Builder
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).
tensorflow.ApiDef.Endpoint
Metody publiczne
ApiDef.Endpoint.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Punkt końcowy ApiDef | zbudować () |
Punkt końcowy ApiDef | |
ApiDef.Endpoint.Builder | jasne () |
ApiDef.Endpoint.Builder | jasnePrzestarzałe () Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | wyczyść wersję wyprzedzenia () Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Endpoint.Builder | wyczyść nazwę () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Endpoint.Builder | klon () |
Punkt końcowy ApiDef | |
wartość logiczna | przestarzałe () Set if this endpoint is deprecated. |
wew | getDeprecationVersion () Major version when an endpoint will be deleted. |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Smyczkowy | pobierz nazwę () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
com.google.protobuf.ByteString | getNameBytes () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
końcowa wartość logiczna | |
ApiDef.Endpoint.Builder | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ApiDef.Endpoint.Builder | mergeFrom (com.google.protobuf.Wiadomość inna) |
końcowy ApiDef.Endpoint.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
ApiDef.Endpoint.Builder | setDeprecated (wartość logiczna) Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | setDeprecationVersion (wartość int) Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
ApiDef.Endpoint.Builder | setName (wartość ciągu) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setNameBytes (wartość com.google.protobuf.ByteString) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
końcowy ApiDef.Endpoint.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public ApiDef.Endpoint.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public ApiDef.Endpoint.Builder clearDeprecated ()
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;
publiczny ApiDef.Endpoint.Builder clearDeprecationVersion ()
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;
publiczny ApiDef.Endpoint.Builder clearName ()
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;
publiczny ApiDef.Endpoint.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
publiczna wartość logiczna 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 ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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;
publiczna końcowa wartość logiczna isInitialized ()
public ApiDef.Endpoint.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
publiczny końcowy ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ApiDef.Endpoint.Builder setDeprecated (wartość logiczna)
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 ApiDef.Endpoint.Builder setDeprecationVersion (wartość int)
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 ApiDef.Endpoint.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public ApiDef.Endpoint.Builder setName (wartość ciągu)
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 ApiDef.Endpoint.Builder setNameBytes (wartość com.google.protobuf.ByteString)
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;