public interface SourceInstancePropertiesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels to apply to instances that are created from this machine image.
|
boolean |
getCanIpForward()
Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.
|
boolean |
getDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
|
String |
getDescription()
An optional text description for the instances that are created from this machine image.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional text description for the instances that are created from this machine image.
|
SavedAttachedDisk |
getDisks(int index)
An array of disks that are associated with the instances that are created from this machine image.
|
int |
getDisksCount()
An array of disks that are associated with the instances that are created from this machine image.
|
List<SavedAttachedDisk> |
getDisksList()
An array of disks that are associated with the instances that are created from this machine image.
|
SavedAttachedDiskOrBuilder |
getDisksOrBuilder(int index)
An array of disks that are associated with the instances that are created from this machine image.
|
List<? extends SavedAttachedDiskOrBuilder> |
getDisksOrBuilderList()
An array of disks that are associated with the instances that are created from this machine image.
|
AcceleratorConfig |
getGuestAccelerators(int index)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
int |
getGuestAcceleratorsCount()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
List<AcceleratorConfig> |
getGuestAcceleratorsList()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
AcceleratorConfigOrBuilder |
getGuestAcceleratorsOrBuilder(int index)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
List<? extends AcceleratorConfigOrBuilder> |
getGuestAcceleratorsOrBuilderList()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
String |
getKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
com.google.protobuf.ByteString |
getKeyRevocationActionTypeBytes()
KeyRevocationActionType of the instance.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels to apply to instances that are created from this machine image.
|
Map<String,String> |
getLabelsMap()
Labels to apply to instances that are created from this machine image.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to apply to instances that are created from this machine image.
|
String |
getLabelsOrThrow(String key)
Labels to apply to instances that are created from this machine image.
|
String |
getMachineType()
The machine type to use for instances that are created from this machine image.
|
com.google.protobuf.ByteString |
getMachineTypeBytes()
The machine type to use for instances that are created from this machine image.
|
Metadata |
getMetadata()
The metadata key/value pairs to assign to instances that are created from this machine image.
|
MetadataOrBuilder |
getMetadataOrBuilder()
The metadata key/value pairs to assign to instances that are created from this machine image.
|
String |
getMinCpuPlatform()
Minimum cpu/platform to be used by instances created from this machine image.
|
com.google.protobuf.ByteString |
getMinCpuPlatformBytes()
Minimum cpu/platform to be used by instances created from this machine image.
|
NetworkInterface |
getNetworkInterfaces(int index)
An array of network access configurations for this interface.
|
int |
getNetworkInterfacesCount()
An array of network access configurations for this interface.
|
List<NetworkInterface> |
getNetworkInterfacesList()
An array of network access configurations for this interface.
|
NetworkInterfaceOrBuilder |
getNetworkInterfacesOrBuilder(int index)
An array of network access configurations for this interface.
|
List<? extends NetworkInterfaceOrBuilder> |
getNetworkInterfacesOrBuilderList()
An array of network access configurations for this interface.
|
Scheduling |
getScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
|
SchedulingOrBuilder |
getSchedulingOrBuilder()
Specifies the scheduling options for the instances that are created from this machine image.
|
ServiceAccount |
getServiceAccounts(int index)
A list of service accounts with specified scopes.
|
int |
getServiceAccountsCount()
A list of service accounts with specified scopes.
|
List<ServiceAccount> |
getServiceAccountsList()
A list of service accounts with specified scopes.
|
ServiceAccountOrBuilder |
getServiceAccountsOrBuilder(int index)
A list of service accounts with specified scopes.
|
List<? extends ServiceAccountOrBuilder> |
getServiceAccountsOrBuilderList()
A list of service accounts with specified scopes.
|
Tags |
getTags()
A list of tags to apply to the instances that are created from this machine image.
|
TagsOrBuilder |
getTagsOrBuilder()
A list of tags to apply to the instances that are created from this machine image.
|
boolean |
hasCanIpForward()
Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.
|
boolean |
hasDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
|
boolean |
hasDescription()
An optional text description for the instances that are created from this machine image.
|
boolean |
hasKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
boolean |
hasMachineType()
The machine type to use for instances that are created from this machine image.
|
boolean |
hasMetadata()
The metadata key/value pairs to assign to instances that are created from this machine image.
|
boolean |
hasMinCpuPlatform()
Minimum cpu/platform to be used by instances created from this machine image.
|
boolean |
hasScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
|
boolean |
hasTags()
A list of tags to apply to the instances that are created from this machine image.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasCanIpForward()
Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;boolean getCanIpForward()
Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;boolean hasDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;boolean getDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;boolean hasDescription()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;String getDescription()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;com.google.protobuf.ByteString getDescriptionBytes()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;List<SavedAttachedDisk> getDisksList()
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;SavedAttachedDisk getDisks(int index)
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;int getDisksCount()
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;List<? extends SavedAttachedDiskOrBuilder> getDisksOrBuilderList()
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;SavedAttachedDiskOrBuilder getDisksOrBuilder(int index)
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;List<AcceleratorConfig> getGuestAcceleratorsList()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
AcceleratorConfig getGuestAccelerators(int index)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
int getGuestAcceleratorsCount()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
boolean hasKeyRevocationActionType()
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;String getKeyRevocationActionType()
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;com.google.protobuf.ByteString getKeyRevocationActionTypeBytes()
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;int getLabelsCount()
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;boolean containsLabels(String key)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;String getLabelsOrThrow(String key)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;boolean hasMachineType()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;String getMachineType()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;boolean hasMetadata()
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;Metadata getMetadata()
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;MetadataOrBuilder getMetadataOrBuilder()
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;boolean hasMinCpuPlatform()
Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;String getMinCpuPlatform()
Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;com.google.protobuf.ByteString getMinCpuPlatformBytes()
Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;List<NetworkInterface> getNetworkInterfacesList()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;NetworkInterface getNetworkInterfaces(int index)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;int getNetworkInterfacesCount()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;boolean hasScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;Scheduling getScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;SchedulingOrBuilder getSchedulingOrBuilder()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;List<ServiceAccount> getServiceAccountsList()
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;ServiceAccount getServiceAccounts(int index)
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;int getServiceAccountsCount()
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;List<? extends ServiceAccountOrBuilder> getServiceAccountsOrBuilderList()
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;ServiceAccountOrBuilder getServiceAccountsOrBuilder(int index)
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;boolean hasTags()
A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;Tags getTags()
A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;TagsOrBuilder getTagsOrBuilder()
A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;Copyright © 2023 Google LLC. All rights reserved.