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.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()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListRuleSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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;
Parameter
Returns
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
Returns
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;
Parameters
Returns
addRuleSetsBuilder()
public RuleSet.Builder addRuleSetsBuilder()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Returns
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
Returns
build()
public ListRuleSetsResponse build()
Returns
buildPartial()
public ListRuleSetsResponse buildPartial()
Returns
clear()
public ListRuleSetsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListRuleSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListRuleSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRuleSets()
public ListRuleSetsResponse.Builder clearRuleSets()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Returns
clone()
public ListRuleSetsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListRuleSetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getRuleSetsBuilderList()
public List<RuleSet.Builder> getRuleSetsBuilderList()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Returns
getRuleSetsCount()
public int getRuleSetsCount()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Returns
getRuleSetsList()
public List<RuleSet> getRuleSetsList()
The rule sets from the specified parent.
repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;
Returns
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
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListRuleSetsResponse other)
public ListRuleSetsResponse.Builder mergeFrom(ListRuleSetsResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRuleSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListRuleSetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListRuleSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListRuleSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListRuleSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListRuleSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides