Class MeasurementProtocolSecretName (0.52.0)

public class MeasurementProtocolSecretName implements ResourceName

Inheritance

Object > MeasurementProtocolSecretName

Implements

com.google.api.resourcenames.ResourceName

Static Methods

format(String property, String dataStream, String measurementProtocolSecret)

public static String format(String property, String dataStream, String measurementProtocolSecret)
Parameters
Name Description
property String
dataStream String
measurementProtocolSecret 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 MeasurementProtocolSecretName.Builder newBuilder()
Returns
Type Description
MeasurementProtocolSecretName.Builder

of(String property, String dataStream, String measurementProtocolSecret)

public static MeasurementProtocolSecretName of(String property, String dataStream, String measurementProtocolSecret)
Parameters
Name Description
property String
dataStream String
measurementProtocolSecret String
Returns
Type Description
MeasurementProtocolSecretName

parse(String formattedString)

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

parseList(List<String> formattedStrings)

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

toStringList(List<MeasurementProtocolSecretName> values)

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

Constructors

MeasurementProtocolSecretName() (deprecated)

protected MeasurementProtocolSecretName()

Methods

equals(Object o)

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

getDataStream()

public String getDataStream()
Returns
Type Description
String

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>

getMeasurementProtocolSecret()

public String getMeasurementProtocolSecret()
Returns
Type Description
String

getProperty()

public String getProperty()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

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

toString()

public String toString()
Returns
Type Description
String
Overrides