public static final class ListCustomConstraintsResponse.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
ListCustomConstraintsResponse.Builder |
addAllCustomConstraints(Iterable<? extends CustomConstraint> values)
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse.Builder |
addCustomConstraints(CustomConstraint.Builder builderForValue)
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse.Builder |
addCustomConstraints(CustomConstraint value)
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse.Builder |
addCustomConstraints(int index,
CustomConstraint.Builder builderForValue)
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse.Builder |
addCustomConstraints(int index,
CustomConstraint value)
All custom constraints that exist on the organization resource.
|
CustomConstraint.Builder |
addCustomConstraintsBuilder()
All custom constraints that exist on the organization resource.
|
CustomConstraint.Builder |
addCustomConstraintsBuilder(int index)
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListCustomConstraintsResponse |
build() |
ListCustomConstraintsResponse |
buildPartial() |
ListCustomConstraintsResponse.Builder |
clear() |
ListCustomConstraintsResponse.Builder |
clearCustomConstraints()
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListCustomConstraintsResponse.Builder |
clearNextPageToken()
Page token used to retrieve the next page.
|
ListCustomConstraintsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListCustomConstraintsResponse.Builder |
clone() |
CustomConstraint |
getCustomConstraints(int index)
All custom constraints that exist on the organization resource.
|
CustomConstraint.Builder |
getCustomConstraintsBuilder(int index)
All custom constraints that exist on the organization resource.
|
List<CustomConstraint.Builder> |
getCustomConstraintsBuilderList()
All custom constraints that exist on the organization resource.
|
int |
getCustomConstraintsCount()
All custom constraints that exist on the organization resource.
|
List<CustomConstraint> |
getCustomConstraintsList()
All custom constraints that exist on the organization resource.
|
CustomConstraintOrBuilder |
getCustomConstraintsOrBuilder(int index)
All custom constraints that exist on the organization resource.
|
List<? extends CustomConstraintOrBuilder> |
getCustomConstraintsOrBuilderList()
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse |
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() |
ListCustomConstraintsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListCustomConstraintsResponse.Builder |
mergeFrom(ListCustomConstraintsResponse other) |
ListCustomConstraintsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListCustomConstraintsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListCustomConstraintsResponse.Builder |
removeCustomConstraints(int index)
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse.Builder |
setCustomConstraints(int index,
CustomConstraint.Builder builderForValue)
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse.Builder |
setCustomConstraints(int index,
CustomConstraint value)
All custom constraints that exist on the organization resource.
|
ListCustomConstraintsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListCustomConstraintsResponse.Builder |
setNextPageToken(String value)
Page token used to retrieve the next page.
|
ListCustomConstraintsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Page token used to retrieve the next page.
|
ListCustomConstraintsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListCustomConstraintsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListCustomConstraintsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListCustomConstraintsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse.Builder mergeFrom(ListCustomConstraintsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListCustomConstraintsResponse.Builder>public ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.Builder>IOExceptionpublic 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;getCustomConstraintsList in interface ListCustomConstraintsResponseOrBuilderpublic 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;getCustomConstraintsCount in interface ListCustomConstraintsResponseOrBuilderpublic 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;getCustomConstraints in interface ListCustomConstraintsResponseOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getCustomConstraintsOrBuilder in interface ListCustomConstraintsResponseOrBuilderpublic 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;getCustomConstraintsOrBuilderList in interface ListCustomConstraintsResponseOrBuilderpublic 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;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;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;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;getNextPageToken in interface ListCustomConstraintsResponseOrBuilderpublic com.google.protobuf.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;getNextPageTokenBytes in interface ListCustomConstraintsResponseOrBuilderpublic 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;value - The nextPageToken to set.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;public ListCustomConstraintsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;value - The bytes for nextPageToken to set.public final ListCustomConstraintsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListCustomConstraintsResponse.Builder>public final ListCustomConstraintsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListCustomConstraintsResponse.Builder>Copyright © 2024 Google LLC. All rights reserved.