public static final class ListCustomConstraintsResponse.Builder extends GeneratedMessageV3.Builder<ListCustomConstraintsResponse.Builder> implements ListCustomConstraintsResponseOrBuilder
The response returned from the [ListCustomConstraints]
[google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints] method. It will
be empty if no custom constraints are set on the organization resource.
Protobuf type google.cloud.orgpolicy.v2.ListCustomConstraintsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllCustomConstraints(Iterable<? extends CustomConstraint> values)
public ListCustomConstraintsResponse.Builder addAllCustomConstraints(Iterable<? extends CustomConstraint> values)
All custom 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>
|
addCustomConstraints(CustomConstraint value)
public ListCustomConstraintsResponse.Builder addCustomConstraints(CustomConstraint value)
All custom 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;
addCustomConstraints(CustomConstraint.Builder builderForValue)
public ListCustomConstraintsResponse.Builder addCustomConstraints(CustomConstraint.Builder builderForValue)
All custom 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;
addCustomConstraints(int index, CustomConstraint value)
public ListCustomConstraintsResponse.Builder addCustomConstraints(int index, CustomConstraint value)
All custom 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;
addCustomConstraints(int index, CustomConstraint.Builder builderForValue)
public ListCustomConstraintsResponse.Builder addCustomConstraints(int index, CustomConstraint.Builder builderForValue)
All custom 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;
addCustomConstraintsBuilder()
public CustomConstraint.Builder addCustomConstraintsBuilder()
All custom 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;
addCustomConstraintsBuilder(int index)
public CustomConstraint.Builder addCustomConstraintsBuilder(int index)
All custom 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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCustomConstraintsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCustomConstraintsResponse build()
buildPartial()
public ListCustomConstraintsResponse buildPartial()
clear()
public ListCustomConstraintsResponse.Builder clear()
Overrides
clearCustomConstraints()
public ListCustomConstraintsResponse.Builder clearCustomConstraints()
All custom 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;
clearField(Descriptors.FieldDescriptor field)
public ListCustomConstraintsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCustomConstraintsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCustomConstraintsResponse.Builder clone()
Overrides
getCustomConstraints(int index)
public CustomConstraint getCustomConstraints(int index)
All custom 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
|
getCustomConstraintsBuilder(int index)
public CustomConstraint.Builder getCustomConstraintsBuilder(int index)
All custom 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
|
getCustomConstraintsBuilderList()
public List<CustomConstraint.Builder> getCustomConstraintsBuilderList()
All custom 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;
getCustomConstraintsCount()
public int getCustomConstraintsCount()
All custom 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 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;
getCustomConstraintsOrBuilder(int index)
public CustomConstraintOrBuilder getCustomConstraintsOrBuilder(int index)
All custom 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
|
getCustomConstraintsOrBuilderList()
public List<? extends CustomConstraintOrBuilder> getCustomConstraintsOrBuilderList()
All custom 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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListCustomConstraintsResponse other)
public ListCustomConstraintsResponse.Builder mergeFrom(ListCustomConstraintsResponse other)
public ListCustomConstraintsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCustomConstraintsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomConstraintsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeCustomConstraints(int index)
public ListCustomConstraintsResponse.Builder removeCustomConstraints(int index)
All custom 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
|
setCustomConstraints(int index, CustomConstraint value)
public ListCustomConstraintsResponse.Builder setCustomConstraints(int index, CustomConstraint value)
All custom 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;
setCustomConstraints(int index, CustomConstraint.Builder builderForValue)
public ListCustomConstraintsResponse.Builder setCustomConstraints(int index, CustomConstraint.Builder builderForValue)
All custom 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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCustomConstraintsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | String
The nextPageToken to set.
|
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 | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCustomConstraintsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomConstraintsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides