Package com.google.cloud.compute.v1
Class SourceInstanceProperties
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.SourceInstanceProperties
- All Implemented Interfaces:
SourceInstancePropertiesOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SourceInstanceProperties
extends com.google.protobuf.GeneratedMessage
implements SourceInstancePropertiesOrBuilder
DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.Protobuf type
google.cloud.compute.v1.SourceInstanceProperties- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDEPRECATED: Please use compute#instanceProperties instead.static enumKeyRevocationActionType of the instance.static enumPostKeyRevocationActionType of the instance.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels to apply to instances that are created from this machine image.booleanbooleanEnables 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.static SourceInstancePropertiesbooleanWhether the instance created from this machine image should be protected against deletion.An optional text description for the instances that are created from this machine image.com.google.protobuf.ByteStringAn optional text description for the instances that are created from this machine image.static final com.google.protobuf.Descriptors.DescriptorgetDisks(int index) An array of disks that are associated with the instances that are created from this machine image.intAn array of disks that are associated with the instances that are created from this machine image.An array of disks that are associated with the instances that are created from this machine image.getDisksOrBuilder(int index) An array of disks that are associated with the instances that are created from this machine image.List<? extends SavedAttachedDiskOrBuilder>An array of disks that are associated with the instances that are created from this machine image.getGuestAccelerators(int index) A list of guest accelerator cards' type and count to use for instances created from this machine image.intA list of guest accelerator cards' type and count to use for instances created from this machine image.A list of guest accelerator cards' type and count to use for instances created from this machine image.getGuestAcceleratorsOrBuilder(int index) A list of guest accelerator cards' type and count to use for instances created from this machine image.List<? extends AcceleratorConfigOrBuilder>A list of guest accelerator cards' type and count to use for instances created from this machine image.KeyRevocationActionType of the instance.com.google.protobuf.ByteStringKeyRevocationActionType of the instance.Deprecated.intLabels to apply to instances that are created from this machine image.Labels to apply to instances that are created from this machine image.getLabelsOrDefault(String key, String defaultValue) Labels to apply to instances that are created from this machine image.getLabelsOrThrow(String key) Labels to apply to instances that are created from this machine image.The machine type to use for instances that are created from this machine image.com.google.protobuf.ByteStringThe machine type to use for instances that are created from this machine image.The metadata key/value pairs to assign to instances that are created from this machine image.The metadata key/value pairs to assign to instances that are created from this machine image.Minimum cpu/platform to be used by instances created from this machine image.com.google.protobuf.ByteStringMinimum cpu/platform to be used by instances created from this machine image.getNetworkInterfaces(int index) An array of network access configurations for this interface.intAn array of network access configurations for this interface.An array of network access configurations for this interface.getNetworkInterfacesOrBuilder(int index) An array of network access configurations for this interface.List<? extends NetworkInterfaceOrBuilder>An array of network access configurations for this interface.com.google.protobuf.Parser<SourceInstanceProperties>PostKeyRevocationActionType of the instance.com.google.protobuf.ByteStringPostKeyRevocationActionType of the instance.Specifies the scheduling options for the instances that are created from this machine image.Specifies the scheduling options for the instances that are created from this machine image.intgetServiceAccounts(int index) A list of service accounts with specified scopes.intA list of service accounts with specified scopes.A list of service accounts with specified scopes.getServiceAccountsOrBuilder(int index) A list of service accounts with specified scopes.List<? extends ServiceAccountOrBuilder>A list of service accounts with specified scopes.getTags()A list of tags to apply to the instances that are created from this machine image.A list of tags to apply to the instances that are created from this machine image.booleanEnables 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.booleanWhether the instance created from this machine image should be protected against deletion.booleanAn optional text description for the instances that are created from this machine image.inthashCode()booleanKeyRevocationActionType of the instance.booleanThe machine type to use for instances that are created from this machine image.booleanThe metadata key/value pairs to assign to instances that are created from this machine image.booleanMinimum cpu/platform to be used by instances created from this machine image.booleanPostKeyRevocationActionType of the instance.booleanSpecifies the scheduling options for the instances that are created from this machine image.booleanhasTags()A list of tags to apply to the instances that are created from this machine image.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(SourceInstanceProperties prototype) protected SourceInstanceProperties.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SourceInstancePropertiesparseDelimitedFrom(InputStream input) static SourceInstancePropertiesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInstancePropertiesparseFrom(byte[] data) static SourceInstancePropertiesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInstancePropertiesparseFrom(com.google.protobuf.ByteString data) static SourceInstancePropertiesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInstancePropertiesparseFrom(com.google.protobuf.CodedInputStream input) static SourceInstancePropertiesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInstancePropertiesparseFrom(InputStream input) static SourceInstancePropertiesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInstancePropertiesparseFrom(ByteBuffer data) static SourceInstancePropertiesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SourceInstanceProperties>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CAN_IP_FORWARD_FIELD_NUMBER
public static final int CAN_IP_FORWARD_FIELD_NUMBER- See Also:
-
DELETION_PROTECTION_FIELD_NUMBER
public static final int DELETION_PROTECTION_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER- See Also:
-
GUEST_ACCELERATORS_FIELD_NUMBER
public static final int GUEST_ACCELERATORS_FIELD_NUMBER- See Also:
-
KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER
public static final int KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
MIN_CPU_PLATFORM_FIELD_NUMBER
public static final int MIN_CPU_PLATFORM_FIELD_NUMBER- See Also:
-
NETWORK_INTERFACES_FIELD_NUMBER
public static final int NETWORK_INTERFACES_FIELD_NUMBER- See Also:
-
POST_KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER
public static final int POST_KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER- See Also:
-
SCHEDULING_FIELD_NUMBER
public static final int SCHEDULING_FIELD_NUMBER- See Also:
-
SERVICE_ACCOUNTS_FIELD_NUMBER
public static final int SERVICE_ACCOUNTS_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasCanIpForward
public 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 tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Specified by:
hasCanIpForwardin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the canIpForward field is set.
-
getCanIpForward
public 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 tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Specified by:
getCanIpForwardin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The canIpForward.
-
hasDeletionProtection
public boolean hasDeletionProtection()Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;- Specified by:
hasDeletionProtectionin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the deletionProtection field is set.
-
getDeletionProtection
public boolean getDeletionProtection()Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;- Specified by:
getDeletionProtectionin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The deletionProtection.
-
hasDescription
public boolean hasDescription()An optional text description for the instances that are created from this machine image.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional text description for the instances that are created from this machine image.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for description.
-
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;- Specified by:
getDisksListin interfaceSourceInstancePropertiesOrBuilder
-
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;- Specified by:
getDisksOrBuilderListin interfaceSourceInstancePropertiesOrBuilder
-
getDisksCount
public 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;- Specified by:
getDisksCountin interfaceSourceInstancePropertiesOrBuilder
-
getDisks
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;- Specified by:
getDisksin interfaceSourceInstancePropertiesOrBuilder
-
getDisksOrBuilder
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;- Specified by:
getDisksOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
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;- Specified by:
getGuestAcceleratorsListin interfaceSourceInstancePropertiesOrBuilder
-
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;- Specified by:
getGuestAcceleratorsOrBuilderListin interfaceSourceInstancePropertiesOrBuilder
-
getGuestAcceleratorsCount
public 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;- Specified by:
getGuestAcceleratorsCountin interfaceSourceInstancePropertiesOrBuilder
-
getGuestAccelerators
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;- Specified by:
getGuestAcceleratorsin interfaceSourceInstancePropertiesOrBuilder
-
getGuestAcceleratorsOrBuilder
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;- Specified by:
getGuestAcceleratorsOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
hasKeyRevocationActionType
public 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;- Specified by:
hasKeyRevocationActionTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the keyRevocationActionType field is set.
-
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;- Specified by:
getKeyRevocationActionTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- The keyRevocationActionType.
-
getKeyRevocationActionTypeBytes
public 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;- Specified by:
getKeyRevocationActionTypeBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for keyRevocationActionType.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:SourceInstancePropertiesOrBuilderLabels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
getLabelsCountin interfaceSourceInstancePropertiesOrBuilder
-
containsLabels
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
containsLabelsin interfaceSourceInstancePropertiesOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceSourceInstancePropertiesOrBuilder
-
getLabelsMap
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
getLabelsMapin interfaceSourceInstancePropertiesOrBuilder
-
getLabelsOrDefault
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrDefaultin interfaceSourceInstancePropertiesOrBuilder
-
getLabelsOrThrow
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrThrowin interfaceSourceInstancePropertiesOrBuilder
-
hasMachineType
public boolean hasMachineType()The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;- Specified by:
hasMachineTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the machineType field is set.
-
getMachineType
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;- Specified by:
getMachineTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;- Specified by:
getMachineTypeBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for machineType.
-
hasMetadata
public 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. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
hasMetadatain interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the metadata field is set.
-
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. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
getMetadatain interfaceSourceInstancePropertiesOrBuilder- Returns:
- The metadata.
-
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. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
getMetadataOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
hasMinCpuPlatform
public 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" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Specified by:
hasMinCpuPlatformin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the minCpuPlatform field is set.
-
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" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Specified by:
getMinCpuPlatformin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
public 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" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Specified by:
getMinCpuPlatformBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for minCpuPlatform.
-
getNetworkInterfacesList
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesListin interfaceSourceInstancePropertiesOrBuilder
-
getNetworkInterfacesOrBuilderList
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesOrBuilderListin interfaceSourceInstancePropertiesOrBuilder
-
getNetworkInterfacesCount
public int getNetworkInterfacesCount()An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesCountin interfaceSourceInstancePropertiesOrBuilder
-
getNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesin interfaceSourceInstancePropertiesOrBuilder
-
getNetworkInterfacesOrBuilder
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
hasPostKeyRevocationActionType
public boolean hasPostKeyRevocationActionType()PostKeyRevocationActionType of the instance. Check the PostKeyRevocationActionType enum for the list of possible values.
optional string post_key_revocation_action_type = 292972897;- Specified by:
hasPostKeyRevocationActionTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the postKeyRevocationActionType field is set.
-
getPostKeyRevocationActionType
PostKeyRevocationActionType of the instance. Check the PostKeyRevocationActionType enum for the list of possible values.
optional string post_key_revocation_action_type = 292972897;- Specified by:
getPostKeyRevocationActionTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- The postKeyRevocationActionType.
-
getPostKeyRevocationActionTypeBytes
public com.google.protobuf.ByteString getPostKeyRevocationActionTypeBytes()PostKeyRevocationActionType of the instance. Check the PostKeyRevocationActionType enum for the list of possible values.
optional string post_key_revocation_action_type = 292972897;- Specified by:
getPostKeyRevocationActionTypeBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for postKeyRevocationActionType.
-
hasScheduling
public boolean hasScheduling()Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
hasSchedulingin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the scheduling field is set.
-
getScheduling
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
getSchedulingin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The scheduling.
-
getSchedulingOrBuilder
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
getSchedulingOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
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;- Specified by:
getServiceAccountsListin interfaceSourceInstancePropertiesOrBuilder
-
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;- Specified by:
getServiceAccountsOrBuilderListin interfaceSourceInstancePropertiesOrBuilder
-
getServiceAccountsCount
public 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;- Specified by:
getServiceAccountsCountin interfaceSourceInstancePropertiesOrBuilder
-
getServiceAccounts
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;- Specified by:
getServiceAccountsin interfaceSourceInstancePropertiesOrBuilder
-
getServiceAccountsOrBuilder
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;- Specified by:
getServiceAccountsOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
hasTags
public 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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
hasTagsin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the tags field is set.
-
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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
getTagsin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The tags.
-
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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
getTagsOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SourceInstanceProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInstanceProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInstanceProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInstanceProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInstanceProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInstanceProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SourceInstanceProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SourceInstanceProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SourceInstanceProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SourceInstanceProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SourceInstanceProperties.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-