Class LabelName
- java.lang.Object
-
- com.google.ads.googleads.v9.resources.LabelName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class LabelName extends java.lang.Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LabelName.Builder
Builder for customers/{customer_id}/labels/{label_id}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
LabelName()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static java.lang.String
format(java.lang.String customerId, java.lang.String labelId)
java.lang.String
getCustomerId()
java.lang.String
getFieldValue(java.lang.String fieldName)
java.util.Map<java.lang.String,java.lang.String>
getFieldValuesMap()
java.lang.String
getLabelId()
int
hashCode()
static boolean
isParsableFrom(java.lang.String formattedString)
static LabelName.Builder
newBuilder()
static LabelName
of(java.lang.String customerId, java.lang.String labelId)
static LabelName
parse(java.lang.String formattedString)
static java.util.List<LabelName>
parseList(java.util.List<java.lang.String> formattedStrings)
LabelName.Builder
toBuilder()
java.lang.String
toString()
static java.util.List<java.lang.String>
toStringList(java.util.List<LabelName> values)
-
-
-
Method Detail
-
getCustomerId
public java.lang.String getCustomerId()
-
getLabelId
public java.lang.String getLabelId()
-
newBuilder
public static LabelName.Builder newBuilder()
-
toBuilder
public LabelName.Builder toBuilder()
-
of
public static LabelName of(java.lang.String customerId, java.lang.String labelId)
-
format
public static java.lang.String format(java.lang.String customerId, java.lang.String labelId)
-
parse
public static LabelName parse(java.lang.String formattedString)
-
parseList
public static java.util.List<LabelName> parseList(java.util.List<java.lang.String> formattedStrings)
-
toStringList
public static java.util.List<java.lang.String> toStringList(java.util.List<LabelName> values)
-
isParsableFrom
public static boolean isParsableFrom(java.lang.String formattedString)
-
getFieldValuesMap
public java.util.Map<java.lang.String,java.lang.String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public java.lang.String getFieldValue(java.lang.String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-