Class ListLocationsRequest.Builder

  • All Implemented Interfaces:
    ListLocationsRequestOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    ListLocationsRequest

    public static final class ListLocationsRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsRequest.Builder>
    implements ListLocationsRequestOrBuilder
     The request message for [Locations.ListLocations][google.cloud.location.Locations.ListLocations].
     
    Protobuf type google.cloud.location.ListLocationsRequest
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Overrides:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsRequest.Builder>
      • clear

        public ListLocationsRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsRequest.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.GeneratedMessage.Builder<ListLocationsRequest.Builder>
      • getDefaultInstanceForType

        public ListLocationsRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

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

        public ListLocationsRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsRequest.Builder>
      • setField

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

        public ListLocationsRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsRequest.Builder>
      • clearOneof

        public ListLocationsRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListLocationsRequest.Builder>
      • setRepeatedField

        public ListLocationsRequest.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<ListLocationsRequest.Builder>
      • addRepeatedField

        public ListLocationsRequest.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<ListLocationsRequest.Builder>
      • isInitialized

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

        public ListLocationsRequest.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<ListLocationsRequest.Builder>
        Throws:
        java.io.IOException
      • getName

        public java.lang.String getName()
         The resource that owns the locations collection, if applicable.
         
        string name = 1;
        Specified by:
        getName in interface ListLocationsRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The resource that owns the locations collection, if applicable.
         
        string name = 1;
        Specified by:
        getNameBytes in interface ListLocationsRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ListLocationsRequest.Builder setName​(java.lang.String value)
         The resource that owns the locations collection, if applicable.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ListLocationsRequest.Builder clearName()
         The resource that owns the locations collection, if applicable.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public ListLocationsRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The resource that owns the locations collection, if applicable.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         The standard list filter.
         
        string filter = 2;
        Specified by:
        getFilterBytes in interface ListLocationsRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListLocationsRequest.Builder setFilter​(java.lang.String value)
         The standard list filter.
         
        string filter = 2;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListLocationsRequest.Builder clearFilter()
         The standard list filter.
         
        string filter = 2;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListLocationsRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         The standard list filter.
         
        string filter = 2;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • setPageSize

        public ListLocationsRequest.Builder setPageSize​(int value)
         The standard list page size.
         
        int32 page_size = 3;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListLocationsRequest.Builder clearPageSize()
         The standard list page size.
         
        int32 page_size = 3;
        Returns:
        This builder for chaining.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         The standard list page token.
         
        string page_token = 4;
        Specified by:
        getPageTokenBytes in interface ListLocationsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListLocationsRequest.Builder setPageToken​(java.lang.String value)
         The standard list page token.
         
        string page_token = 4;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListLocationsRequest.Builder clearPageToken()
         The standard list page token.
         
        string page_token = 4;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListLocationsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         The standard list page token.
         
        string page_token = 4;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final ListLocationsRequest.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<ListLocationsRequest.Builder>