- 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 ListCustomConstraintsResponse.Builder extends GeneratedMessage.Builder<ListCustomConstraintsResponse.Builder> implements ListCustomConstraintsResponseOrBuilderThe response returned from the [ListCustomConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints] method. It will be empty if no custom or managed constraints are set on the organization resource.
Protobuf type google.cloud.orgpolicy.v2.ListCustomConstraintsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListCustomConstraintsResponse.BuilderImplements
ListCustomConstraintsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCustomConstraints(Iterable<? extends CustomConstraint> values)
public ListCustomConstraintsResponse.Builder addAllCustomConstraints(Iterable<? extends CustomConstraint> values)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.orgpolicy.v2.CustomConstraint> |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
addCustomConstraints(CustomConstraint value)
public ListCustomConstraintsResponse.Builder addCustomConstraints(CustomConstraint value)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomConstraint |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
addCustomConstraints(CustomConstraint.Builder builderForValue)
public ListCustomConstraintsResponse.Builder addCustomConstraints(CustomConstraint.Builder builderForValue)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomConstraint.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
addCustomConstraints(int index, CustomConstraint value)
public ListCustomConstraintsResponse.Builder addCustomConstraints(int index, CustomConstraint value)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CustomConstraint |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
addCustomConstraints(int index, CustomConstraint.Builder builderForValue)
public ListCustomConstraintsResponse.Builder addCustomConstraints(int index, CustomConstraint.Builder builderForValue)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CustomConstraint.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
addCustomConstraintsBuilder()
public CustomConstraint.Builder addCustomConstraintsBuilder()All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Returns | |
|---|---|
| Type | Description |
CustomConstraint.Builder |
|
addCustomConstraintsBuilder(int index)
public CustomConstraint.Builder addCustomConstraintsBuilder(int index)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomConstraint.Builder |
|
build()
public ListCustomConstraintsResponse build()| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse |
|
buildPartial()
public ListCustomConstraintsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse |
|
clear()
public ListCustomConstraintsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
clearCustomConstraints()
public ListCustomConstraintsResponse.Builder clearCustomConstraints()All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
clearNextPageToken()
public ListCustomConstraintsResponse.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 |
ListCustomConstraintsResponse.Builder |
This builder for chaining. |
getCustomConstraints(int index)
public CustomConstraint getCustomConstraints(int index)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomConstraint |
|
getCustomConstraintsBuilder(int index)
public CustomConstraint.Builder getCustomConstraintsBuilder(int index)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomConstraint.Builder |
|
getCustomConstraintsBuilderList()
public List<CustomConstraint.Builder> getCustomConstraintsBuilderList()All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCustomConstraintsCount()
public int getCustomConstraintsCount()All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCustomConstraintsList()
public List<CustomConstraint> getCustomConstraintsList()All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Returns | |
|---|---|
| Type | Description |
List<CustomConstraint> |
|
getCustomConstraintsOrBuilder(int index)
public CustomConstraintOrBuilder getCustomConstraintsOrBuilder(int index)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomConstraintOrBuilder |
|
getCustomConstraintsOrBuilderList()
public List<? extends CustomConstraintOrBuilder> getCustomConstraintsOrBuilderList()All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.orgpolicy.v2.CustomConstraintOrBuilder> |
|
getDefaultInstanceForType()
public ListCustomConstraintsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListCustomConstraintsResponse other)
public ListCustomConstraintsResponse.Builder mergeFrom(ListCustomConstraintsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListCustomConstraintsResponse |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCustomConstraintsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCustomConstraintsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
removeCustomConstraints(int index)
public ListCustomConstraintsResponse.Builder removeCustomConstraints(int index)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
setCustomConstraints(int index, CustomConstraint value)
public ListCustomConstraintsResponse.Builder setCustomConstraints(int index, CustomConstraint value)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CustomConstraint |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
setCustomConstraints(int index, CustomConstraint.Builder builderForValue)
public ListCustomConstraintsResponse.Builder setCustomConstraints(int index, CustomConstraint.Builder builderForValue)All custom and managed constraints that exist on the organization resource. It will be empty if no custom constraints are set.
repeated .google.cloud.orgpolicy.v2.CustomConstraint custom_constraints = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CustomConstraint.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCustomConstraintsResponse.Builder |
|
setNextPageToken(String value)
public ListCustomConstraintsResponse.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 |
ListCustomConstraintsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCustomConstraintsResponse.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 |
ListCustomConstraintsResponse.Builder |
This builder for chaining. |