Class ListRuleSetsResponse.Builder (0.49.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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
Type Description
ListRuleSetsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListRuleSetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRuleSetsResponse.Builder
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
Returns
Type Description
ListRuleSetsResponse.Builder

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
Name Description
builderForValue RuleSet.Builder
Returns
Type Description
ListRuleSetsResponse.Builder

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
Returns
Type Description
ListRuleSetsResponse.Builder

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
Name Description
index int
builderForValue RuleSet.Builder
Returns
Type Description
ListRuleSetsResponse.Builder

addRuleSetsBuilder()

public RuleSet.Builder addRuleSetsBuilder()

The rule sets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;

Returns
Type Description
RuleSet.Builder

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
Returns
Type Description
RuleSet.Builder

build()

public ListRuleSetsResponse build()
Returns
Type Description
ListRuleSetsResponse

buildPartial()

public ListRuleSetsResponse buildPartial()
Returns
Type Description
ListRuleSetsResponse

clear()

public ListRuleSetsResponse.Builder clear()
Returns
Type Description
ListRuleSetsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListRuleSetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListRuleSetsResponse.Builder
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
Type Description
ListRuleSetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListRuleSetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListRuleSetsResponse.Builder
Overrides

clearRuleSets()

public ListRuleSetsResponse.Builder clearRuleSets()

The rule sets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;

Returns
Type Description
ListRuleSetsResponse.Builder

clone()

public ListRuleSetsResponse.Builder clone()
Returns
Type Description
ListRuleSetsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListRuleSetsResponse getDefaultInstanceForType()
Returns
Type Description
ListRuleSetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Returns
Type Description
RuleSet

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
Returns
Type Description
RuleSet.Builder

getRuleSetsBuilderList()

public List<RuleSet.Builder> getRuleSetsBuilderList()

The rule sets from the specified parent.

repeated .google.cloud.contentwarehouse.v1.RuleSet rule_sets = 1;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
List<RuleSet>

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
Returns
Type Description
RuleSetOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRuleSetsResponse other)

public ListRuleSetsResponse.Builder mergeFrom(ListRuleSetsResponse other)
Parameter
Name Description
other ListRuleSetsResponse
Returns
Type Description
ListRuleSetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListRuleSetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRuleSetsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListRuleSetsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListRuleSetsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListRuleSetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRuleSetsResponse.Builder
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
Returns
Type Description
ListRuleSetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListRuleSetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListRuleSetsResponse.Builder
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
Type Description
ListRuleSetsResponse.Builder

This builder for chaining.

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
Type Description
ListRuleSetsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListRuleSetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListRuleSetsResponse.Builder
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
Returns
Type Description
ListRuleSetsResponse.Builder

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
Name Description
index int
builderForValue RuleSet.Builder
Returns
Type Description
ListRuleSetsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListRuleSetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListRuleSetsResponse.Builder
Overrides