public static final class ListConstraintsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder> implements ListConstraintsResponseOrBuilder
The response returned from the [ListConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method.Protobuf type
google.cloud.orgpolicy.v2.ListConstraintsResponse| Modifier and Type | Method and Description |
|---|---|
ListConstraintsResponse.Builder |
addAllConstraints(Iterable<? extends Constraint> values)
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse.Builder |
addConstraints(Constraint.Builder builderForValue)
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse.Builder |
addConstraints(Constraint value)
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse.Builder |
addConstraints(int index,
Constraint.Builder builderForValue)
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse.Builder |
addConstraints(int index,
Constraint value)
The collection of constraints that are available on the targeted resource.
|
Constraint.Builder |
addConstraintsBuilder()
The collection of constraints that are available on the targeted resource.
|
Constraint.Builder |
addConstraintsBuilder(int index)
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListConstraintsResponse |
build() |
ListConstraintsResponse |
buildPartial() |
ListConstraintsResponse.Builder |
clear() |
ListConstraintsResponse.Builder |
clearConstraints()
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListConstraintsResponse.Builder |
clearNextPageToken()
Page token used to retrieve the next page.
|
ListConstraintsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListConstraintsResponse.Builder |
clone() |
Constraint |
getConstraints(int index)
The collection of constraints that are available on the targeted resource.
|
Constraint.Builder |
getConstraintsBuilder(int index)
The collection of constraints that are available on the targeted resource.
|
List<Constraint.Builder> |
getConstraintsBuilderList()
The collection of constraints that are available on the targeted resource.
|
int |
getConstraintsCount()
The collection of constraints that are available on the targeted resource.
|
List<Constraint> |
getConstraintsList()
The collection of constraints that are available on the targeted resource.
|
ConstraintOrBuilder |
getConstraintsOrBuilder(int index)
The collection of constraints that are available on the targeted resource.
|
List<? extends ConstraintOrBuilder> |
getConstraintsOrBuilderList()
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
Page token used to retrieve the next page.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
Page token used to retrieve the next page.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListConstraintsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListConstraintsResponse.Builder |
mergeFrom(ListConstraintsResponse other) |
ListConstraintsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListConstraintsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListConstraintsResponse.Builder |
removeConstraints(int index)
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse.Builder |
setConstraints(int index,
Constraint.Builder builderForValue)
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse.Builder |
setConstraints(int index,
Constraint value)
The collection of constraints that are available on the targeted resource.
|
ListConstraintsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListConstraintsResponse.Builder |
setNextPageToken(String value)
Page token used to retrieve the next page.
|
ListConstraintsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Page token used to retrieve the next page.
|
ListConstraintsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListConstraintsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListConstraintsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListConstraintsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListConstraintsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse.Builder mergeFrom(ListConstraintsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public ListConstraintsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListConstraintsResponse.Builder>IOExceptionpublic List<Constraint> getConstraintsList()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;getConstraintsList in interface ListConstraintsResponseOrBuilderpublic int getConstraintsCount()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;getConstraintsCount in interface ListConstraintsResponseOrBuilderpublic Constraint getConstraints(int index)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;getConstraints in interface ListConstraintsResponseOrBuilderpublic ListConstraintsResponse.Builder setConstraints(int index, Constraint value)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public ListConstraintsResponse.Builder setConstraints(int index, Constraint.Builder builderForValue)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public ListConstraintsResponse.Builder addConstraints(Constraint value)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public ListConstraintsResponse.Builder addConstraints(int index, Constraint value)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public ListConstraintsResponse.Builder addConstraints(Constraint.Builder builderForValue)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public ListConstraintsResponse.Builder addConstraints(int index, Constraint.Builder builderForValue)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public ListConstraintsResponse.Builder addAllConstraints(Iterable<? extends Constraint> values)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public ListConstraintsResponse.Builder clearConstraints()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public ListConstraintsResponse.Builder removeConstraints(int index)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public Constraint.Builder getConstraintsBuilder(int index)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public ConstraintOrBuilder getConstraintsOrBuilder(int index)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;getConstraintsOrBuilder in interface ListConstraintsResponseOrBuilderpublic List<? extends ConstraintOrBuilder> getConstraintsOrBuilderList()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;getConstraintsOrBuilderList in interface ListConstraintsResponseOrBuilderpublic Constraint.Builder addConstraintsBuilder()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public Constraint.Builder addConstraintsBuilder(int index)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public List<Constraint.Builder> getConstraintsBuilderList()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;public String getNextPageToken()
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;getNextPageToken in interface ListConstraintsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;getNextPageTokenBytes in interface ListConstraintsResponseOrBuilderpublic ListConstraintsResponse.Builder setNextPageToken(String value)
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;value - The nextPageToken to set.public ListConstraintsResponse.Builder clearNextPageToken()
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;public ListConstraintsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;value - The bytes for nextPageToken to set.public final ListConstraintsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>public final ListConstraintsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.