public static final class ListRuleSetsResponse.Builder extends GeneratedMessageV3.Builder<ListRuleSetsResponse.Builder> implements ListRuleSetsResponseOrBuilder
Response message for RuleSetService.ListRuleSets.
Protobuf type google.cloud.contentwarehouse.v1.ListRuleSetsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRuleSets(Iterable<? extends RuleSet> values)
public ListRuleSetsResponse.Builder addAllRuleSets(Iterable<? extends RuleSet> values)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.contentwarehouse.v1.RuleSet>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRuleSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRuleSets(RuleSet value)
public ListRuleSetsResponse.Builder addRuleSets(RuleSet value)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Parameter |
Name |
Description |
value |
RuleSet
|
addRuleSets(RuleSet.Builder builderForValue)
public ListRuleSetsResponse.Builder addRuleSets(RuleSet.Builder builderForValue)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
addRuleSets(int index, RuleSet value)
public ListRuleSetsResponse.Builder addRuleSets(int index, RuleSet value)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Parameters |
Name |
Description |
index |
int
|
value |
RuleSet
|
addRuleSets(int index, RuleSet.Builder builderForValue)
public ListRuleSetsResponse.Builder addRuleSets(int index, RuleSet.Builder builderForValue)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
addRuleSetsBuilder()
public RuleSet.Builder addRuleSetsBuilder()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
addRuleSetsBuilder(int index)
public RuleSet.Builder addRuleSetsBuilder(int index)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListRuleSetsResponse build()
buildPartial()
public ListRuleSetsResponse buildPartial()
clear()
public ListRuleSetsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListRuleSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListRuleSetsResponse.Builder clearNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRuleSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRuleSets()
public ListRuleSetsResponse.Builder clearRuleSets()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
clone()
public ListRuleSetsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListRuleSetsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getRuleSets(int index)
public RuleSet getRuleSets(int index)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Parameter |
Name |
Description |
index |
int
|
getRuleSetsBuilder(int index)
public RuleSet.Builder getRuleSetsBuilder(int index)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Parameter |
Name |
Description |
index |
int
|
getRuleSetsBuilderList()
public List<RuleSet.Builder> getRuleSetsBuilderList()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
getRuleSetsCount()
public int getRuleSetsCount()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Returns |
Type |
Description |
int |
|
getRuleSetsList()
public List<RuleSet> getRuleSetsList()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
getRuleSetsOrBuilder(int index)
public RuleSetOrBuilder getRuleSetsOrBuilder(int index)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Parameter |
Name |
Description |
index |
int
|
getRuleSetsOrBuilderList()
public List<? extends RuleSetOrBuilder> getRuleSetsOrBuilderList()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.contentwarehouse.v1.RuleSetOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListRuleSetsResponse other)
public ListRuleSetsResponse.Builder mergeFrom(ListRuleSetsResponse other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRuleSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListRuleSetsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRuleSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRuleSets(int index)
public ListRuleSetsResponse.Builder removeRuleSets(int index)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListRuleSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListRuleSetsResponse.Builder setNextPageToken(String value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListRuleSetsResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be sent as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRuleSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRuleSets(int index, RuleSet value)
public ListRuleSetsResponse.Builder setRuleSets(int index, RuleSet value)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Parameters |
Name |
Description |
index |
int
|
value |
RuleSet
|
setRuleSets(int index, RuleSet.Builder builderForValue)
public ListRuleSetsResponse.Builder setRuleSets(int index, RuleSet.Builder builderForValue)
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRuleSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides