Package com.google.cloud.vmwareengine.v1
Class NetworkPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkPolicy.Builder>
com.google.cloud.vmwareengine.v1.NetworkPolicy.Builder
- All Implemented Interfaces:
NetworkPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkPolicy
public static final class NetworkPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NetworkPolicy.Builder>
implements NetworkPolicyOrBuilder
Represents a network policy resource. Network policies are regional resources. You can use a network policy to enable or disable internet access and external IP access. Network policies are associated with a VMware Engine network, which might span across regions. For a given region, a network policy applies to all private clouds in the VMware Engine network associated with the policy.Protobuf type
google.cloud.vmwareengine.v1.NetworkPolicy-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Optional.Required.Network service that allows External IP addresses to be assigned to VMware workloads.Network service that allows VMware workloads to access the internet.Output only.clearUid()Output only.Output only.Optional.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Network service that allows External IP addresses to be assigned to VMware workloads.Network service that allows External IP addresses to be assigned to VMware workloads.Network service that allows External IP addresses to be assigned to VMware workloads.Network service that allows VMware workloads to access the internet.Network service that allows VMware workloads to access the internet.Network service that allows VMware workloads to access the internet.getName()Output only.com.google.protobuf.ByteStringOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanNetwork service that allows External IP addresses to be assigned to VMware workloads.booleanNetwork service that allows VMware workloads to access the internet.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.Network service that allows External IP addresses to be assigned to VMware workloads.mergeFrom(NetworkPolicy other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Network service that allows VMware workloads to access the internet.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.setEdgeServicesCidr(String value) Required.setEdgeServicesCidrBytes(com.google.protobuf.ByteString value) Required.Network service that allows External IP addresses to be assigned to VMware workloads.setExternalIp(NetworkPolicy.NetworkService.Builder builderForValue) Network service that allows External IP addresses to be assigned to VMware workloads.Network service that allows VMware workloads to access the internet.setInternetAccess(NetworkPolicy.NetworkService.Builder builderForValue) Network service that allows VMware workloads to access the internet.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setVmwareEngineNetwork(String value) Optional.setVmwareEngineNetworkBytes(com.google.protobuf.ByteString value) Optional.Output only.setVmwareEngineNetworkCanonicalBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<NetworkPolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NetworkPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NetworkPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NetworkPolicy.Builder>
-
mergeFrom
public NetworkPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkPolicy.Builder>- Throws:
IOException
-
getName
Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceNetworkPolicyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceNetworkPolicyOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The resource name of this network policy. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceNetworkPolicyOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceNetworkPolicyOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceNetworkPolicyOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceNetworkPolicyOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceNetworkPolicyOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceNetworkPolicyOrBuilder
-
hasInternetAccess
public boolean hasInternetAccess()Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6;- Specified by:
hasInternetAccessin interfaceNetworkPolicyOrBuilder- Returns:
- Whether the internetAccess field is set.
-
getInternetAccess
Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6;- Specified by:
getInternetAccessin interfaceNetworkPolicyOrBuilder- Returns:
- The internetAccess.
-
setInternetAccess
Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6; -
setInternetAccess
public NetworkPolicy.Builder setInternetAccess(NetworkPolicy.NetworkService.Builder builderForValue) Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6; -
mergeInternetAccess
Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6; -
clearInternetAccess
Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6; -
getInternetAccessBuilder
Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6; -
getInternetAccessOrBuilder
Network service that allows VMware workloads to access the internet.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService internet_access = 6;- Specified by:
getInternetAccessOrBuilderin interfaceNetworkPolicyOrBuilder
-
hasExternalIp
public boolean hasExternalIp()Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7;- Specified by:
hasExternalIpin interfaceNetworkPolicyOrBuilder- Returns:
- Whether the externalIp field is set.
-
getExternalIp
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7;- Specified by:
getExternalIpin interfaceNetworkPolicyOrBuilder- Returns:
- The externalIp.
-
setExternalIp
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7; -
setExternalIp
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7; -
mergeExternalIp
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7; -
clearExternalIp
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7; -
getExternalIpBuilder
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7; -
getExternalIpOrBuilder
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only be enabled when `internet_access` is also enabled.
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService external_ip = 7;- Specified by:
getExternalIpOrBuilderin interfaceNetworkPolicyOrBuilder
-
getEdgeServicesCidr
Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.
string edge_services_cidr = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEdgeServicesCidrin interfaceNetworkPolicyOrBuilder- Returns:
- The edgeServicesCidr.
-
getEdgeServicesCidrBytes
public com.google.protobuf.ByteString getEdgeServicesCidrBytes()Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.
string edge_services_cidr = 9 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEdgeServicesCidrBytesin interfaceNetworkPolicyOrBuilder- Returns:
- The bytes for edgeServicesCidr.
-
setEdgeServicesCidr
Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.
string edge_services_cidr = 9 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The edgeServicesCidr to set.- Returns:
- This builder for chaining.
-
clearEdgeServicesCidr
Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.
string edge_services_cidr = 9 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setEdgeServicesCidrBytes
Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.
string edge_services_cidr = 9 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for edgeServicesCidr to set.- Returns:
- This builder for chaining.
-
getUid
Output only. System-generated unique identifier for the resource.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceNetworkPolicyOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. System-generated unique identifier for the resource.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceNetworkPolicyOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. System-generated unique identifier for the resource.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. System-generated unique identifier for the resource.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. System-generated unique identifier for the resource.
string uid = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getVmwareEngineNetwork
Optional. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.string vmware_engine_network = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getVmwareEngineNetworkin interfaceNetworkPolicyOrBuilder- Returns:
- The vmwareEngineNetwork.
-
getVmwareEngineNetworkBytes
public com.google.protobuf.ByteString getVmwareEngineNetworkBytes()Optional. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.string vmware_engine_network = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getVmwareEngineNetworkBytesin interfaceNetworkPolicyOrBuilder- Returns:
- The bytes for vmwareEngineNetwork.
-
setVmwareEngineNetwork
Optional. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.string vmware_engine_network = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The vmwareEngineNetwork to set.- Returns:
- This builder for chaining.
-
clearVmwareEngineNetwork
Optional. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.string vmware_engine_network = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setVmwareEngineNetworkBytes
Optional. The relative resource name of the VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}` can either be a project number or a project ID.string vmware_engine_network = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for vmwareEngineNetwork to set.- Returns:
- This builder for chaining.
-
getDescription
Optional. User-provided description for this network policy.
string description = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceNetworkPolicyOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. User-provided description for this network policy.
string description = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceNetworkPolicyOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. User-provided description for this network policy.
string description = 13 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. User-provided description for this network policy.
string description = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. User-provided description for this network policy.
string description = 13 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getVmwareEngineNetworkCanonical
Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`string vmware_engine_network_canonical = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getVmwareEngineNetworkCanonicalin interfaceNetworkPolicyOrBuilder- Returns:
- The vmwareEngineNetworkCanonical.
-
getVmwareEngineNetworkCanonicalBytes
public com.google.protobuf.ByteString getVmwareEngineNetworkCanonicalBytes()Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`string vmware_engine_network_canonical = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getVmwareEngineNetworkCanonicalBytesin interfaceNetworkPolicyOrBuilder- Returns:
- The bytes for vmwareEngineNetworkCanonical.
-
setVmwareEngineNetworkCanonical
Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`string vmware_engine_network_canonical = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The vmwareEngineNetworkCanonical to set.- Returns:
- This builder for chaining.
-
clearVmwareEngineNetworkCanonical
Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`string vmware_engine_network_canonical = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setVmwareEngineNetworkCanonicalBytes
public NetworkPolicy.Builder setVmwareEngineNetworkCanonicalBytes(com.google.protobuf.ByteString value) Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`string vmware_engine_network_canonical = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for vmwareEngineNetworkCanonical to set.- Returns:
- This builder for chaining.
-