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 VmImage.ImageCasegetImageCase()StringgetImageFamily()Use this VM image family to find the image; the newest image in this family will be used.com.google.protobuf.ByteStringgetImageFamilyBytes()Use this VM image family to find the image; the newest image in this family will be used.StringgetImageName()Use VM image name to find the image.com.google.protobuf.ByteStringgetImageNameBytes()Use VM image name to find the image.StringgetProject()Required.com.google.protobuf.ByteStringgetProjectBytes()Required.booleanhasImageFamily()Use this VM image family to find the image; the newest image in this family will be used.booleanhasImageName()Use VM image name to find the image.-
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: `projects/{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: `projects/{project_id}`string project = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for project.
-
hasImageName
boolean hasImageName()
Use VM image name to find the image.
string image_name = 2;- Returns:
- Whether the imageName field is set.
-
getImageName
String getImageName()
Use VM image name to find the image.
string image_name = 2;- Returns:
- The imageName.
-
getImageNameBytes
com.google.protobuf.ByteString getImageNameBytes()
Use VM image name to find the image.
string image_name = 2;- Returns:
- The bytes for imageName.
-
hasImageFamily
boolean hasImageFamily()
Use this VM image family to find the image; the newest image in this family will be used.
string image_family = 3;- Returns:
- Whether the imageFamily field is set.
-
getImageFamily
String getImageFamily()
Use this VM image family to find the image; the newest image in this family will be used.
string image_family = 3;- Returns:
- The imageFamily.
-
getImageFamilyBytes
com.google.protobuf.ByteString getImageFamilyBytes()
Use this VM image family to find the image; the newest image in this family will be used.
string image_family = 3;- Returns:
- The bytes for imageFamily.
-
getImageCase
VmImage.ImageCase getImageCase()
-
-