Class ListProjectsRequest.Builder

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

public static final class ListProjectsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListProjectsRequest.Builder> implements ListProjectsRequestOrBuilder
 ### List Projects: Request
 
Protobuf type buildless.service.v1.ListProjectsRequest
  • Method Details

    • 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<ListProjectsRequest.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<ListProjectsRequest.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<ListProjectsRequest.Builder>
    • getDefaultInstanceForType

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

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

      public ListProjectsRequest 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<ListProjectsRequest.Builder>
    • setField

      public ListProjectsRequest.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<ListProjectsRequest.Builder>
    • clearField

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

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

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

      public ListProjectsRequest.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<ListProjectsRequest.Builder>
    • mergeFrom

      public ListProjectsRequest.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<ListProjectsRequest.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<ListProjectsRequest.Builder>
    • mergeFrom

      public ListProjectsRequest.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<ListProjectsRequest.Builder>
      Throws:
      IOException
    • getScopeList

      public com.google.protobuf.ProtocolStringList getScopeList()
       Specifies the account scopes that should be included; the special string `self` can be used to include projects
       owned by the current user. Other strings are expected to be tenant short names which the user has access to.
       
      repeated string scope = 1 [json_name = "scope", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.validate.rules) = { ... }
      Specified by:
      getScopeList in interface ListProjectsRequestOrBuilder
      Returns:
      A list containing the scope.
    • getScopeCount

      public int getScopeCount()
       Specifies the account scopes that should be included; the special string `self` can be used to include projects
       owned by the current user. Other strings are expected to be tenant short names which the user has access to.
       
      repeated string scope = 1 [json_name = "scope", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.validate.rules) = { ... }
      Specified by:
      getScopeCount in interface ListProjectsRequestOrBuilder
      Returns:
      The count of scope.
    • getScope

      public String getScope(int index)
       Specifies the account scopes that should be included; the special string `self` can be used to include projects
       owned by the current user. Other strings are expected to be tenant short names which the user has access to.
       
      repeated string scope = 1 [json_name = "scope", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.validate.rules) = { ... }
      Specified by:
      getScope in interface ListProjectsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The scope at the given index.
    • getScopeBytes

      public com.google.protobuf.ByteString getScopeBytes(int index)
       Specifies the account scopes that should be included; the special string `self` can be used to include projects
       owned by the current user. Other strings are expected to be tenant short names which the user has access to.
       
      repeated string scope = 1 [json_name = "scope", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.validate.rules) = { ... }
      Specified by:
      getScopeBytes in interface ListProjectsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the scope at the given index.
    • setScope

      public ListProjectsRequest.Builder setScope(int index, String value)
       Specifies the account scopes that should be included; the special string `self` can be used to include projects
       owned by the current user. Other strings are expected to be tenant short names which the user has access to.
       
      repeated string scope = 1 [json_name = "scope", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.validate.rules) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The scope to set.
      Returns:
      This builder for chaining.
    • addScope

      public ListProjectsRequest.Builder addScope(String value)
       Specifies the account scopes that should be included; the special string `self` can be used to include projects
       owned by the current user. Other strings are expected to be tenant short names which the user has access to.
       
      repeated string scope = 1 [json_name = "scope", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.validate.rules) = { ... }
      Parameters:
      value - The scope to add.
      Returns:
      This builder for chaining.
    • addAllScope

      public ListProjectsRequest.Builder addAllScope(Iterable<String> values)
       Specifies the account scopes that should be included; the special string `self` can be used to include projects
       owned by the current user. Other strings are expected to be tenant short names which the user has access to.
       
      repeated string scope = 1 [json_name = "scope", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.validate.rules) = { ... }
      Parameters:
      values - The scope to add.
      Returns:
      This builder for chaining.
    • clearScope

      public ListProjectsRequest.Builder clearScope()
       Specifies the account scopes that should be included; the special string `self` can be used to include projects
       owned by the current user. Other strings are expected to be tenant short names which the user has access to.
       
      repeated string scope = 1 [json_name = "scope", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • addScopeBytes

      public ListProjectsRequest.Builder addScopeBytes(com.google.protobuf.ByteString value)
       Specifies the account scopes that should be included; the special string `self` can be used to include projects
       owned by the current user. Other strings are expected to be tenant short names which the user has access to.
       
      repeated string scope = 1 [json_name = "scope", (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.validate.rules) = { ... }
      Parameters:
      value - The bytes of the scope to add.
      Returns:
      This builder for chaining.
    • hasQuery

      public boolean hasQuery()
       Specifies query options for the list request. This field is optional.
       
      .buildless.service.v1.QueryOptions query = 2 [json_name = "query", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasQuery in interface ListProjectsRequestOrBuilder
      Returns:
      Whether the query field is set.
    • getQuery

      public QueryOptions getQuery()
       Specifies query options for the list request. This field is optional.
       
      .buildless.service.v1.QueryOptions query = 2 [json_name = "query", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQuery in interface ListProjectsRequestOrBuilder
      Returns:
      The query.
    • setQuery

      public ListProjectsRequest.Builder setQuery(QueryOptions value)
       Specifies query options for the list request. This field is optional.
       
      .buildless.service.v1.QueryOptions query = 2 [json_name = "query", (.google.api.field_behavior) = OPTIONAL];
    • setQuery

      public ListProjectsRequest.Builder setQuery(QueryOptions.Builder builderForValue)
       Specifies query options for the list request. This field is optional.
       
      .buildless.service.v1.QueryOptions query = 2 [json_name = "query", (.google.api.field_behavior) = OPTIONAL];
    • mergeQuery

      public ListProjectsRequest.Builder mergeQuery(QueryOptions value)
       Specifies query options for the list request. This field is optional.
       
      .buildless.service.v1.QueryOptions query = 2 [json_name = "query", (.google.api.field_behavior) = OPTIONAL];
    • clearQuery

      public ListProjectsRequest.Builder clearQuery()
       Specifies query options for the list request. This field is optional.
       
      .buildless.service.v1.QueryOptions query = 2 [json_name = "query", (.google.api.field_behavior) = OPTIONAL];
    • getQueryBuilder

      public QueryOptions.Builder getQueryBuilder()
       Specifies query options for the list request. This field is optional.
       
      .buildless.service.v1.QueryOptions query = 2 [json_name = "query", (.google.api.field_behavior) = OPTIONAL];
    • getQueryOrBuilder

      public QueryOptionsOrBuilder getQueryOrBuilder()
       Specifies query options for the list request. This field is optional.
       
      .buildless.service.v1.QueryOptions query = 2 [json_name = "query", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQueryOrBuilder in interface ListProjectsRequestOrBuilder
    • hasExpr

      public boolean hasExpr()
       Supplies an expression-based filter, using CEL (Common Expression Language).
       
      .buildless.service.v1.Expression expr = 3 [json_name = "expr", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasExpr in interface ListProjectsRequestOrBuilder
      Returns:
      Whether the expr field is set.
    • getExpr

      public Expression getExpr()
       Supplies an expression-based filter, using CEL (Common Expression Language).
       
      .buildless.service.v1.Expression expr = 3 [json_name = "expr", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExpr in interface ListProjectsRequestOrBuilder
      Returns:
      The expr.
    • setExpr

      public ListProjectsRequest.Builder setExpr(Expression value)
       Supplies an expression-based filter, using CEL (Common Expression Language).
       
      .buildless.service.v1.Expression expr = 3 [json_name = "expr", (.google.api.field_behavior) = OPTIONAL];
    • setExpr

      public ListProjectsRequest.Builder setExpr(Expression.Builder builderForValue)
       Supplies an expression-based filter, using CEL (Common Expression Language).
       
      .buildless.service.v1.Expression expr = 3 [json_name = "expr", (.google.api.field_behavior) = OPTIONAL];
    • mergeExpr

      public ListProjectsRequest.Builder mergeExpr(Expression value)
       Supplies an expression-based filter, using CEL (Common Expression Language).
       
      .buildless.service.v1.Expression expr = 3 [json_name = "expr", (.google.api.field_behavior) = OPTIONAL];
    • clearExpr

      public ListProjectsRequest.Builder clearExpr()
       Supplies an expression-based filter, using CEL (Common Expression Language).
       
      .buildless.service.v1.Expression expr = 3 [json_name = "expr", (.google.api.field_behavior) = OPTIONAL];
    • getExprBuilder

      public Expression.Builder getExprBuilder()
       Supplies an expression-based filter, using CEL (Common Expression Language).
       
      .buildless.service.v1.Expression expr = 3 [json_name = "expr", (.google.api.field_behavior) = OPTIONAL];
    • getExprOrBuilder

      public ExpressionOrBuilder getExprOrBuilder()
       Supplies an expression-based filter, using CEL (Common Expression Language).
       
      .buildless.service.v1.Expression expr = 3 [json_name = "expr", (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExprOrBuilder in interface ListProjectsRequestOrBuilder
    • setUnknownFields

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

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