общедоступный статический конечный класс 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
Публичные методы
ApiDef.Endpoint.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
АпиДеф.Конечная точка | строить () |
АпиДеф.Конечная точка | |
ApiDef.Endpoint.Builder | прозрачный () |
ApiDef.Endpoint.Builder | ОчиститьУстарело () Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | очиститьдепрекатионверсион () Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Endpoint.Builder | ясное имя () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Endpoint.Builder | клон () |
АпиДеф.Конечная точка | |
логическое значение | получитьУстаревший () Set if this endpoint is deprecated. |
интервал | getDeprecationVersion () Major version when an endpoint will be deleted. |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Нить | получитьИмя () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
com.google.protobuf.ByteString | getNameBytes () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
последнее логическое значение | |
ApiDef.Endpoint.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
ApiDef.Endpoint.Builder | mergeFrom (com.google.protobuf.Message другое) |
окончательный ApiDef.Endpoint.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ApiDef.Endpoint.Builder | setDeprecated (логическое значение) Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | setDeprecationVersion (целое значение) Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
ApiDef.Endpoint.Builder | setName (строковое значение) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setNameBytes (значение com.google.protobuf.ByteString) Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
окончательный ApiDef.Endpoint.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public ApiDef.Endpoint.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
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;
public 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;
public ApiDef.Endpoint.BuilderclearName ( )
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;
общедоступное логическое значение 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;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
общедоступная строка 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;
публичное окончательное логическое значение isInitialized ()
public ApiDef.Endpoint.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
общедоступный финальный ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public ApiDef.Endpoint.Builder setDeprecated (логическое значение)
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 (целое значение)
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 (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
public ApiDef.Endpoint.Builder setName (строковое значение)
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 (значение 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;