Package com.google.cloud.orgpolicy.v2
Class ListCustomConstraintsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListCustomConstraintsResponse.Builder>
com.google.cloud.orgpolicy.v2.ListCustomConstraintsResponse.Builder
- All Implemented Interfaces:
ListCustomConstraintsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListCustomConstraintsResponse
public static final class ListCustomConstraintsResponse.Builder
extends com.google.protobuf.GeneratedMessage.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 or managed constraints are set on the organization resource.Protobuf type
google.cloud.orgpolicy.v2.ListCustomConstraintsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllCustomConstraints(Iterable<? extends CustomConstraint> values) All custom and managed constraints that exist on the organization resource.addCustomConstraints(int index, CustomConstraint value) All custom and managed constraints that exist on the organization resource.addCustomConstraints(int index, CustomConstraint.Builder builderForValue) All custom and managed constraints that exist on the organization resource.All custom and managed constraints that exist on the organization resource.addCustomConstraints(CustomConstraint.Builder builderForValue) All custom and managed constraints that exist on the organization resource.All custom and managed constraints that exist on the organization resource.addCustomConstraintsBuilder(int index) All custom and managed constraints that exist on the organization resource.build()clear()All custom and managed constraints that exist on the organization resource.Page token used to retrieve the next page.getCustomConstraints(int index) All custom and managed constraints that exist on the organization resource.getCustomConstraintsBuilder(int index) All custom and managed constraints that exist on the organization resource.All custom and managed constraints that exist on the organization resource.intAll custom and managed constraints that exist on the organization resource.All custom and managed constraints that exist on the organization resource.getCustomConstraintsOrBuilder(int index) All custom and managed constraints that exist on the organization resource.List<? extends CustomConstraintOrBuilder>All custom and managed constraints that exist on the organization 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(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeCustomConstraints(int index) All custom and managed constraints that exist on the organization resource.setCustomConstraints(int index, CustomConstraint value) All custom and managed constraints that exist on the organization resource.setCustomConstraints(int index, CustomConstraint.Builder builderForValue) All custom and managed constraints that exist on the organization 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<ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListCustomConstraintsResponse.Builder>
-
mergeFrom
public ListCustomConstraintsResponse.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<ListCustomConstraintsResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getCustomConstraintsListin interfaceListCustomConstraintsResponseOrBuilder
-
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;- Specified by:
getCustomConstraintsCountin interfaceListCustomConstraintsResponseOrBuilder
-
getCustomConstraints
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;- Specified by:
getCustomConstraintsin interfaceListCustomConstraintsResponseOrBuilder
-
setCustomConstraints
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; -
setCustomConstraints
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; -
addCustomConstraints
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; -
addCustomConstraints
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; -
addCustomConstraints
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; -
addCustomConstraints
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; -
addAllCustomConstraints
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; -
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; -
removeCustomConstraints
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; -
getCustomConstraintsBuilder
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; -
getCustomConstraintsOrBuilder
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;- Specified by:
getCustomConstraintsOrBuilderin interfaceListCustomConstraintsResponseOrBuilder
-
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;- Specified by:
getCustomConstraintsOrBuilderListin interfaceListCustomConstraintsResponseOrBuilder
-
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; -
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; -
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; -
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;- Specified by:
getNextPageTokenin interfaceListCustomConstraintsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public 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;- Specified by:
getNextPageTokenBytesin interfaceListCustomConstraintsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- 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, but the server may at any point start supplying a valid token.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-