Class ListConnectivityTestsRequest

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

    public final class ListConnectivityTestsRequest
    extends com.google.protobuf.GeneratedMessageV3
    implements ListConnectivityTestsRequestOrBuilder
     Request for the `ListConnectivityTests` method.
     
    Protobuf type google.cloud.networkmanagement.v1.ListConnectivityTestsRequest
    See Also:
    Serialized Form
    • 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
      • getParent

        public String getParent()
         Required. The parent resource of the Connectivity Tests:
             `projects/{project_id}/locations/global`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParent in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent resource of the Connectivity Tests:
             `projects/{project_id}/locations/global`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParentBytes in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The bytes for parent.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Page token from an earlier query, as returned in `next_page_token`.
         
        string page_token = 3;
        Specified by:
        getPageTokenBytes in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • getFilter

        public String getFilter()
         Lists the `ConnectivityTests` that match the filter expression. A filter
         expression filters the resources listed in the response. The expression
         must be of the form `<field> <operator> <value>` where operators: `<`, `>`,
         `<=`,
         `>=`,
         `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is
         roughly synonymous with equality). <field> can refer to a proto or JSON
         field, or a synthetic field. Field names can be camelCase or snake_case.
        
         Examples:
         - Filter by name:
           name = "projects/proj-1/locations/global/connectivityTests/test-1
        
         - Filter by labels:
           - Resources that have a key called `foo`
             labels.foo:*
           - Resources that have a key called `foo` whose value is `bar`
             labels.foo = bar
         
        string filter = 4;
        Specified by:
        getFilter in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Lists the `ConnectivityTests` that match the filter expression. A filter
         expression filters the resources listed in the response. The expression
         must be of the form `<field> <operator> <value>` where operators: `<`, `>`,
         `<=`,
         `>=`,
         `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is
         roughly synonymous with equality). <field> can refer to a proto or JSON
         field, or a synthetic field. Field names can be camelCase or snake_case.
        
         Examples:
         - Filter by name:
           name = "projects/proj-1/locations/global/connectivityTests/test-1
        
         - Filter by labels:
           - Resources that have a key called `foo`
             labels.foo:*
           - Resources that have a key called `foo` whose value is `bar`
             labels.foo = bar
         
        string filter = 4;
        Specified by:
        getFilterBytes in interface ListConnectivityTestsRequestOrBuilder
        Returns:
        The bytes for filter.
      • 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 ListConnectivityTestsRequest parseFrom​(ByteBuffer data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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