ApiDef.Arg.Builder

public static final class ApiDef.Arg.Builder

Protobuf type tensorflow.ApiDef.Arg

Public Methods

ApiDef.Arg.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApiDef.Arg
build()
ApiDef.Arg
ApiDef.Arg.Builder
clear()
ApiDef.Arg.Builder
clearDescription()
 Note: this will replace any inherited arg doc.
ApiDef.Arg.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ApiDef.Arg.Builder
clearName()
string name = 1;
ApiDef.Arg.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ApiDef.Arg.Builder
clearRenameTo()
 Change the name used to access this arg in the API from what
 is used in the GraphDef.
ApiDef.Arg.Builder
clone()
ApiDef.Arg
String
getDescription()
 Note: this will replace any inherited arg doc.
com.google.protobuf.ByteString
getDescriptionBytes()
 Note: this will replace any inherited arg doc.
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
String
getRenameTo()
 Change the name used to access this arg in the API from what
 is used in the GraphDef.
com.google.protobuf.ByteString
getRenameToBytes()
 Change the name used to access this arg in the API from what
 is used in the GraphDef.
final boolean
ApiDef.Arg.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApiDef.Arg.Builder
mergeFrom(com.google.protobuf.Message other)
final ApiDef.Arg.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApiDef.Arg.Builder
setDescription(String value)
 Note: this will replace any inherited arg doc.
ApiDef.Arg.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
 Note: this will replace any inherited arg doc.
ApiDef.Arg.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApiDef.Arg.Builder
setName(String value)
string name = 1;
ApiDef.Arg.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
ApiDef.Arg.Builder
setRenameTo(String value)
 Change the name used to access this arg in the API from what
 is used in the GraphDef.
ApiDef.Arg.Builder
setRenameToBytes(com.google.protobuf.ByteString value)
 Change the name used to access this arg in the API from what
 is used in the GraphDef.
ApiDef.Arg.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final ApiDef.Arg.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public ApiDef.Arg.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public ApiDef.Arg build ()

public ApiDef.Arg buildPartial ()

public ApiDef.Arg.Builder clear ()

public ApiDef.Arg.Builder clearDescription ()

 Note: this will replace any inherited arg doc. There is no
 current way of modifying arg descriptions (other than replacing
 them entirely) as can be done with op descriptions.
 
string description = 3;

public ApiDef.Arg.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public ApiDef.Arg.Builder clearName ()

string name = 1;

public ApiDef.Arg.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public ApiDef.Arg.Builder clearRenameTo ()

 Change the name used to access this arg in the API from what
 is used in the GraphDef.  Note that these names in `backticks`
 will also be replaced in the summary & description fields.
 
string rename_to = 2;

public ApiDef.Arg.Builder clone ()

public ApiDef.Arg getDefaultInstanceForType ()

public String getDescription ()

 Note: this will replace any inherited arg doc. There is no
 current way of modifying arg descriptions (other than replacing
 them entirely) as can be done with op descriptions.
 
string description = 3;

public com.google.protobuf.ByteString getDescriptionBytes ()

 Note: this will replace any inherited arg doc. There is no
 current way of modifying arg descriptions (other than replacing
 them entirely) as can be done with op descriptions.
 
string description = 3;

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getName ()

string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

string name = 1;

public String getRenameTo ()

 Change the name used to access this arg in the API from what
 is used in the GraphDef.  Note that these names in `backticks`
 will also be replaced in the summary & description fields.
 
string rename_to = 2;

public com.google.protobuf.ByteString getRenameToBytes ()

 Change the name used to access this arg in the API from what
 is used in the GraphDef.  Note that these names in `backticks`
 will also be replaced in the summary & description fields.
 
string rename_to = 2;

public final boolean isInitialized ()

public ApiDef.Arg.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public ApiDef.Arg.Builder mergeFrom (com.google.protobuf.Message other)

public final ApiDef.Arg.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public ApiDef.Arg.Builder setDescription (String value)

 Note: this will replace any inherited arg doc. There is no
 current way of modifying arg descriptions (other than replacing
 them entirely) as can be done with op descriptions.
 
string description = 3;

public ApiDef.Arg.Builder setDescriptionBytes (com.google.protobuf.ByteString value)

 Note: this will replace any inherited arg doc. There is no
 current way of modifying arg descriptions (other than replacing
 them entirely) as can be done with op descriptions.
 
string description = 3;

public ApiDef.Arg.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public ApiDef.Arg.Builder setName (String value)

string name = 1;

public ApiDef.Arg.Builder setNameBytes (com.google.protobuf.ByteString value)

string name = 1;

public ApiDef.Arg.Builder setRenameTo (String value)

 Change the name used to access this arg in the API from what
 is used in the GraphDef.  Note that these names in `backticks`
 will also be replaced in the summary & description fields.
 
string rename_to = 2;

public ApiDef.Arg.Builder setRenameToBytes (com.google.protobuf.ByteString value)

 Change the name used to access this arg in the API from what
 is used in the GraphDef.  Note that these names in `backticks`
 will also be replaced in the summary & description fields.
 
string rename_to = 2;

public ApiDef.Arg.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final ApiDef.Arg.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)