Interface PublisherModel.CallToAction.Deploy.DeployMetadataOrBuilder (3.56.0)

public static interface PublisherModel.CallToAction.Deploy.DeployMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc.

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc.

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc.

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc.

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc.

map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getSampleRequest()

public abstract String getSampleRequest()

Optional. Sample request for deployed endpoint.

string sample_request = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sampleRequest.

getSampleRequestBytes()

public abstract ByteString getSampleRequestBytes()

Optional. Sample request for deployed endpoint.

string sample_request = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sampleRequest.