public static final class ListControlsResponse.Builder extends GeneratedMessageV3.Builder<ListControlsResponse.Builder> implements ListControlsResponseOrBuilder
Response for ListControls method.
Protobuf type google.cloud.retail.v2.ListControlsResponse
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()
Methods
addAllControls(Iterable<? extends Control> values)
public ListControlsResponse.Builder addAllControls(Iterable<? extends Control> values)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.retail.v2.Control>
|
addControls(Control value)
public ListControlsResponse.Builder addControls(Control value)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Parameter |
---|
Name | Description |
value | Control
|
addControls(Control.Builder builderForValue)
public ListControlsResponse.Builder addControls(Control.Builder builderForValue)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
addControls(int index, Control value)
public ListControlsResponse.Builder addControls(int index, Control value)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
addControls(int index, Control.Builder builderForValue)
public ListControlsResponse.Builder addControls(int index, Control.Builder builderForValue)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
addControlsBuilder()
public Control.Builder addControlsBuilder()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
addControlsBuilder(int index)
public Control.Builder addControlsBuilder(int index)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListControlsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListControlsResponse build()
buildPartial()
public ListControlsResponse buildPartial()
clear()
public ListControlsResponse.Builder clear()
Overrides
clearControls()
public ListControlsResponse.Builder clearControls()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
clearField(Descriptors.FieldDescriptor field)
public ListControlsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListControlsResponse.Builder clearNextPageToken()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListControlsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListControlsResponse.Builder clone()
Overrides
getControls(int index)
public Control getControls(int index)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Parameter |
---|
Name | Description |
index | int
|
getControlsBuilder(int index)
public Control.Builder getControlsBuilder(int index)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Parameter |
---|
Name | Description |
index | int
|
getControlsBuilderList()
public List<Control.Builder> getControlsBuilderList()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
getControlsCount()
public int getControlsCount()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Returns |
---|
Type | Description |
int | |
getControlsList()
public List<Control> getControlsList()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
getControlsOrBuilder(int index)
public ControlOrBuilder getControlsOrBuilder(int index)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Parameter |
---|
Name | Description |
index | int
|
getControlsOrBuilderList()
public List<? extends ControlOrBuilder> getControlsOrBuilderList()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.retail.v2.ControlOrBuilder> | |
getDefaultInstanceForType()
public ListControlsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListControlsResponse other)
public ListControlsResponse.Builder mergeFrom(ListControlsResponse other)
public ListControlsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListControlsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListControlsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeControls(int index)
public ListControlsResponse.Builder removeControls(int index)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Parameter |
---|
Name | Description |
index | int
|
setControls(int index, Control value)
public ListControlsResponse.Builder setControls(int index, Control value)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
setControls(int index, Control.Builder builderForValue)
public ListControlsResponse.Builder setControls(int index, Control.Builder builderForValue)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListControlsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListControlsResponse.Builder setNextPageToken(String value)
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListControlsResponse.Builder setNextPageTokenBytes(ByteString value)
Pagination token, if not returned indicates the last page.
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 ListControlsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListControlsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides