Package com.google.cloud.osconfig.v1beta
Class GuestPolicyName
- java.lang.Object
-
- com.google.cloud.osconfig.v1beta.GuestPolicyName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class GuestPolicyName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GuestPolicyName.Builder
Builder for projects/{project}/guestPolicies/{guest_policy}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
GuestPolicyName()
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 guestPolicy)
String
getFieldValue(String fieldName)
Map<String,String>
getFieldValuesMap()
String
getGuestPolicy()
String
getProject()
int
hashCode()
static boolean
isParsableFrom(String formattedString)
static GuestPolicyName.Builder
newBuilder()
static GuestPolicyName
of(String project, String guestPolicy)
static GuestPolicyName
parse(String formattedString)
static List<GuestPolicyName>
parseList(List<String> formattedStrings)
GuestPolicyName.Builder
toBuilder()
String
toString()
static List<String>
toStringList(List<GuestPolicyName> values)
-
-
-
Constructor Detail
-
GuestPolicyName
@Deprecated protected GuestPolicyName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getGuestPolicy
public String getGuestPolicy()
-
newBuilder
public static GuestPolicyName.Builder newBuilder()
-
toBuilder
public GuestPolicyName.Builder toBuilder()
-
of
public static GuestPolicyName of(String project, String guestPolicy)
-
parse
public static GuestPolicyName parse(String formattedString)
-
parseList
public static List<GuestPolicyName> parseList(List<String> formattedStrings)
-
toStringList
public static List<String> toStringList(List<GuestPolicyName> values)
-
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
-
-