public final class SourceInstanceProperties extends com.google.protobuf.GeneratedMessageV3 implements SourceInstancePropertiesOrBuilder
DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.Protobuf type
google.cloud.compute.v1.SourceInstanceProperties| Modifier and Type | Class and Description |
|---|---|
static class |
SourceInstanceProperties.Builder
DEPRECATED: Please use compute#instanceProperties instead.
|
static class |
SourceInstanceProperties.KeyRevocationActionType
KeyRevocationActionType of the instance.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CAN_IP_FORWARD_FIELD_NUMBER |
static int |
DELETION_PROTECTION_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISKS_FIELD_NUMBER |
static int |
GUEST_ACCELERATORS_FIELD_NUMBER |
static int |
KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
MACHINE_TYPE_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
MIN_CPU_PLATFORM_FIELD_NUMBER |
static int |
NETWORK_INTERFACES_FIELD_NUMBER |
static int |
SCHEDULING_FIELD_NUMBER |
static int |
SERVICE_ACCOUNTS_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels to apply to instances that are created from this machine image.
|
boolean |
equals(Object obj) |
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.
|
static SourceInstanceProperties |
getDefaultInstance() |
SourceInstanceProperties |
getDefaultInstanceForType() |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<SourceInstanceProperties> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static SourceInstanceProperties.Builder |
newBuilder() |
static SourceInstanceProperties.Builder |
newBuilder(SourceInstanceProperties prototype) |
SourceInstanceProperties.Builder |
newBuilderForType() |
protected SourceInstanceProperties.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SourceInstanceProperties |
parseDelimitedFrom(InputStream input) |
static SourceInstanceProperties |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceInstanceProperties |
parseFrom(byte[] data) |
static SourceInstanceProperties |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceInstanceProperties |
parseFrom(ByteBuffer data) |
static SourceInstanceProperties |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceInstanceProperties |
parseFrom(com.google.protobuf.ByteString data) |
static SourceInstanceProperties |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceInstanceProperties |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SourceInstanceProperties |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceInstanceProperties |
parseFrom(InputStream input) |
static SourceInstanceProperties |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SourceInstanceProperties> |
parser() |
SourceInstanceProperties.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CAN_IP_FORWARD_FIELD_NUMBER
public static final int DELETION_PROTECTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
public static final int GUEST_ACCELERATORS_FIELD_NUMBER
public static final int KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int MIN_CPU_PLATFORM_FIELD_NUMBER
public static final int NETWORK_INTERFACES_FIELD_NUMBER
public static final int SCHEDULING_FIELD_NUMBER
public static final int SERVICE_ACCOUNTS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasCanIpForward in interface SourceInstancePropertiesOrBuilderpublic 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;getCanIpForward in interface SourceInstancePropertiesOrBuilderpublic boolean hasDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;hasDeletionProtection in interface SourceInstancePropertiesOrBuilderpublic boolean getDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;getDeletionProtection in interface SourceInstancePropertiesOrBuilderpublic boolean hasDescription()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;hasDescription in interface SourceInstancePropertiesOrBuilderpublic String getDescription()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;getDescription in interface SourceInstancePropertiesOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;getDescriptionBytes in interface SourceInstancePropertiesOrBuilderpublic 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;getDisksList in interface SourceInstancePropertiesOrBuilderpublic 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;getDisksOrBuilderList in interface SourceInstancePropertiesOrBuilderpublic 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;getDisksCount in interface SourceInstancePropertiesOrBuilderpublic 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;getDisks in interface SourceInstancePropertiesOrBuilderpublic 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;getDisksOrBuilder in interface SourceInstancePropertiesOrBuilderpublic 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;
getGuestAcceleratorsList in interface SourceInstancePropertiesOrBuilderpublic 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;
getGuestAcceleratorsOrBuilderList in interface SourceInstancePropertiesOrBuilderpublic 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;
getGuestAcceleratorsCount in interface SourceInstancePropertiesOrBuilderpublic 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;
getGuestAccelerators in interface SourceInstancePropertiesOrBuilderpublic 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;
getGuestAcceleratorsOrBuilder in interface SourceInstancePropertiesOrBuilderpublic 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;hasKeyRevocationActionType in interface SourceInstancePropertiesOrBuilderpublic 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;getKeyRevocationActionType in interface SourceInstancePropertiesOrBuilderpublic 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;getKeyRevocationActionTypeBytes in interface SourceInstancePropertiesOrBuilderpublic int getLabelsCount()
SourceInstancePropertiesOrBuilderLabels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;getLabelsCount in interface SourceInstancePropertiesOrBuilderpublic boolean containsLabels(String key)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;containsLabels in interface SourceInstancePropertiesOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface SourceInstancePropertiesOrBuilderpublic Map<String,String> getLabelsMap()
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;getLabelsMap in interface SourceInstancePropertiesOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;getLabelsOrDefault in interface SourceInstancePropertiesOrBuilderpublic String getLabelsOrThrow(String key)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;getLabelsOrThrow in interface SourceInstancePropertiesOrBuilderpublic boolean hasMachineType()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;hasMachineType in interface SourceInstancePropertiesOrBuilderpublic String getMachineType()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;getMachineType in interface SourceInstancePropertiesOrBuilderpublic com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;getMachineTypeBytes in interface SourceInstancePropertiesOrBuilderpublic 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;hasMetadata in interface SourceInstancePropertiesOrBuilderpublic 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;getMetadata in interface SourceInstancePropertiesOrBuilderpublic 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;getMetadataOrBuilder in interface SourceInstancePropertiesOrBuilderpublic 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;hasMinCpuPlatform in interface SourceInstancePropertiesOrBuilderpublic 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;getMinCpuPlatform in interface SourceInstancePropertiesOrBuilderpublic 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;getMinCpuPlatformBytes in interface SourceInstancePropertiesOrBuilderpublic List<NetworkInterface> getNetworkInterfacesList()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;getNetworkInterfacesList in interface SourceInstancePropertiesOrBuilderpublic List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;getNetworkInterfacesOrBuilderList in interface SourceInstancePropertiesOrBuilderpublic int getNetworkInterfacesCount()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;getNetworkInterfacesCount in interface SourceInstancePropertiesOrBuilderpublic NetworkInterface getNetworkInterfaces(int index)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;getNetworkInterfaces in interface SourceInstancePropertiesOrBuilderpublic NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;getNetworkInterfacesOrBuilder in interface SourceInstancePropertiesOrBuilderpublic boolean hasScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;hasScheduling in interface SourceInstancePropertiesOrBuilderpublic Scheduling getScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;getScheduling in interface SourceInstancePropertiesOrBuilderpublic SchedulingOrBuilder getSchedulingOrBuilder()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;getSchedulingOrBuilder in interface SourceInstancePropertiesOrBuilderpublic 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;getServiceAccountsList in interface SourceInstancePropertiesOrBuilderpublic 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;getServiceAccountsOrBuilderList in interface SourceInstancePropertiesOrBuilderpublic 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;getServiceAccountsCount in interface SourceInstancePropertiesOrBuilderpublic 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;getServiceAccounts in interface SourceInstancePropertiesOrBuilderpublic 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;getServiceAccountsOrBuilder in interface SourceInstancePropertiesOrBuilderpublic 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;hasTags in interface SourceInstancePropertiesOrBuilderpublic 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;getTags in interface SourceInstancePropertiesOrBuilderpublic 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;getTagsOrBuilder in interface SourceInstancePropertiesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SourceInstanceProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceInstanceProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceInstanceProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceInstanceProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceInstanceProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceInstanceProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceInstanceProperties parseFrom(InputStream input) throws IOException
IOExceptionpublic static SourceInstanceProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SourceInstanceProperties parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SourceInstanceProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SourceInstanceProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SourceInstanceProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SourceInstanceProperties.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SourceInstanceProperties.Builder newBuilder()
public static SourceInstanceProperties.Builder newBuilder(SourceInstanceProperties prototype)
public SourceInstanceProperties.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SourceInstanceProperties.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SourceInstanceProperties getDefaultInstance()
public static com.google.protobuf.Parser<SourceInstanceProperties> parser()
public com.google.protobuf.Parser<SourceInstanceProperties> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SourceInstanceProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.