Class GetConnectivityRulesRequest.Builder

    • Method Detail

      • 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.Builder<GetConnectivityRulesRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GetConnectivityRulesRequest.Builder>
      • getDefaultInstanceForType

        public GetConnectivityRulesRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GetConnectivityRulesRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GetConnectivityRulesRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public GetConnectivityRulesRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    int index,
                                                                    java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetConnectivityRulesRequest.Builder>
      • addRepeatedField

        public GetConnectivityRulesRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetConnectivityRulesRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GetConnectivityRulesRequest.Builder>
      • mergeFrom

        public GetConnectivityRulesRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetConnectivityRulesRequest.Builder>
        Throws:
        java.io.IOException
      • setPageSize

        public GetConnectivityRulesRequest.Builder setPageSize​(int value)
         The requested size of the page to retrieve.
         Optional, defaults to 100.
         
        int32 page_size = 1;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public GetConnectivityRulesRequest.Builder clearPageSize()
         The requested size of the page to retrieve.
         Optional, defaults to 100.
         
        int32 page_size = 1;
        Returns:
        This builder for chaining.
      • getPageToken

        public java.lang.String getPageToken()
         The page token if this is continuing from another response.
         Optional, defaults to empty.
         
        string page_token = 2;
        Specified by:
        getPageToken in interface GetConnectivityRulesRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         The page token if this is continuing from another response.
         Optional, defaults to empty.
         
        string page_token = 2;
        Specified by:
        getPageTokenBytes in interface GetConnectivityRulesRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public GetConnectivityRulesRequest.Builder setPageToken​(java.lang.String value)
         The page token if this is continuing from another response.
         Optional, defaults to empty.
         
        string page_token = 2;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public GetConnectivityRulesRequest.Builder clearPageToken()
         The page token if this is continuing from another response.
         Optional, defaults to empty.
         
        string page_token = 2;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public GetConnectivityRulesRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         The page token if this is continuing from another response.
         Optional, defaults to empty.
         
        string page_token = 2;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getNamespaceBytes

        public com.google.protobuf.ByteString getNamespaceBytes()
         Filter connectivity rule by the namespace id.
         
        string namespace = 3;
        Specified by:
        getNamespaceBytes in interface GetConnectivityRulesRequestOrBuilder
        Returns:
        The bytes for namespace.
      • setNamespace

        public GetConnectivityRulesRequest.Builder setNamespace​(java.lang.String value)
         Filter connectivity rule by the namespace id.
         
        string namespace = 3;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • clearNamespace

        public GetConnectivityRulesRequest.Builder clearNamespace()
         Filter connectivity rule by the namespace id.
         
        string namespace = 3;
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public GetConnectivityRulesRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
         Filter connectivity rule by the namespace id.
         
        string namespace = 3;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final GetConnectivityRulesRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetConnectivityRulesRequest.Builder>