Class RagFileName (3.48.0)

public class RagFileName implements ResourceName

Inheritance

Object > RagFileName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String project, String location, String ragCorpus, String ragFile)

public static String format(String project, String location, String ragCorpus, String ragFile)
Parameters
Name Description
project String
location String
ragCorpus String
ragFile String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBuilder()

public static RagFileName.Builder newBuilder()
Returns
Type Description
RagFileName.Builder

of(String project, String location, String ragCorpus, String ragFile)

public static RagFileName of(String project, String location, String ragCorpus, String ragFile)
Parameters
Name Description
project String
location String
ragCorpus String
ragFile String
Returns
Type Description
RagFileName

parse(String formattedString)

public static RagFileName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
RagFileName

parseList(List<String> formattedStrings)

public static List<RagFileName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<RagFileName>

toStringList(List<RagFileName> values)

public static List<String> toStringList(List<RagFileName> values)
Parameter
Name Description
values List<RagFileName>
Returns
Type Description
List<String>

Constructors

RagFileName() (deprecated)

protected RagFileName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getLocation()

public String getLocation()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

getRagCorpus()

public String getRagCorpus()
Returns
Type Description
String

getRagFile()

public String getRagFile()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public RagFileName.Builder toBuilder()
Returns
Type Description
RagFileName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides