מחלקה סופית סטטית ציבורית 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
מסוג Protobuf.ApiDef.Endpoint שיטות ציבוריות
ApiDef.Endpoint.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
ApiDef.Endpoint | לבנות () |
ApiDef.Endpoint | buildPartial () |
ApiDef.Endpoint.Builder | ברור () |
ApiDef.Endpoint.Builder | ברור שהוצא משימוש () 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. |
int | getDeprecationVersion () Major version when an endpoint will be deleted. |
final 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 אחר) |
Final ApiDef.Endpoint.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
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, ערך אובייקט) |
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, אינדקס אינט, ערך אובייקט) |
Final ApiDef.Endpoint.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
שיטות בירושה
שיטות ציבוריות
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.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;
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 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;
בוליאני הסופי הציבורי הוא אתחול ()
public ApiDef.Endpoint.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public final ApiDef.Endpoint.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
Public ApiDef.Endpoint.Builder set הוצא משימוש (ערך בוליאני)
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 (ערך 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, ערך אובייקט)
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;