public final class ComputeInstanceBackupProperties extends GeneratedMessageV3 implements ComputeInstanceBackupPropertiesOrBuilder
ComputeInstanceBackupProperties represents Compute Engine instance backup
properties.
Protobuf type google.cloud.backupdr.v1.ComputeInstanceBackupProperties
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CAN_IP_FORWARD_FIELD_NUMBER
public static final int CAN_IP_FORWARD_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISK_FIELD_NUMBER
public static final int DISK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GUEST_ACCELERATOR_FIELD_NUMBER
public static final int GUEST_ACCELERATOR_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER
public static final int KEY_REVOCATION_ACTION_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int MIN_CPU_PLATFORM_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NETWORK_INTERFACE_FIELD_NUMBER
public static final int NETWORK_INTERFACE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SCHEDULING_FIELD_NUMBER
public static final int SCHEDULING_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_INSTANCE_FIELD_NUMBER
public static final int SOURCE_INSTANCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TAGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ComputeInstanceBackupProperties getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ComputeInstanceBackupProperties.Builder newBuilder()
newBuilder(ComputeInstanceBackupProperties prototype)
public static ComputeInstanceBackupProperties.Builder newBuilder(ComputeInstanceBackupProperties prototype)
public static ComputeInstanceBackupProperties parseDelimitedFrom(InputStream input)
public static ComputeInstanceBackupProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ComputeInstanceBackupProperties parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceBackupProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ComputeInstanceBackupProperties parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceBackupProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceBackupProperties parseFrom(CodedInputStream input)
public static ComputeInstanceBackupProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceBackupProperties parseFrom(InputStream input)
public static ComputeInstanceBackupProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ComputeInstanceBackupProperties parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeInstanceBackupProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ComputeInstanceBackupProperties> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCanIpForward()
public boolean getCanIpForward()
Enables instances created based on these properties 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
https://cloud.google.com/vpc/docs/using-routes#canipforward
documentation for more information.
optional bool can_ip_forward = 4;
Returns |
Type |
Description |
boolean |
The canIpForward.
|
getDefaultInstanceForType()
public ComputeInstanceBackupProperties getDefaultInstanceForType()
getDescription()
public String getDescription()
An optional text description for the instances that are created from these
properties.
optional string description = 1;
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional text description for the instances that are created from these
properties.
optional string description = 1;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getDisk(int index)
public AttachedDisk getDisk(int index)
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
Parameter |
Name |
Description |
index |
int
|
getDiskCount()
public int getDiskCount()
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
Returns |
Type |
Description |
int |
|
getDiskList()
public List<AttachedDisk> getDiskList()
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
getDiskOrBuilder(int index)
public AttachedDiskOrBuilder getDiskOrBuilder(int index)
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
Parameter |
Name |
Description |
index |
int
|
getDiskOrBuilderList()
public List<? extends AttachedDiskOrBuilder> getDiskOrBuilderList()
An array of disks that are associated with the instances that are created
from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
Returns |
Type |
Description |
List<? extends com.google.cloud.backupdr.v1.AttachedDiskOrBuilder> |
|
getGuestAccelerator(int index)
public AcceleratorConfig getGuestAccelerator(int index)
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
Parameter |
Name |
Description |
index |
int
|
getGuestAcceleratorCount()
public int getGuestAcceleratorCount()
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
Returns |
Type |
Description |
int |
|
getGuestAcceleratorList()
public List<AcceleratorConfig> getGuestAcceleratorList()
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
getGuestAcceleratorOrBuilder(int index)
public AcceleratorConfigOrBuilder getGuestAcceleratorOrBuilder(int index)
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
Parameter |
Name |
Description |
index |
int
|
getGuestAcceleratorOrBuilderList()
public List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorOrBuilderList()
A list of guest accelerator cards' type and count to use for instances
created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
Returns |
Type |
Description |
List<? extends com.google.cloud.backupdr.v1.AcceleratorConfigOrBuilder> |
|
getKeyRevocationActionType()
public KeyRevocationActionType getKeyRevocationActionType()
KeyRevocationActionType of the instance. Supported options are "STOP" and
"NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
getKeyRevocationActionTypeValue()
public int getKeyRevocationActionTypeValue()
KeyRevocationActionType of the instance. Supported options are "STOP" and
"NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for keyRevocationActionType.
|
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getMachineType()
public String getMachineType()
The machine type to use for instances that are created from these
properties.
optional string machine_type = 3;
Returns |
Type |
Description |
String |
The machineType.
|
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
The machine type to use for instances that are created from these
properties.
optional string machine_type = 3;
Returns |
Type |
Description |
ByteString |
The bytes for machineType.
|
public Metadata getMetadata()
The metadata key/value pairs to assign to instances that are created from
these properties. These pairs can consist of custom metadata or predefined
keys. See https://cloud.google.com/compute/docs/metadata/overview for more
information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
Returns |
Type |
Description |
Metadata |
The metadata.
|
public MetadataOrBuilder getMetadataOrBuilder()
The metadata key/value pairs to assign to instances that are created from
these properties. These pairs can consist of custom metadata or predefined
keys. See https://cloud.google.com/compute/docs/metadata/overview for more
information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
public String getMinCpuPlatform()
Minimum cpu/platform to be used by instances. 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
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
Returns |
Type |
Description |
String |
The minCpuPlatform.
|
public ByteString getMinCpuPlatformBytes()
Minimum cpu/platform to be used by instances. 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
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
Returns |
Type |
Description |
ByteString |
The bytes for minCpuPlatform.
|
getNetworkInterface(int index)
public NetworkInterface getNetworkInterface(int index)
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
Parameter |
Name |
Description |
index |
int
|
getNetworkInterfaceCount()
public int getNetworkInterfaceCount()
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
Returns |
Type |
Description |
int |
|
getNetworkInterfaceList()
public List<NetworkInterface> getNetworkInterfaceList()
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
getNetworkInterfaceOrBuilder(int index)
public NetworkInterfaceOrBuilder getNetworkInterfaceOrBuilder(int index)
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
Parameter |
Name |
Description |
index |
int
|
getNetworkInterfaceOrBuilderList()
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfaceOrBuilderList()
An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
Returns |
Type |
Description |
List<? extends com.google.cloud.backupdr.v1.NetworkInterfaceOrBuilder> |
|
getParserForType()
public Parser<ComputeInstanceBackupProperties> getParserForType()
Overrides
getScheduling()
public Scheduling getScheduling()
Specifies the scheduling options for the instances that are created from
these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
Returns |
Type |
Description |
Scheduling |
The scheduling.
|
getSchedulingOrBuilder()
public SchedulingOrBuilder getSchedulingOrBuilder()
Specifies the scheduling options for the instances that are created from
these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getServiceAccount(int index)
public ServiceAccount getServiceAccount(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
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
Parameter |
Name |
Description |
index |
int
|
getServiceAccountCount()
public int getServiceAccountCount()
A list of service accounts with specified scopes. Access tokens for these
service accounts are available to the instances that are created from
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
Returns |
Type |
Description |
int |
|
getServiceAccountList()
public List<ServiceAccount> getServiceAccountList()
A list of service accounts with specified scopes. Access tokens for these
service accounts are available to the instances that are created from
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
getServiceAccountOrBuilder(int index)
public ServiceAccountOrBuilder getServiceAccountOrBuilder(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
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
Parameter |
Name |
Description |
index |
int
|
getServiceAccountOrBuilderList()
public List<? extends ServiceAccountOrBuilder> getServiceAccountOrBuilderList()
A list of service accounts with specified scopes. Access tokens for these
service accounts are available to the instances that are created from
these properties. Use metadata queries to obtain the access tokens for
these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
Returns |
Type |
Description |
List<? extends com.google.cloud.backupdr.v1.ServiceAccountOrBuilder> |
|
getSourceInstance()
public String getSourceInstance()
Returns |
Type |
Description |
String |
The sourceInstance.
|
getSourceInstanceBytes()
public ByteString getSourceInstanceBytes()
Returns |
Type |
Description |
ByteString |
The bytes for sourceInstance.
|
A list of tags to apply to the instances that are created from these
properties. 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 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
Returns |
Type |
Description |
Tags |
The tags.
|
public TagsOrBuilder getTagsOrBuilder()
A list of tags to apply to the instances that are created from these
properties. 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 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
hasCanIpForward()
public boolean hasCanIpForward()
Enables instances created based on these properties 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
https://cloud.google.com/vpc/docs/using-routes#canipforward
documentation for more information.
optional bool can_ip_forward = 4;
Returns |
Type |
Description |
boolean |
Whether the canIpForward field is set.
|
hasDescription()
public boolean hasDescription()
An optional text description for the instances that are created from these
properties.
optional string description = 1;
Returns |
Type |
Description |
boolean |
Whether the description field is set.
|
hasKeyRevocationActionType()
public boolean hasKeyRevocationActionType()
KeyRevocationActionType of the instance. Supported options are "STOP" and
"NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
Returns |
Type |
Description |
boolean |
Whether the keyRevocationActionType field is set.
|
hasMachineType()
public boolean hasMachineType()
The machine type to use for instances that are created from these
properties.
optional string machine_type = 3;
Returns |
Type |
Description |
boolean |
Whether the machineType field is set.
|
public boolean hasMetadata()
The metadata key/value pairs to assign to instances that are created from
these properties. These pairs can consist of custom metadata or predefined
keys. See https://cloud.google.com/compute/docs/metadata/overview for more
information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
public boolean hasMinCpuPlatform()
Minimum cpu/platform to be used by instances. 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
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
Returns |
Type |
Description |
boolean |
Whether the minCpuPlatform field is set.
|
hasScheduling()
public boolean hasScheduling()
Specifies the scheduling options for the instances that are created from
these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
Returns |
Type |
Description |
boolean |
Whether the scheduling field is set.
|
hasSourceInstance()
public boolean hasSourceInstance()
Returns |
Type |
Description |
boolean |
Whether the sourceInstance field is set.
|
A list of tags to apply to the instances that are created from these
properties. 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 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
Returns |
Type |
Description |
boolean |
Whether the tags field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ComputeInstanceBackupProperties.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeInstanceBackupProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ComputeInstanceBackupProperties.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides