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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder> implements ListConstraintsResponseOrBuilder
The response returned from the [ListConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method.
Protobuf typegoogle.cloud.orgpolicy.v2.ListConstraintsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListConstraintsResponse.BuilderaddAllConstraints(Iterable<? extends Constraint> values)The collection of constraints that are available on the targeted resource.ListConstraintsResponse.BuilderaddConstraints(int index, Constraint value)The collection of constraints that are available on the targeted resource.ListConstraintsResponse.BuilderaddConstraints(int index, Constraint.Builder builderForValue)The collection of constraints that are available on the targeted resource.ListConstraintsResponse.BuilderaddConstraints(Constraint value)The collection of constraints that are available on the targeted resource.ListConstraintsResponse.BuilderaddConstraints(Constraint.Builder builderForValue)The collection of constraints that are available on the targeted resource.Constraint.BuilderaddConstraintsBuilder()The collection of constraints that are available on the targeted resource.Constraint.BuilderaddConstraintsBuilder(int index)The collection of constraints that are available on the targeted resource.ListConstraintsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListConstraintsResponsebuild()ListConstraintsResponsebuildPartial()ListConstraintsResponse.Builderclear()ListConstraintsResponse.BuilderclearConstraints()The collection of constraints that are available on the targeted resource.ListConstraintsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListConstraintsResponse.BuilderclearNextPageToken()Page token used to retrieve the next page.ListConstraintsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListConstraintsResponse.Builderclone()ConstraintgetConstraints(int index)The collection of constraints that are available on the targeted resource.Constraint.BuildergetConstraintsBuilder(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.intgetConstraintsCount()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.ConstraintOrBuildergetConstraintsOrBuilder(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.ListConstraintsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()Page token used to retrieve the next page.com.google.protobuf.ByteStringgetNextPageTokenBytes()Page token used to retrieve the next page.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListConstraintsResponse.BuildermergeFrom(ListConstraintsResponse other)ListConstraintsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListConstraintsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListConstraintsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListConstraintsResponse.BuilderremoveConstraints(int index)The collection of constraints that are available on the targeted resource.ListConstraintsResponse.BuildersetConstraints(int index, Constraint value)The collection of constraints that are available on the targeted resource.ListConstraintsResponse.BuildersetConstraints(int index, Constraint.Builder builderForValue)The collection of constraints that are available on the targeted resource.ListConstraintsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListConstraintsResponse.BuildersetNextPageToken(String value)Page token used to retrieve the next page.ListConstraintsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)Page token used to retrieve the next page.ListConstraintsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListConstraintsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
clear
public ListConstraintsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
getDefaultInstanceForType
public ListConstraintsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListConstraintsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListConstraintsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListConstraintsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
setField
public ListConstraintsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
clearField
public ListConstraintsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
clearOneof
public ListConstraintsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
setRepeatedField
public ListConstraintsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
addRepeatedField
public ListConstraintsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
mergeFrom
public ListConstraintsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListConstraintsResponse.Builder>
-
mergeFrom
public ListConstraintsResponse.Builder mergeFrom(ListConstraintsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public List<Constraint> 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
public Constraint getConstraints(int index)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;- Specified by:
getConstraintsin interfaceListConstraintsResponseOrBuilder
-
setConstraints
public 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;
-
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
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;
-
addConstraints
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;
-
addConstraints
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;
-
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
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;
-
clearConstraints
public ListConstraintsResponse.Builder clearConstraints()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;
-
removeConstraints
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;
-
getConstraintsBuilder
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;
-
getConstraintsOrBuilder
public ConstraintOrBuilder getConstraintsOrBuilder(int index)
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;- Specified by:
getConstraintsOrBuilderin interfaceListConstraintsResponseOrBuilder
-
getConstraintsOrBuilderList
public List<? extends ConstraintOrBuilder> 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
public Constraint.Builder addConstraintsBuilder()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;
-
addConstraintsBuilder
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;
-
getConstraintsBuilderList
public List<Constraint.Builder> getConstraintsBuilderList()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;
-
getNextPageToken
public String 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
public ListConstraintsResponse.Builder setNextPageToken(String value)
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
public ListConstraintsResponse.Builder 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
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListConstraintsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
mergeUnknownFields
public final ListConstraintsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
-
-