- 1.56.0 (latest)
- 1.55.0
- 1.54.0
- 1.53.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.6
- 1.4.0
- 1.3.2
- 1.2.12
public static final class ListProjectsRequest.Builder extends GeneratedMessageV3.Builder<ListProjectsRequest.Builder> implements ListProjectsRequestOrBuilder
The request sent to the ListProjects method.
Protobuf type google.cloud.resourcemanager.v3.ListProjectsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListProjectsRequest.BuilderImplements
ListProjectsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListProjectsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListProjectsRequest.Builder |
build()
public ListProjectsRequest build()
Type | Description |
ListProjectsRequest |
buildPartial()
public ListProjectsRequest buildPartial()
Type | Description |
ListProjectsRequest |
clear()
public ListProjectsRequest.Builder clear()
Type | Description |
ListProjectsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListProjectsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListProjectsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListProjectsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListProjectsRequest.Builder |
clearPageSize()
public ListProjectsRequest.Builder clearPageSize()
Optional. The maximum number of projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
clearPageToken()
public ListProjectsRequest.Builder clearPageToken()
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that indicates from where listing should continue.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
clearParent()
public ListProjectsRequest.Builder clearParent()
Required. The name of the parent resource to list projects under. For example, setting this field to 'folders/1234' would list all projects directly under that folder.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
clearShowDeleted()
public ListProjectsRequest.Builder clearShowDeleted()
Optional. Indicate that projects in the DELETE_REQUESTED
state should also be
returned. Normally only ACTIVE
projects are returned.
bool show_deleted = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
clone()
public ListProjectsRequest.Builder clone()
Type | Description |
ListProjectsRequest.Builder |
getDefaultInstanceForType()
public ListProjectsRequest getDefaultInstanceForType()
Type | Description |
ListProjectsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPageSize()
public int getPageSize()
Optional. The maximum number of projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that indicates from where listing should continue.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that indicates from where listing should continue.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for pageToken. |
getParent()
public String getParent()
Required. The name of the parent resource to list projects under. For example, setting this field to 'folders/1234' would list all projects directly under that folder.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The name of the parent resource to list projects under. For example, setting this field to 'folders/1234' would list all projects directly under that folder.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getShowDeleted()
public boolean getShowDeleted()
Optional. Indicate that projects in the DELETE_REQUESTED
state should also be
returned. Normally only ACTIVE
projects are returned.
bool show_deleted = 4 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | The showDeleted. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListProjectsRequest other)
public ListProjectsRequest.Builder mergeFrom(ListProjectsRequest other)
Name | Description |
other | ListProjectsRequest |
Type | Description |
ListProjectsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListProjectsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListProjectsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListProjectsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListProjectsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListProjectsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListProjectsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListProjectsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListProjectsRequest.Builder |
setPageSize(int value)
public ListProjectsRequest.Builder setPageSize(int value)
Optional. The maximum number of projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | int The pageSize to set. |
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
setPageToken(String value)
public ListProjectsRequest.Builder setPageToken(String value)
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that indicates from where listing should continue.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | String The pageToken to set. |
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListProjectsRequest.Builder setPageTokenBytes(ByteString value)
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that indicates from where listing should continue.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | ByteString The bytes for pageToken to set. |
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
setParent(String value)
public ListProjectsRequest.Builder setParent(String value)
Required. The name of the parent resource to list projects under. For example, setting this field to 'folders/1234' would list all projects directly under that folder.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ListProjectsRequest.Builder setParentBytes(ByteString value)
Required. The name of the parent resource to list projects under. For example, setting this field to 'folders/1234' would list all projects directly under that folder.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListProjectsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListProjectsRequest.Builder |
setShowDeleted(boolean value)
public ListProjectsRequest.Builder setShowDeleted(boolean value)
Optional. Indicate that projects in the DELETE_REQUESTED
state should also be
returned. Normally only ACTIVE
projects are returned.
bool show_deleted = 4 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value | boolean The showDeleted to set. |
Type | Description |
ListProjectsRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListProjectsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListProjectsRequest.Builder |