- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7-SNAPSHOT
- 2.2.1
- 2.1.2
- 2.0.10
public static final class ListConstraintsRequest.Builder extends GeneratedMessageV3.Builder<ListConstraintsRequest.Builder> implements ListConstraintsRequestOrBuilder
The request sent to the [ListConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method.
Protobuf type google.cloud.orgpolicy.v2.ListConstraintsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListConstraintsRequest.BuilderImplements
ListConstraintsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConstraintsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListConstraintsRequest.Builder |
build()
public ListConstraintsRequest build()
Type | Description |
ListConstraintsRequest |
buildPartial()
public ListConstraintsRequest buildPartial()
Type | Description |
ListConstraintsRequest |
clear()
public ListConstraintsRequest.Builder clear()
Type | Description |
ListConstraintsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListConstraintsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListConstraintsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConstraintsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListConstraintsRequest.Builder |
clearPageSize()
public ListConstraintsRequest.Builder clearPageSize()
Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.
int32 page_size = 2;
Type | Description |
ListConstraintsRequest.Builder | This builder for chaining. |
clearPageToken()
public ListConstraintsRequest.Builder clearPageToken()
Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.
string page_token = 3;
Type | Description |
ListConstraintsRequest.Builder | This builder for chaining. |
clearParent()
public ListConstraintsRequest.Builder clearParent()
Required. The Cloud resource that parents the constraint. Must be in one of the following forms:
projects/{project_number}
projects/{project_id}
folders/{folder_id}
organizations/{organization_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ListConstraintsRequest.Builder | This builder for chaining. |
clone()
public ListConstraintsRequest.Builder clone()
Type | Description |
ListConstraintsRequest.Builder |
getDefaultInstanceForType()
public ListConstraintsRequest getDefaultInstanceForType()
Type | Description |
ListConstraintsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPageSize()
public int getPageSize()
Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.
int32 page_size = 2;
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.
string page_token = 3;
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.
string page_token = 3;
Type | Description |
ByteString | The bytes for pageToken. |
getParent()
public String getParent()
Required. The Cloud resource that parents the constraint. Must be in one of the following forms:
projects/{project_number}
projects/{project_id}
folders/{folder_id}
organizations/{organization_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The Cloud resource that parents the constraint. Must be in one of the following forms:
projects/{project_number}
projects/{project_id}
folders/{folder_id}
organizations/{organization_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListConstraintsRequest other)
public ListConstraintsRequest.Builder mergeFrom(ListConstraintsRequest other)
Name | Description |
other | ListConstraintsRequest |
Type | Description |
ListConstraintsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListConstraintsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListConstraintsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListConstraintsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListConstraintsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConstraintsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListConstraintsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListConstraintsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListConstraintsRequest.Builder |
setPageSize(int value)
public ListConstraintsRequest.Builder setPageSize(int value)
Size of the pages to be returned. This is currently unsupported and will be ignored. The server may at any point start using this field to limit page size.
int32 page_size = 2;
Name | Description |
value | int The pageSize to set. |
Type | Description |
ListConstraintsRequest.Builder | This builder for chaining. |
setPageToken(String value)
public ListConstraintsRequest.Builder setPageToken(String value)
Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.
string page_token = 3;
Name | Description |
value | String The pageToken to set. |
Type | Description |
ListConstraintsRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListConstraintsRequest.Builder setPageTokenBytes(ByteString value)
Page token used to retrieve the next page. This is currently unsupported and will be ignored. The server may at any point start using this field.
string page_token = 3;
Name | Description |
value | ByteString The bytes for pageToken to set. |
Type | Description |
ListConstraintsRequest.Builder | This builder for chaining. |
setParent(String value)
public ListConstraintsRequest.Builder setParent(String value)
Required. The Cloud resource that parents the constraint. Must be in one of the following forms:
projects/{project_number}
projects/{project_id}
folders/{folder_id}
organizations/{organization_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
ListConstraintsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ListConstraintsRequest.Builder setParentBytes(ByteString value)
Required. The Cloud resource that parents the constraint. Must be in one of the following forms:
projects/{project_number}
projects/{project_id}
folders/{folder_id}
organizations/{organization_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
ListConstraintsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConstraintsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListConstraintsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConstraintsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListConstraintsRequest.Builder |