Interface AnnotationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Annotation, Annotation.Builder

    public interface AnnotationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         name of resource.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         name of resource.
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasCreateTime

        boolean hasCreateTime()
         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. 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. Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasUpdateTime

        boolean hasUpdateTime()
         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. 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. Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLabelsCount

        int getLabelsCount()
         Labels as key value pairs.
         
        map<string, string> labels = 4;
      • containsLabels

        boolean containsLabels​(String key)
         Labels as key value pairs.
         
        map<string, string> labels = 4;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Labels as key value pairs.
         
        map<string, string> labels = 4;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Labels as key value pairs.
         
        map<string, string> labels = 4;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Labels as key value pairs.
         
        map<string, string> labels = 4;
      • getTypeValue

        int getTypeValue()
         Type of an annotation.
         
        .google.cloud.rapidmigrationassessment.v1.Annotation.Type type = 5;
        Returns:
        The enum numeric value on the wire for type.
      • getType

        Annotation.Type getType()
         Type of an annotation.
         
        .google.cloud.rapidmigrationassessment.v1.Annotation.Type type = 5;
        Returns:
        The type.