Interface TemplateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Template,Template.Builder
@Generated
public interface TemplateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required. filter configuration for this templateRequired. filter configuration for this templateDeprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier. name of resourcecom.google.protobuf.ByteStringIdentifier. name of resourceOptional. metadata for this templateOptional. metadata for this templatecom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired. filter configuration for this templatebooleanOptional. metadata for this templatebooleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. name of resource
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create time stamp
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasFilterConfig
boolean hasFilterConfig()Required. filter configuration for this template
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the filterConfig field is set.
-
getFilterConfig
FilterConfig getFilterConfig()Required. filter configuration for this template
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The filterConfig.
-
getFilterConfigOrBuilder
FilterConfigOrBuilder getFilterConfigOrBuilder()Required. filter configuration for this template
.google.cloud.modelarmor.v1beta.FilterConfig filter_config = 5 [(.google.api.field_behavior) = REQUIRED]; -
hasTemplateMetadata
boolean hasTemplateMetadata()Optional. metadata for this template
.google.cloud.modelarmor.v1beta.Template.TemplateMetadata template_metadata = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the templateMetadata field is set.
-
getTemplateMetadata
Template.TemplateMetadata getTemplateMetadata()Optional. metadata for this template
.google.cloud.modelarmor.v1beta.Template.TemplateMetadata template_metadata = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The templateMetadata.
-
getTemplateMetadataOrBuilder
Template.TemplateMetadataOrBuilder getTemplateMetadataOrBuilder()Optional. metadata for this template
.google.cloud.modelarmor.v1beta.Template.TemplateMetadata template_metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
-