public interface TemplateOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)Optional. Labels as key value pairs
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| boolean | |
getCreateTime()
public abstract Timestamp getCreateTime()Output only. [Output only] Create time stamp
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The createTime. | 
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create time stamp
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
getFilterConfig()
public abstract FilterConfig getFilterConfig()Required. filter configuration for this template
 
 .google.cloud.modelarmor.v1beta.FilterConfig filter_config = 5 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| FilterConfig | The filterConfig. | 
getFilterConfigOrBuilder()
public abstract FilterConfigOrBuilder getFilterConfigOrBuilder()Required. filter configuration for this template
 
 .google.cloud.modelarmor.v1beta.FilterConfig filter_config = 5 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| FilterConfigOrBuilder | |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getLabelsCount()
public abstract int getLabelsCount()Optional. Labels as key value pairs
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()Optional. Labels as key value pairs
 map<string, string> labels = 4 [(.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 as key value pairs
 map<string, string> labels = 4 [(.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 as key value pairs
 map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getName()
public abstract String getName()Identifier. name of resource
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public abstract ByteString getNameBytes()Identifier. name of resource
 string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
getTemplateMetadata()
public abstract Template.TemplateMetadata getTemplateMetadata()Optional. metadata for this template
 
 .google.cloud.modelarmor.v1beta.Template.TemplateMetadata template_metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Template.TemplateMetadata | The templateMetadata. | 
getTemplateMetadataOrBuilder()
public abstract Template.TemplateMetadataOrBuilder getTemplateMetadataOrBuilder()Optional. metadata for this template
 
 .google.cloud.modelarmor.v1beta.Template.TemplateMetadata template_metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Template.TemplateMetadataOrBuilder | |
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. [Output only] Update time stamp
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| Timestamp | The updateTime. | 
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update time stamp
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| TimestampOrBuilder | |
hasCreateTime()
public abstract boolean hasCreateTime()Output only. [Output only] Create time stamp
 .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the createTime field is set. | 
hasFilterConfig()
public abstract boolean hasFilterConfig()Required. filter configuration for this template
 
 .google.cloud.modelarmor.v1beta.FilterConfig filter_config = 5 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the filterConfig field is set. | 
hasTemplateMetadata()
public abstract boolean hasTemplateMetadata()Optional. metadata for this template
 
 .google.cloud.modelarmor.v1beta.Template.TemplateMetadata template_metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the templateMetadata field is set. | 
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. [Output only] Update time stamp
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the updateTime field is set. |