- 2.85.0 (latest)
- 2.83.0
- 2.82.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 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 ListPoliciesResponse.Builder extends GeneratedMessage.Builder<ListPoliciesResponse.Builder> implements ListPoliciesResponseOrBuilderThe response returned from the [ListPolicies] [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. It will be empty if no policies are set on the resource.
Protobuf type google.cloud.orgpolicy.v2.ListPoliciesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListPoliciesResponse.BuilderImplements
ListPoliciesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPolicies(Iterable<? extends Policy> values)
public ListPoliciesResponse.Builder addAllPolicies(Iterable<? extends Policy> values)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.orgpolicy.v2.Policy> |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
addPolicies(Policy value)
public ListPoliciesResponse.Builder addPolicies(Policy value)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Policy |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
addPolicies(Policy.Builder builderForValue)
public ListPoliciesResponse.Builder addPolicies(Policy.Builder builderForValue)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Policy.Builder |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
addPolicies(int index, Policy value)
public ListPoliciesResponse.Builder addPolicies(int index, Policy value)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Policy |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
addPolicies(int index, Policy.Builder builderForValue)
public ListPoliciesResponse.Builder addPolicies(int index, Policy.Builder builderForValue)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Policy.Builder |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
addPoliciesBuilder()
public Policy.Builder addPoliciesBuilder()All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Returns | |
|---|---|
| Type | Description |
Policy.Builder |
|
addPoliciesBuilder(int index)
public Policy.Builder addPoliciesBuilder(int index)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Policy.Builder |
|
build()
public ListPoliciesResponse build()| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse |
|
buildPartial()
public ListPoliciesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse |
|
clear()
public ListPoliciesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
clearNextPageToken()
public ListPoliciesResponse.Builder clearNextPageToken()Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
This builder for chaining. |
clearPolicies()
public ListPoliciesResponse.Builder clearPolicies()All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
getDefaultInstanceForType()
public ListPoliciesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getPolicies(int index)
public Policy getPolicies(int index)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Policy |
|
getPoliciesBuilder(int index)
public Policy.Builder getPoliciesBuilder(int index)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Policy.Builder |
|
getPoliciesBuilderList()
public List<Policy.Builder> getPoliciesBuilderList()All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPoliciesCount()
public int getPoliciesCount()All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPoliciesList()
public List<Policy> getPoliciesList()All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Returns | |
|---|---|
| Type | Description |
List<Policy> |
|
getPoliciesOrBuilder(int index)
public PolicyOrBuilder getPoliciesOrBuilder(int index)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PolicyOrBuilder |
|
getPoliciesOrBuilderList()
public List<? extends PolicyOrBuilder> getPoliciesOrBuilderList()All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.orgpolicy.v2.PolicyOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListPoliciesResponse other)
public ListPoliciesResponse.Builder mergeFrom(ListPoliciesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListPoliciesResponse |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListPoliciesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
removePolicies(int index)
public ListPoliciesResponse.Builder removePolicies(int index)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
setNextPageToken(String value)
public ListPoliciesResponse.Builder setNextPageToken(String value)Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
This builder for chaining. |
setPolicies(int index, Policy value)
public ListPoliciesResponse.Builder setPolicies(int index, Policy value)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Policy |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|
setPolicies(int index, Policy.Builder builderForValue)
public ListPoliciesResponse.Builder setPolicies(int index, Policy.Builder builderForValue)All policies that exist on the resource. It will be empty if no policies are set.
repeated .google.cloud.orgpolicy.v2.Policy policies = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Policy.Builder |
| Returns | |
|---|---|
| Type | Description |
ListPoliciesResponse.Builder |
|