Interface SourceInstancePropertiesOrBuilder

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

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

      • hasCanIpForward

        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. 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;
        Returns:
        Whether the canIpForward field is set.
      • getCanIpForward

        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;
        Returns:
        The canIpForward.
      • hasDeletionProtection

        boolean hasDeletionProtection()
         Whether the instance created from this machine image should be protected against deletion.
         
        optional bool deletion_protection = 458014698;
        Returns:
        Whether the deletionProtection field is set.
      • getDeletionProtection

        boolean getDeletionProtection()
         Whether the instance created from this machine image should be protected against deletion.
         
        optional bool deletion_protection = 458014698;
        Returns:
        The deletionProtection.
      • hasDescription

        boolean hasDescription()
         An optional text description for the instances that are created from this machine image.
         
        optional string description = 422937596;
        Returns:
        Whether the description field is set.
      • getDescription

        String getDescription()
         An optional text description for the instances that are created from this machine image.
         
        optional string description = 422937596;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         An optional text description for the instances that are created from this machine image.
         
        optional string description = 422937596;
        Returns:
        The bytes for description.
      • getDisksList

        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;
      • getDisks

        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;
      • getDisksCount

        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;
      • getDisksOrBuilderList

        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;
      • getDisksOrBuilder

        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;
      • getGuestAcceleratorsList

        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;
      • getGuestAccelerators

        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;
      • getGuestAcceleratorsCount

        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;
      • getGuestAcceleratorsOrBuilderList

        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;
      • getGuestAcceleratorsOrBuilder

        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;
      • hasKeyRevocationActionType

        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;
        Returns:
        Whether the keyRevocationActionType field is set.
      • getKeyRevocationActionType

        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;
        Returns:
        The keyRevocationActionType.
      • getKeyRevocationActionTypeBytes

        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;
        Returns:
        The bytes for keyRevocationActionType.
      • getLabelsCount

        int getLabelsCount()
         Labels to apply to instances that are created from this machine image.
         
        map<string, string> labels = 500195327;
      • containsLabels

        boolean containsLabels​(String key)
         Labels to apply to instances that are created from this machine image.
         
        map<string, string> labels = 500195327;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Labels to apply to instances that are created from this machine image.
         
        map<string, string> labels = 500195327;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Labels to apply to instances that are created from this machine image.
         
        map<string, string> labels = 500195327;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Labels to apply to instances that are created from this machine image.
         
        map<string, string> labels = 500195327;
      • hasMachineType

        boolean hasMachineType()
         The machine type to use for instances that are created from this machine image.
         
        optional string machine_type = 227711026;
        Returns:
        Whether the machineType field is set.
      • getMachineType

        String getMachineType()
         The machine type to use for instances that are created from this machine image.
         
        optional string machine_type = 227711026;
        Returns:
        The machineType.
      • getMachineTypeBytes

        com.google.protobuf.ByteString getMachineTypeBytes()
         The machine type to use for instances that are created from this machine image.
         
        optional string machine_type = 227711026;
        Returns:
        The bytes for machineType.
      • hasMetadata

        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;
        Returns:
        Whether the metadata field is set.
      • getMetadata

        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;
        Returns:
        The metadata.
      • getMetadataOrBuilder

        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;
      • hasMinCpuPlatform

        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;
        Returns:
        Whether the minCpuPlatform field is set.
      • getMinCpuPlatform

        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;
        Returns:
        The minCpuPlatform.
      • getMinCpuPlatformBytes

        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;
        Returns:
        The bytes for minCpuPlatform.
      • getNetworkInterfacesList

        List<NetworkInterface> getNetworkInterfacesList()
         An array of network access configurations for this interface.
         
        repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
      • getNetworkInterfaces

        NetworkInterface getNetworkInterfaces​(int index)
         An array of network access configurations for this interface.
         
        repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
      • getNetworkInterfacesCount

        int getNetworkInterfacesCount()
         An array of network access configurations for this interface.
         
        repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
      • getNetworkInterfacesOrBuilderList

        List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
         An array of network access configurations for this interface.
         
        repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
      • getNetworkInterfacesOrBuilder

        NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder​(int index)
         An array of network access configurations for this interface.
         
        repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
      • hasScheduling

        boolean hasScheduling()
         Specifies the scheduling options for the instances that are created from this machine image.
         
        optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;
        Returns:
        Whether the scheduling field is set.
      • getScheduling

        Scheduling getScheduling()
         Specifies the scheduling options for the instances that are created from this machine image.
         
        optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;
        Returns:
        The scheduling.
      • getSchedulingOrBuilder

        SchedulingOrBuilder getSchedulingOrBuilder()
         Specifies the scheduling options for the instances that are created from this machine image.
         
        optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;
      • getServiceAccountsList

        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;
      • getServiceAccounts

        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;
      • getServiceAccountsCount

        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;
      • getServiceAccountsOrBuilderList

        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;
      • getServiceAccountsOrBuilder

        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;
      • hasTags

        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;
        Returns:
        Whether the tags field is set.
      • getTags

        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;
        Returns:
        The tags.
      • getTagsOrBuilder

        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;