public static final class ListConstraintsResponse.Builder extends 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(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(Descriptors.FieldDescriptor field) |
ListConstraintsResponse.Builder |
clearNextPageToken()
Page token used to retrieve the next page.
|
ListConstraintsResponse.Builder |
clearOneof(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 Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
Page token used to retrieve the next page.
|
ByteString |
getNextPageTokenBytes()
Page token used to retrieve the next page.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListConstraintsResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListConstraintsResponse.Builder |
mergeFrom(ListConstraintsResponse other) |
ListConstraintsResponse.Builder |
mergeFrom(Message other) |
ListConstraintsResponse.Builder |
mergeUnknownFields(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(Descriptors.FieldDescriptor field,
Object value) |
ListConstraintsResponse.Builder |
setNextPageToken(String value)
Page token used to retrieve the next page.
|
ListConstraintsResponse.Builder |
setNextPageTokenBytes(ByteString value)
Page token used to retrieve the next page.
|
ListConstraintsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ListConstraintsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListConstraintsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListConstraintsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListConstraintsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse.Builder mergeFrom(ListConstraintsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public ListConstraintsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListConstraintsResponse.Builder>
IOException
public 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 ListConstraintsResponseOrBuilder
public int getConstraintsCount()
The collection of constraints that are available on the targeted resource.
repeated .google.cloud.orgpolicy.v2.Constraint constraints = 1;
getConstraintsCount
in interface ListConstraintsResponseOrBuilder
public 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 ListConstraintsResponseOrBuilder
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;
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 ListConstraintsResponseOrBuilder
public 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 ListConstraintsResponseOrBuilder
public 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 ListConstraintsResponseOrBuilder
public ByteString getNextPageTokenBytes()
Page token used to retrieve the next page. This is currently not used.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListConstraintsResponseOrBuilder
public 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(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(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
public final ListConstraintsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListConstraintsResponse.Builder>
Copyright © 2021 Google LLC. All rights reserved.