Class ListProjectsResponse.ProjectsListInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListProjectsResponse.ProjectsListInfo.Builder>
com.buildless.service.v1.ListProjectsResponse.ProjectsListInfo.Builder
All Implemented Interfaces:
ListProjectsResponse.ProjectsListInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListProjectsResponse.ProjectsListInfo

public static final class ListProjectsResponse.ProjectsListInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListProjectsResponse.ProjectsListInfo.Builder> implements ListProjectsResponse.ProjectsListInfoOrBuilder
 Specifies metadata about the list of projects returned by the server.
 
Protobuf type buildless.service.v1.ListProjectsResponse.ProjectsListInfo
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ListProjectsResponse.ProjectsListInfo.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ListProjectsResponse.ProjectsListInfo.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListProjectsResponse.ProjectsListInfo.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<ListProjectsResponse.ProjectsListInfo.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<ListProjectsResponse.ProjectsListInfo.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ListProjectsResponse.ProjectsListInfo.Builder>
    • setField

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

      public ListProjectsResponse.ProjectsListInfo.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<ListProjectsResponse.ProjectsListInfo.Builder>
    • clearOneof

      public ListProjectsResponse.ProjectsListInfo.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<ListProjectsResponse.ProjectsListInfo.Builder>
    • setRepeatedField

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

      public ListProjectsResponse.ProjectsListInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListProjectsResponse.ProjectsListInfo.Builder>
    • mergeFrom

      public ListProjectsResponse.ProjectsListInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListProjectsResponse.ProjectsListInfo.Builder>
    • mergeFrom

    • isInitialized

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

      public ListProjectsResponse.ProjectsListInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<ListProjectsResponse.ProjectsListInfo.Builder>
      Throws:
      IOException
    • getCount

      public int getCount()
       Count of projects returned in this response.
       
      uint32 count = 1 [json_name = "count", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCount in interface ListProjectsResponse.ProjectsListInfoOrBuilder
      Returns:
      The count.
    • setCount

      public ListProjectsResponse.ProjectsListInfo.Builder setCount(int value)
       Count of projects returned in this response.
       
      uint32 count = 1 [json_name = "count", (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

       Count of projects returned in this response.
       
      uint32 count = 1 [json_name = "count", (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getTotal

      public int getTotal()
       Count of all available projects, regardless of pagination.
       
      uint32 total = 2 [json_name = "total", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTotal in interface ListProjectsResponse.ProjectsListInfoOrBuilder
      Returns:
      The total.
    • setTotal

      public ListProjectsResponse.ProjectsListInfo.Builder setTotal(int value)
       Count of all available projects, regardless of pagination.
       
      uint32 total = 2 [json_name = "total", (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The total to set.
      Returns:
      This builder for chaining.
    • clearTotal

       Count of all available projects, regardless of pagination.
       
      uint32 total = 2 [json_name = "total", (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getOwnerCount

      public int getOwnerCount()
      Description copied from interface: ListProjectsResponse.ProjectsListInfoOrBuilder
       Specifies the list of organizations which own projects returned by the server, and the count of each. This can be
       used for faceted search and other UI features. The special string `self` identifies projects owned individually
       by the current user, as applicable.
       
      map<string, uint32> owner = 3 [json_name = "owner", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOwnerCount in interface ListProjectsResponse.ProjectsListInfoOrBuilder
    • containsOwner

      public boolean containsOwner(String key)
       Specifies the list of organizations which own projects returned by the server, and the count of each. This can be
       used for faceted search and other UI features. The special string `self` identifies projects owned individually
       by the current user, as applicable.
       
      map<string, uint32> owner = 3 [json_name = "owner", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      containsOwner in interface ListProjectsResponse.ProjectsListInfoOrBuilder
    • getOwner

      @Deprecated public Map<String,Integer> getOwner()
      Deprecated.
      Use getOwnerMap() instead.
      Specified by:
      getOwner in interface ListProjectsResponse.ProjectsListInfoOrBuilder
    • getOwnerMap

      public Map<String,Integer> getOwnerMap()
       Specifies the list of organizations which own projects returned by the server, and the count of each. This can be
       used for faceted search and other UI features. The special string `self` identifies projects owned individually
       by the current user, as applicable.
       
      map<string, uint32> owner = 3 [json_name = "owner", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOwnerMap in interface ListProjectsResponse.ProjectsListInfoOrBuilder
    • getOwnerOrDefault

      public int getOwnerOrDefault(String key, int defaultValue)
       Specifies the list of organizations which own projects returned by the server, and the count of each. This can be
       used for faceted search and other UI features. The special string `self` identifies projects owned individually
       by the current user, as applicable.
       
      map<string, uint32> owner = 3 [json_name = "owner", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOwnerOrDefault in interface ListProjectsResponse.ProjectsListInfoOrBuilder
    • getOwnerOrThrow

      public int getOwnerOrThrow(String key)
       Specifies the list of organizations which own projects returned by the server, and the count of each. This can be
       used for faceted search and other UI features. The special string `self` identifies projects owned individually
       by the current user, as applicable.
       
      map<string, uint32> owner = 3 [json_name = "owner", (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOwnerOrThrow in interface ListProjectsResponse.ProjectsListInfoOrBuilder
    • clearOwner

    • removeOwner

       Specifies the list of organizations which own projects returned by the server, and the count of each. This can be
       used for faceted search and other UI features. The special string `self` identifies projects owned individually
       by the current user, as applicable.
       
      map<string, uint32> owner = 3 [json_name = "owner", (.google.api.field_behavior) = OUTPUT_ONLY];
    • getMutableOwner

      @Deprecated public Map<String,Integer> getMutableOwner()
      Deprecated.
      Use alternate mutation accessors instead.
    • putOwner

      public ListProjectsResponse.ProjectsListInfo.Builder putOwner(String key, int value)
       Specifies the list of organizations which own projects returned by the server, and the count of each. This can be
       used for faceted search and other UI features. The special string `self` identifies projects owned individually
       by the current user, as applicable.
       
      map<string, uint32> owner = 3 [json_name = "owner", (.google.api.field_behavior) = OUTPUT_ONLY];
    • putAllOwner

       Specifies the list of organizations which own projects returned by the server, and the count of each. This can be
       used for faceted search and other UI features. The special string `self` identifies projects owned individually
       by the current user, as applicable.
       
      map<string, uint32> owner = 3 [json_name = "owner", (.google.api.field_behavior) = OUTPUT_ONLY];
    • setUnknownFields

      public final ListProjectsResponse.ProjectsListInfo.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<ListProjectsResponse.ProjectsListInfo.Builder>
    • mergeUnknownFields

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