Class NetworkAttachmentConnectedEndpoint

    • Field Detail

      • IP_ADDRESS_FIELD_NUMBER

        public static final int IP_ADDRESS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROJECT_ID_OR_NUM_FIELD_NUMBER

        public static final int PROJECT_ID_OR_NUM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER

        public static final int SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUBNETWORK_FIELD_NUMBER

        public static final int SUBNETWORK_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
      • hasIpAddress

        public boolean hasIpAddress()
         The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
         
        optional string ip_address = 406272220;
        Specified by:
        hasIpAddress in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        Whether the ipAddress field is set.
      • getIpAddress

        public String getIpAddress()
         The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
         
        optional string ip_address = 406272220;
        Specified by:
        getIpAddress in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        The ipAddress.
      • getIpAddressBytes

        public com.google.protobuf.ByteString getIpAddressBytes()
         The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
         
        optional string ip_address = 406272220;
        Specified by:
        getIpAddressBytes in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        The bytes for ipAddress.
      • hasProjectIdOrNum

        public boolean hasProjectIdOrNum()
         The project id or number of the interface to which the IP was assigned.
         
        optional string project_id_or_num = 349783336;
        Specified by:
        hasProjectIdOrNum in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        Whether the projectIdOrNum field is set.
      • getProjectIdOrNumBytes

        public com.google.protobuf.ByteString getProjectIdOrNumBytes()
         The project id or number of the interface to which the IP was assigned.
         
        optional string project_id_or_num = 349783336;
        Specified by:
        getProjectIdOrNumBytes in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        The bytes for projectIdOrNum.
      • getSecondaryIpCidrRangesList

        public com.google.protobuf.ProtocolStringList getSecondaryIpCidrRangesList()
         Alias IP ranges from the same subnetwork.
         
        repeated string secondary_ip_cidr_ranges = 117184788;
        Specified by:
        getSecondaryIpCidrRangesList in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        A list containing the secondaryIpCidrRanges.
      • getSecondaryIpCidrRanges

        public String getSecondaryIpCidrRanges​(int index)
         Alias IP ranges from the same subnetwork.
         
        repeated string secondary_ip_cidr_ranges = 117184788;
        Specified by:
        getSecondaryIpCidrRanges in interface NetworkAttachmentConnectedEndpointOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The secondaryIpCidrRanges at the given index.
      • getSecondaryIpCidrRangesBytes

        public com.google.protobuf.ByteString getSecondaryIpCidrRangesBytes​(int index)
         Alias IP ranges from the same subnetwork.
         
        repeated string secondary_ip_cidr_ranges = 117184788;
        Specified by:
        getSecondaryIpCidrRangesBytes in interface NetworkAttachmentConnectedEndpointOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the secondaryIpCidrRanges at the given index.
      • hasStatus

        public boolean hasStatus()
         The status of a connected endpoint to this network attachment.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        hasStatus in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        Whether the status field is set.
      • getStatus

        public String getStatus()
         The status of a connected endpoint to this network attachment.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        getStatus in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        The status.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
         The status of a connected endpoint to this network attachment.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        getStatusBytes in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        The bytes for status.
      • hasSubnetwork

        public boolean hasSubnetwork()
         The subnetwork used to assign the IP to the producer instance network interface.
         
        optional string subnetwork = 307827694;
        Specified by:
        hasSubnetwork in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        Whether the subnetwork field is set.
      • getSubnetworkBytes

        public com.google.protobuf.ByteString getSubnetworkBytes()
         The subnetwork used to assign the IP to the producer instance network interface.
         
        optional string subnetwork = 307827694;
        Specified by:
        getSubnetworkBytes in interface NetworkAttachmentConnectedEndpointOrBuilder
        Returns:
        The bytes for subnetwork.
      • 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 NetworkAttachmentConnectedEndpoint parseFrom​(ByteBuffer data,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<NetworkAttachmentConnectedEndpoint> 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 NetworkAttachmentConnectedEndpoint getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder