کلاس نهایی استاتیک عمومی 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 فیلد، مقدار Object) |
ApiDef.Endpoint | ساختن () |
ApiDef.Endpoint | ساخت جزئی () |
ApiDef.Endpoint.Builder | روشن () |
ApiDef.Endpoint.Builder | clear منسوخ شده () Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | clearDeprecationVersion () Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor) |
ApiDef.Endpoint.Builder | clearName () Name should be either like "CamelCaseName" or "Package.CamelCaseName". |
ApiDef.Endpoint.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Endpoint.Builder | کلون () |
ApiDef.Endpoint | |
بولی | getDeprecated () Set if this endpoint is deprecated. |
بین المللی | getDeprecationVersion () Major version when an endpoint will be deleted. |
نهایی static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
رشته | getName () 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 other) |
نهایی ApiDef.Endpoint.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
ApiDef.Endpoint.Builder | setDeprecated (مقدار بولی) Set if this endpoint is deprecated. |
ApiDef.Endpoint.Builder | setDeprecationVersion (مقدار int) Major version when an endpoint will be deleted. |
ApiDef.Endpoint.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object) |
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، مقدار Object) |
نهایی ApiDef.Endpoint.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
روش های ارثی
روش های عمومی
عمومی ApiDef.Endpoint.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)
عمومی 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;
عمومی 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;
عمومی 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;
بولی عمومی 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;
عمومی 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 ()
عمومی 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;
عمومی 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 ()
عمومی ApiDef.Endpoint.Builder mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
پرتاب می کند
IOException |
---|
نهایی عمومی ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
عمومی 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;
عمومی ApiDef.Endpoint.Builder setDeprecationVersion (مقدار 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 (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
عمومی 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;
عمومی 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;