public static final class TargetInstance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder> implements TargetInstanceOrBuilder
Represents a Target Instance resource. You can use a target instance to handle traffic for one or more forwarding rules, which is ideal for forwarding protocol traffic that is managed by a single source. For example, ESP, AH, TCP, or UDP. For more information, read Target instances.Protobuf type
google.cloud.compute.v1.TargetInstance| Modifier and Type | Method and Description |
|---|---|
TargetInstance.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TargetInstance |
build() |
TargetInstance |
buildPartial() |
TargetInstance.Builder |
clear() |
TargetInstance.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetInstance.Builder |
clearDescription()
An optional description of this resource.
|
TargetInstance.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TargetInstance.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
TargetInstance.Builder |
clearInstance()
A URL to the virtual machine instance that handles traffic for this target instance.
|
TargetInstance.Builder |
clearKind()
[Output Only] The type of the resource.
|
TargetInstance.Builder |
clearName()
Name of the resource.
|
TargetInstance.Builder |
clearNatPolicy()
Must have a value of NO_NAT.
|
TargetInstance.Builder |
clearNetwork()
The URL of the network this target instance uses to forward traffic.
|
TargetInstance.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TargetInstance.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
TargetInstance.Builder |
clearZone()
[Output Only] URL of the zone where the target instance resides.
|
TargetInstance.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetInstance |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getInstance()
A URL to the virtual machine instance that handles traffic for this target instance.
|
com.google.protobuf.ByteString |
getInstanceBytes()
A URL to the virtual machine instance that handles traffic for this target instance.
|
String |
getKind()
[Output Only] The type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] The type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getNatPolicy()
Must have a value of NO_NAT.
|
com.google.protobuf.ByteString |
getNatPolicyBytes()
Must have a value of NO_NAT.
|
String |
getNetwork()
The URL of the network this target instance uses to forward traffic.
|
com.google.protobuf.ByteString |
getNetworkBytes()
The URL of the network this target instance uses to forward traffic.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getZone()
[Output Only] URL of the zone where the target instance resides.
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] URL of the zone where the target instance resides.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasInstance()
A URL to the virtual machine instance that handles traffic for this target instance.
|
boolean |
hasKind()
[Output Only] The type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasNatPolicy()
Must have a value of NO_NAT.
|
boolean |
hasNetwork()
The URL of the network this target instance uses to forward traffic.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasZone()
[Output Only] URL of the zone where the target instance resides.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TargetInstance.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TargetInstance.Builder |
mergeFrom(com.google.protobuf.Message other) |
TargetInstance.Builder |
mergeFrom(TargetInstance other) |
TargetInstance.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TargetInstance.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetInstance.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetInstance.Builder |
setDescription(String value)
An optional description of this resource.
|
TargetInstance.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
TargetInstance.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TargetInstance.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
TargetInstance.Builder |
setInstance(String value)
A URL to the virtual machine instance that handles traffic for this target instance.
|
TargetInstance.Builder |
setInstanceBytes(com.google.protobuf.ByteString value)
A URL to the virtual machine instance that handles traffic for this target instance.
|
TargetInstance.Builder |
setKind(String value)
[Output Only] The type of the resource.
|
TargetInstance.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The type of the resource.
|
TargetInstance.Builder |
setName(String value)
Name of the resource.
|
TargetInstance.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
TargetInstance.Builder |
setNatPolicy(String value)
Must have a value of NO_NAT.
|
TargetInstance.Builder |
setNatPolicyBytes(com.google.protobuf.ByteString value)
Must have a value of NO_NAT.
|
TargetInstance.Builder |
setNetwork(String value)
The URL of the network this target instance uses to forward traffic.
|
TargetInstance.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
The URL of the network this target instance uses to forward traffic.
|
TargetInstance.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TargetInstance.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
TargetInstance.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
TargetInstance.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TargetInstance.Builder |
setZone(String value)
[Output Only] URL of the zone where the target instance resides.
|
TargetInstance.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the zone where the target instance resides.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public TargetInstance.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public TargetInstance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TargetInstance build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TargetInstance buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TargetInstance.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public TargetInstance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public TargetInstance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public TargetInstance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public TargetInstance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public TargetInstance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public TargetInstance.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TargetInstance.Builder>public TargetInstance.Builder mergeFrom(TargetInstance other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public TargetInstance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TargetInstance.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface TargetInstanceOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface TargetInstanceOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public TargetInstance.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public TargetInstance.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface TargetInstanceOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface TargetInstanceOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public TargetInstance.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public TargetInstance.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface TargetInstanceOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public TargetInstance.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasInstance()
A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string instance = 18257045;hasInstance in interface TargetInstanceOrBuilderpublic String getInstance()
A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string instance = 18257045;getInstance in interface TargetInstanceOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string instance = 18257045;getInstanceBytes in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setInstance(String value)
A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string instance = 18257045;value - The instance to set.public TargetInstance.Builder clearInstance()
A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string instance = 18257045;public TargetInstance.Builder setInstanceBytes(com.google.protobuf.ByteString value)
A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance
optional string instance = 18257045;value - The bytes for instance to set.public boolean hasKind()
[Output Only] The type of the resource. Always compute#targetInstance for target instances.
optional string kind = 3292052;hasKind in interface TargetInstanceOrBuilderpublic String getKind()
[Output Only] The type of the resource. Always compute#targetInstance for target instances.
optional string kind = 3292052;getKind in interface TargetInstanceOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#targetInstance for target instances.
optional string kind = 3292052;getKindBytes in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setKind(String value)
[Output Only] The type of the resource. Always compute#targetInstance for target instances.
optional string kind = 3292052;value - The kind to set.public TargetInstance.Builder clearKind()
[Output Only] The type of the resource. Always compute#targetInstance for target instances.
optional string kind = 3292052;public TargetInstance.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] The type of the resource. Always compute#targetInstance for target instances.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface TargetInstanceOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface TargetInstanceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setName(String value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The name to set.public TargetInstance.Builder clearName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;public TargetInstance.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The bytes for name to set.public boolean hasNatPolicy()
Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. Check the NatPolicy enum for the list of possible values.
optional string nat_policy = 509780496;hasNatPolicy in interface TargetInstanceOrBuilderpublic String getNatPolicy()
Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. Check the NatPolicy enum for the list of possible values.
optional string nat_policy = 509780496;getNatPolicy in interface TargetInstanceOrBuilderpublic com.google.protobuf.ByteString getNatPolicyBytes()
Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. Check the NatPolicy enum for the list of possible values.
optional string nat_policy = 509780496;getNatPolicyBytes in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setNatPolicy(String value)
Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. Check the NatPolicy enum for the list of possible values.
optional string nat_policy = 509780496;value - The natPolicy to set.public TargetInstance.Builder clearNatPolicy()
Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. Check the NatPolicy enum for the list of possible values.
optional string nat_policy = 509780496;public TargetInstance.Builder setNatPolicyBytes(com.google.protobuf.ByteString value)
Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. Check the NatPolicy enum for the list of possible values.
optional string nat_policy = 509780496;value - The bytes for natPolicy to set.public boolean hasNetwork()
The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.
optional string network = 232872494;hasNetwork in interface TargetInstanceOrBuilderpublic String getNetwork()
The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.
optional string network = 232872494;getNetwork in interface TargetInstanceOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.
optional string network = 232872494;getNetworkBytes in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setNetwork(String value)
The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.
optional string network = 232872494;value - The network to set.public TargetInstance.Builder clearNetwork()
The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.
optional string network = 232872494;public TargetInstance.Builder setNetworkBytes(com.google.protobuf.ByteString value)
The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.
optional string network = 232872494;value - The bytes for network to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface TargetInstanceOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface TargetInstanceOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public TargetInstance.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public TargetInstance.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasZone()
[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;hasZone in interface TargetInstanceOrBuilderpublic String getZone()
[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;getZone in interface TargetInstanceOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;getZoneBytes in interface TargetInstanceOrBuilderpublic TargetInstance.Builder setZone(String value)
[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;value - The zone to set.public TargetInstance.Builder clearZone()
[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;public TargetInstance.Builder setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;value - The bytes for zone to set.public final TargetInstance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>public final TargetInstance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TargetInstance.Builder>Copyright © 2023 Google LLC. All rights reserved.