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()
Returns
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>
|
Returns
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
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addControlsBuilder()
public Control.Builder addControlsBuilder()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListControlsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListControlsResponse build()
Returns
buildPartial()
public ListControlsResponse buildPartial()
Returns
clear()
public ListControlsResponse.Builder clear()
Returns
Overrides
clearControls()
public ListControlsResponse.Builder clearControls()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListControlsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListControlsResponse.Builder clearNextPageToken()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListControlsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListControlsResponse.Builder clone()
Returns
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
Returns
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
Returns
getControlsBuilderList()
public List<Control.Builder> getControlsBuilderList()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Returns
getControlsCount()
public int getControlsCount()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Returns
getControlsList()
public List<Control> getControlsList()
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Returns
getControlsOrBuilder(int index)
public ControlOrBuilder getControlsOrBuilder(int index)
All the Controls for a given catalog.
repeated .google.cloud.retail.v2.Control controls = 1;
Parameter
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListControlsResponse other)
public ListControlsResponse.Builder mergeFrom(ListControlsResponse other)
Parameter
Returns
public ListControlsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListControlsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListControlsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListControlsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListControlsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListControlsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides