Package com.google.cloud.orgpolicy.v2
Class ListConstraintsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListConstraintsResponse.Builder>
com.google.cloud.orgpolicy.v2.ListConstraintsResponse.Builder
- All Implemented Interfaces:
ListConstraintsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListConstraintsResponse
public static final class ListConstraintsResponse.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllConstraints(Iterable<? extends Constraint> values) The collection of constraints that are available on the targeted resource.addConstraints(int index, Constraint value) The collection of constraints that are available on the targeted resource.addConstraints(int index, Constraint.Builder builderForValue) The collection of constraints that are available on the targeted resource.addConstraints(Constraint value) The collection of constraints that are available on the targeted resource.addConstraints(Constraint.Builder builderForValue) The collection of constraints that are available on the targeted resource.The collection of constraints that are available on the targeted resource.addConstraintsBuilder(int index) The collection of constraints that are available on the targeted resource.build()clear()The collection of constraints that are available on the targeted resource.Page token used to retrieve the next page.getConstraints(int index) The collection of constraints that are available on the targeted resource.getConstraintsBuilder(int index) The collection of constraints that are available on the targeted resource.The collection of constraints that are available on the targeted resource.intThe collection of constraints that are available on the targeted resource.The collection of constraints that are available on the targeted resource.getConstraintsOrBuilder(int index) The collection of constraints that are available on the targeted resource.List<? extends ConstraintOrBuilder>The collection of constraints that are available on the targeted resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorPage token used to retrieve the next page.com.google.protobuf.ByteStringPage token used to retrieve the next page.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListConstraintsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeConstraints(int index) The collection of constraints that are available on the targeted resource.setConstraints(int index, Constraint value) The collection of constraints that are available on the targeted resource.setConstraints(int index, Constraint.Builder builderForValue) The collection of constraints that are available on the targeted resource.setNextPageToken(String value) Page token used to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) Page token used to retrieve the next page.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListConstraintsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListConstraintsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListConstraintsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListConstraintsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListConstraintsResponse.Builder>
-
mergeFrom
public ListConstraintsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListConstraintsResponse.Builder>- Throws:
IOException
-
getConstraintsList
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;- Specified by:
getConstraintsListin interfaceListConstraintsResponseOrBuilder
-
getConstraintsCount
public int getConstraintsCount()The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;- Specified by:
getConstraintsCountin interfaceListConstraintsResponseOrBuilder
-
getConstraints
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;- Specified by:
getConstraintsin interfaceListConstraintsResponseOrBuilder
-
setConstraints
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
setConstraints
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; -
addConstraints
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
addConstraints
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
addConstraints
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
addConstraints
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; -
addAllConstraints
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
clearConstraints
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
removeConstraints
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
getConstraintsBuilder
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
getConstraintsOrBuilder
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;- Specified by:
getConstraintsOrBuilderin interfaceListConstraintsResponseOrBuilder
-
getConstraintsOrBuilderList
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;- Specified by:
getConstraintsOrBuilderListin interfaceListConstraintsResponseOrBuilder
-
addConstraintsBuilder
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
addConstraintsBuilder
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
getConstraintsBuilderList
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1; -
getNextPageToken
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListConstraintsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListConstraintsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-