Package com.google.cloud.vmwareengine.v1
Class NetworkPeering.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkPeering.Builder>
com.google.cloud.vmwareengine.v1.NetworkPeering.Builder
- All Implemented Interfaces:
NetworkPeeringOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkPeering
public static final class NetworkPeering.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NetworkPeering.Builder>
implements NetworkPeeringOrBuilder
Details of a network peering.Protobuf type
google.cloud.vmwareengine.v1.NetworkPeering-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Optional.Optional.Optional.Optional.Optional.Optional.Output only.Optional.Required.Required.Output only.Output only.clearUid()Output only.Output only.Required.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.DescriptorbooleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.getName()Output only.com.google.protobuf.ByteStringOutput only.intOptional.Required.com.google.protobuf.ByteStringRequired.Required.intRequired.getState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput 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.Required.com.google.protobuf.ByteStringRequired.booleanOutput only.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(NetworkPeering other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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.setExchangeSubnetRoutes(boolean value) Optional.setExportCustomRoutes(boolean value) Optional.setExportCustomRoutesWithPublicIp(boolean value) Optional.setImportCustomRoutes(boolean value) Optional.setImportCustomRoutesWithPublicIp(boolean value) Optional.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPeerMtu(int value) Optional.setPeerNetwork(String value) Required.setPeerNetworkBytes(com.google.protobuf.ByteString value) Required.Required.setPeerNetworkTypeValue(int value) Required.setState(NetworkPeering.State value) Output only.setStateDetails(String value) Output only.setStateDetailsBytes(com.google.protobuf.ByteString value) Output only.setStateValue(int 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) Required.setVmwareEngineNetworkBytes(com.google.protobuf.ByteString value) Required.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<NetworkPeering.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<NetworkPeering.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<NetworkPeering.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<NetworkPeering.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NetworkPeering.Builder>
-
mergeFrom
public NetworkPeering.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<NetworkPeering.Builder>- Throws:
IOException
-
getName
Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceNetworkPeeringOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`
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 the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The resource name of the network peering. NetworkPeering is a global resource and location can only be global. Resource names are scheme-less URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/global/networkPeerings/my-peering`
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 interfaceNetworkPeeringOrBuilder- 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 interfaceNetworkPeeringOrBuilder- 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 interfaceNetworkPeeringOrBuilder
-
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 interfaceNetworkPeeringOrBuilder- 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 interfaceNetworkPeeringOrBuilder- 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 interfaceNetworkPeeringOrBuilder
-
getPeerNetwork
Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.string peer_network = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPeerNetworkin interfaceNetworkPeeringOrBuilder- Returns:
- The peerNetwork.
-
getPeerNetworkBytes
public com.google.protobuf.ByteString getPeerNetworkBytes()Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.string peer_network = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPeerNetworkBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for peerNetwork.
-
setPeerNetwork
Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.string peer_network = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The peerNetwork to set.- Returns:
- This builder for chaining.
-
clearPeerNetwork
Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.string peer_network = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setPeerNetworkBytes
Required. The relative resource name of the network to peer with a standard VMware Engine network. The provided network can be a consumer VPC network or another standard VMware Engine network. If the `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. Otherwise specify the name in the form: `projects/{project}/global/networks/{network_id}`, where `{project}` can either be a project number or a project ID.string peer_network = 5 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for peerNetwork to set.- Returns:
- This builder for chaining.
-
hasExportCustomRoutes
public boolean hasExportCustomRoutes()Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
optional bool export_custom_routes = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasExportCustomRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the exportCustomRoutes field is set.
-
getExportCustomRoutes
public boolean getExportCustomRoutes()Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
optional bool export_custom_routes = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExportCustomRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- The exportCustomRoutes.
-
setExportCustomRoutes
Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
optional bool export_custom_routes = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The exportCustomRoutes to set.- Returns:
- This builder for chaining.
-
clearExportCustomRoutes
Optional. True if custom routes are exported to the peered network; false otherwise. The default value is true.
optional bool export_custom_routes = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasImportCustomRoutes
public boolean hasImportCustomRoutes()Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
optional bool import_custom_routes = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasImportCustomRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the importCustomRoutes field is set.
-
getImportCustomRoutes
public boolean getImportCustomRoutes()Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
optional bool import_custom_routes = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getImportCustomRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- The importCustomRoutes.
-
setImportCustomRoutes
Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
optional bool import_custom_routes = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The importCustomRoutes to set.- Returns:
- This builder for chaining.
-
clearImportCustomRoutes
Optional. True if custom routes are imported from the peered network; false otherwise. The default value is true.
optional bool import_custom_routes = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasExchangeSubnetRoutes
public boolean hasExchangeSubnetRoutes()Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
optional bool exchange_subnet_routes = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasExchangeSubnetRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the exchangeSubnetRoutes field is set.
-
getExchangeSubnetRoutes
public boolean getExchangeSubnetRoutes()Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
optional bool exchange_subnet_routes = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExchangeSubnetRoutesin interfaceNetworkPeeringOrBuilder- Returns:
- The exchangeSubnetRoutes.
-
setExchangeSubnetRoutes
Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
optional bool exchange_subnet_routes = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The exchangeSubnetRoutes to set.- Returns:
- This builder for chaining.
-
clearExchangeSubnetRoutes
Optional. True if full mesh connectivity is created and managed automatically between peered networks; false otherwise. Currently this field is always true because Google Compute Engine automatically creates and manages subnetwork routes between two VPC networks when peering state is 'ACTIVE'.
optional bool exchange_subnet_routes = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasExportCustomRoutesWithPublicIp
public boolean hasExportCustomRoutesWithPublicIp()Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
optional bool export_custom_routes_with_public_ip = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasExportCustomRoutesWithPublicIpin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the exportCustomRoutesWithPublicIp field is set.
-
getExportCustomRoutesWithPublicIp
public boolean getExportCustomRoutesWithPublicIp()Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
optional bool export_custom_routes_with_public_ip = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getExportCustomRoutesWithPublicIpin interfaceNetworkPeeringOrBuilder- Returns:
- The exportCustomRoutesWithPublicIp.
-
setExportCustomRoutesWithPublicIp
Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
optional bool export_custom_routes_with_public_ip = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The exportCustomRoutesWithPublicIp to set.- Returns:
- This builder for chaining.
-
clearExportCustomRoutesWithPublicIp
Optional. True if all subnet routes with a public IP address range are exported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
optional bool export_custom_routes_with_public_ip = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
hasImportCustomRoutesWithPublicIp
public boolean hasImportCustomRoutesWithPublicIp()Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
optional bool import_custom_routes_with_public_ip = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasImportCustomRoutesWithPublicIpin interfaceNetworkPeeringOrBuilder- Returns:
- Whether the importCustomRoutesWithPublicIp field is set.
-
getImportCustomRoutesWithPublicIp
public boolean getImportCustomRoutesWithPublicIp()Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
optional bool import_custom_routes_with_public_ip = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getImportCustomRoutesWithPublicIpin interfaceNetworkPeeringOrBuilder- Returns:
- The importCustomRoutesWithPublicIp.
-
setImportCustomRoutesWithPublicIp
Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
optional bool import_custom_routes_with_public_ip = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The importCustomRoutesWithPublicIp to set.- Returns:
- This builder for chaining.
-
clearImportCustomRoutesWithPublicIp
Optional. True if all subnet routes with public IP address range are imported; false otherwise. The default value is true. IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported to peers and are not controlled by this field.
optional bool import_custom_routes_with_public_ip = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
.google.cloud.vmwareengine.v1.NetworkPeering.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceNetworkPeeringOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
.google.cloud.vmwareengine.v1.NetworkPeering.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
.google.cloud.vmwareengine.v1.NetworkPeering.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceNetworkPeeringOrBuilder- Returns:
- The state.
-
setState
Output only. State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
.google.cloud.vmwareengine.v1.NetworkPeering.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. State of the network peering. This field has a value of 'ACTIVE' when there's a matching configuration in the peer network. New values may be added to this enum when appropriate.
.google.cloud.vmwareengine.v1.NetworkPeering.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStateDetails
Output only. Output Only. Details about the current state of the network peering.
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailsin interfaceNetworkPeeringOrBuilder- Returns:
- The stateDetails.
-
getStateDetailsBytes
public com.google.protobuf.ByteString getStateDetailsBytes()Output only. Output Only. Details about the current state of the network peering.
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDetailsBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for stateDetails.
-
setStateDetails
Output only. Output Only. Details about the current state of the network peering.
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The stateDetails to set.- Returns:
- This builder for chaining.
-
clearStateDetails
Output only. Output Only. Details about the current state of the network peering.
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStateDetailsBytes
Output only. Output Only. Details about the current state of the network peering.
string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for stateDetails to set.- Returns:
- This builder for chaining.
-
getPeerMtu
public int getPeerMtu()Optional. Maximum transmission unit (MTU) in bytes. The default value is `1500`. If a value of `0` is provided for this field, VMware Engine uses the default value instead.
int32 peer_mtu = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPeerMtuin interfaceNetworkPeeringOrBuilder- Returns:
- The peerMtu.
-
setPeerMtu
Optional. Maximum transmission unit (MTU) in bytes. The default value is `1500`. If a value of `0` is provided for this field, VMware Engine uses the default value instead.
int32 peer_mtu = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The peerMtu to set.- Returns:
- This builder for chaining.
-
clearPeerMtu
Optional. Maximum transmission unit (MTU) in bytes. The default value is `1500`. If a value of `0` is provided for this field, VMware Engine uses the default value instead.
int32 peer_mtu = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getPeerNetworkTypeValue
public int getPeerNetworkTypeValue()Required. The type of the network to peer with the VMware Engine network.
.google.cloud.vmwareengine.v1.NetworkPeering.PeerNetworkType peer_network_type = 16 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPeerNetworkTypeValuein interfaceNetworkPeeringOrBuilder- Returns:
- The enum numeric value on the wire for peerNetworkType.
-
setPeerNetworkTypeValue
Required. The type of the network to peer with the VMware Engine network.
.google.cloud.vmwareengine.v1.NetworkPeering.PeerNetworkType peer_network_type = 16 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for peerNetworkType to set.- Returns:
- This builder for chaining.
-
getPeerNetworkType
Required. The type of the network to peer with the VMware Engine network.
.google.cloud.vmwareengine.v1.NetworkPeering.PeerNetworkType peer_network_type = 16 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPeerNetworkTypein interfaceNetworkPeeringOrBuilder- Returns:
- The peerNetworkType.
-
setPeerNetworkType
Required. The type of the network to peer with the VMware Engine network.
.google.cloud.vmwareengine.v1.NetworkPeering.PeerNetworkType peer_network_type = 16 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The peerNetworkType to set.- Returns:
- This builder for chaining.
-
clearPeerNetworkType
Required. The type of the network to peer with the VMware Engine network.
.google.cloud.vmwareengine.v1.NetworkPeering.PeerNetworkType peer_network_type = 16 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getUid
Output only. System-generated unique identifier for the resource.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceNetworkPeeringOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. System-generated unique identifier for the resource.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. System-generated unique identifier for the resource.
string uid = 17 [(.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 = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. System-generated unique identifier for the resource.
string uid = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getVmwareEngineNetwork
Required. 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 = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getVmwareEngineNetworkin interfaceNetworkPeeringOrBuilder- Returns:
- The vmwareEngineNetwork.
-
getVmwareEngineNetworkBytes
public com.google.protobuf.ByteString getVmwareEngineNetworkBytes()Required. 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 = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getVmwareEngineNetworkBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for vmwareEngineNetwork.
-
setVmwareEngineNetwork
Required. 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 = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The vmwareEngineNetwork to set.- Returns:
- This builder for chaining.
-
clearVmwareEngineNetwork
Required. 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 = 20 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setVmwareEngineNetworkBytes
Required. 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 = 20 [(.google.api.field_behavior) = REQUIRED, (.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 peering.
string description = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceNetworkPeeringOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. User-provided description for this network peering.
string description = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceNetworkPeeringOrBuilder- Returns:
- The bytes for description.
-
setDescription
Optional. User-provided description for this network peering.
string description = 21 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Optional. User-provided description for this network peering.
string description = 21 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
Optional. User-provided description for this network peering.
string description = 21 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-