Class NetworkConfig

  • All Implemented Interfaces:
    NetworkConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class NetworkConfig
    extends com.google.protobuf.GeneratedMessageV3
    implements NetworkConfigOrBuilder
     Network configuration in the consumer project
     with which the peering has to be done.
     
    Protobuf type google.cloud.vmwareengine.v1.NetworkConfig
    See Also:
    Serialized Form
    • Field Detail

      • MANAGEMENT_CIDR_FIELD_NUMBER

        public static final int MANAGEMENT_CIDR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VMWARE_ENGINE_NETWORK_FIELD_NUMBER

        public static final int VMWARE_ENGINE_NETWORK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • VMWARE_ENGINE_NETWORK_CANONICAL_FIELD_NUMBER

        public static final int VMWARE_ENGINE_NETWORK_CANONICAL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MANAGEMENT_IP_ADDRESS_LAYOUT_VERSION_FIELD_NUMBER

        public static final int MANAGEMENT_IP_ADDRESS_LAYOUT_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getManagementCidr

        public String getManagementCidr()
         Required. Management CIDR used by VMware management appliances.
         
        string management_cidr = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getManagementCidr in interface NetworkConfigOrBuilder
        Returns:
        The managementCidr.
      • getManagementCidrBytes

        public com.google.protobuf.ByteString getManagementCidrBytes()
         Required. Management CIDR used by VMware management appliances.
         
        string management_cidr = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getManagementCidrBytes in interface NetworkConfigOrBuilder
        Returns:
        The bytes for managementCidr.
      • getVmwareEngineNetwork

        public String getVmwareEngineNetwork()
         Optional. The relative resource name of the VMware Engine network attached
         to the private cloud. 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 = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Specified by:
        getVmwareEngineNetwork in interface NetworkConfigOrBuilder
        Returns:
        The vmwareEngineNetwork.
      • getVmwareEngineNetworkBytes

        public com.google.protobuf.ByteString getVmwareEngineNetworkBytes()
         Optional. The relative resource name of the VMware Engine network attached
         to the private cloud. 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 = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
        Specified by:
        getVmwareEngineNetworkBytes in interface NetworkConfigOrBuilder
        Returns:
        The bytes for vmwareEngineNetwork.
      • getVmwareEngineNetworkCanonical

        public String 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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getVmwareEngineNetworkCanonical in interface NetworkConfigOrBuilder
        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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getVmwareEngineNetworkCanonicalBytes in interface NetworkConfigOrBuilder
        Returns:
        The bytes for vmwareEngineNetworkCanonical.
      • getManagementIpAddressLayoutVersion

        public int getManagementIpAddressLayoutVersion()
         Output only. The IP address layout version of the management IP address
         range. Possible versions include:
         * `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address
         layout used by some existing private clouds. This is no longer supported
         for new private clouds as it does not support all features.
         * `managementIpAddressLayoutVersion=2`: Indicates the latest IP address
         layout used by all newly created private clouds. This version supports all
         current features.
         
        int32 management_ip_address_layout_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getManagementIpAddressLayoutVersion in interface NetworkConfigOrBuilder
        Returns:
        The managementIpAddressLayoutVersion.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static NetworkConfig parseFrom​(ByteBuffer data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NetworkConfig parseFrom​(ByteBuffer data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NetworkConfig parseFrom​(com.google.protobuf.ByteString data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NetworkConfig parseFrom​(com.google.protobuf.ByteString data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NetworkConfig parseFrom​(byte[] data)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NetworkConfig parseFrom​(byte[] data,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static NetworkConfig parseFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws IOException
        Throws:
        IOException
      • newBuilderForType

        public NetworkConfig.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public NetworkConfig.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected NetworkConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static NetworkConfig getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<NetworkConfig> parser()
      • getParserForType

        public com.google.protobuf.Parser<NetworkConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public NetworkConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder