Class FileName
- java.lang.Object
-
- com.google.devtools.artifactregistry.v1.FileName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class FileName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileName.Builder
Builder for projects/{project}/locations/{location}/repositories/{repository}/files/{file}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
FileName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static String
format(String project, String location, String repository, String file)
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getFile()
String
getLocation()
String
getProject()
String
getRepository()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static FileName.Builder
newBuilder()
static FileName
of(String project, String location, String repository, String file)
static FileName
parse(String formattedString)
static List<FileName>
parseList(List<String> formattedStrings)
FileName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<FileName> values)
-
-
-
Constructor Detail
-
FileName
@Deprecated protected FileName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLocation
public String getLocation()
-
getRepository
public String getRepository()
-
getFile
public String getFile()
-
newBuilder
public static FileName.Builder newBuilder()
-
toBuilder
public FileName.Builder toBuilder()
-
format
public static String format(String project, String location, String repository, String file)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-