Class InstructionName (0.150.0)

public class InstructionName implements ResourceName

Inheritance

Object > InstructionName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String instruction)

public static String format(String project, String instruction)
Parameters
NameDescription
projectString
instructionString
Returns
TypeDescription
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
boolean

newBuilder()

public static InstructionName.Builder newBuilder()
Returns
TypeDescription
InstructionName.Builder

of(String project, String instruction)

public static InstructionName of(String project, String instruction)
Parameters
NameDescription
projectString
instructionString
Returns
TypeDescription
InstructionName

parse(String formattedString)

public static InstructionName parse(String formattedString)
Parameter
NameDescription
formattedStringString
Returns
TypeDescription
InstructionName

parseList(List<String> formattedStrings)

public static List<InstructionName> parseList(List<String> formattedStrings)
Parameter
NameDescription
formattedStringsList<String>
Returns
TypeDescription
List<InstructionName>

toStringList(List<InstructionName> values)

public static List<String> toStringList(List<InstructionName> values)
Parameter
NameDescription
valuesList<InstructionName>
Returns
TypeDescription
List<String>

Constructors

InstructionName()

protected InstructionName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
NameDescription
fieldNameString
Returns
TypeDescription
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
TypeDescription
Map<String,String>

getInstruction()

public String getInstruction()
Returns
TypeDescription
String

getProject()

public String getProject()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public InstructionName.Builder toBuilder()
Returns
TypeDescription
InstructionName.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides