Interface VmImageOrBuilder

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

    public interface VmImageOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFamily()
      Optional.
      com.google.protobuf.ByteString getFamilyBytes()
      Optional.
      VmImage.ImageCase getImageCase()  
      String getName()
      Optional.
      com.google.protobuf.ByteString getNameBytes()
      Optional.
      String getProject()
      Required.
      com.google.protobuf.ByteString getProjectBytes()
      Required.
      boolean hasFamily()
      Optional.
      boolean hasName()
      Optional.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getProject

        String getProject()
         Required. The name of the Google Cloud project that this VM image belongs
         to. Format: `{project_id}`
         
        string project = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The project.
      • getProjectBytes

        com.google.protobuf.ByteString getProjectBytes()
         Required. The name of the Google Cloud project that this VM image belongs
         to. Format: `{project_id}`
         
        string project = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for project.
      • hasName

        boolean hasName()
         Optional. Use VM image name to find the image.
         
        string name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Optional. Use VM image name to find the image.
         
        string name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Optional. Use VM image name to find the image.
         
        string name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for name.
      • hasFamily

        boolean hasFamily()
         Optional. Use this VM image family to find the image; the newest image in
         this family will be used.
         
        string family = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the family field is set.
      • getFamily

        String getFamily()
         Optional. Use this VM image family to find the image; the newest image in
         this family will be used.
         
        string family = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The family.
      • getFamilyBytes

        com.google.protobuf.ByteString getFamilyBytes()
         Optional. Use this VM image family to find the image; the newest image in
         this family will be used.
         
        string family = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for family.