Class ListProductsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<ListProductsRequest,ListProductsRequest.Builder>
-
- com.streamlayer.nflShop.nflShopClient.ListProductsRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ListProductsRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- ListProductsRequest
public static final class ListProductsRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ListProductsRequest,ListProductsRequest.Builder> implements ListProductsRequestOrBuilder
Protobuf typestreamlayer.nflShop.ListProductsRequest
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListProductsRequest.BuilderaddAllIds(java.lang.Iterable<java.lang.String> values)ignores other parametersListProductsRequest.BuilderaddIds(java.lang.String value)ignores other parametersListProductsRequest.BuilderaddIdsBytes(com.google.protobuf.ByteString value)ignores other parametersListProductsRequest.BuilderclearCursor()string cursor = 4 [json_name = "cursor"];ListProductsRequest.BuilderclearIds()ignores other parametersListProductsRequest.BuilderclearPageSize()uint32 page_size = 5 [json_name = "pageSize"];ListProductsRequest.BuilderclearSearch()title, description, team in first versionListProductsRequest.BuilderclearSort().streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];java.lang.StringgetCursor()string cursor = 4 [json_name = "cursor"];com.google.protobuf.ByteStringgetCursorBytes()string cursor = 4 [json_name = "cursor"];java.lang.StringgetIds(int index)ignores other parameterscom.google.protobuf.ByteStringgetIdsBytes(int index)ignores other parametersintgetIdsCount()ignores other parametersjava.util.List<java.lang.String>getIdsList()ignores other parametersintgetPageSize()uint32 page_size = 5 [json_name = "pageSize"];java.lang.StringgetSearch()title, description, team in first versioncom.google.protobuf.ByteStringgetSearchBytes()title, description, team in first versionSortgetSort().streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];booleanhasSort().streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];ListProductsRequest.BuildermergeSort(Sort value).streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];ListProductsRequest.BuildersetCursor(java.lang.String value)string cursor = 4 [json_name = "cursor"];ListProductsRequest.BuildersetCursorBytes(com.google.protobuf.ByteString value)string cursor = 4 [json_name = "cursor"];ListProductsRequest.BuildersetIds(int index, java.lang.String value)ignores other parametersListProductsRequest.BuildersetPageSize(int value)uint32 page_size = 5 [json_name = "pageSize"];ListProductsRequest.BuildersetSearch(java.lang.String value)title, description, team in first versionListProductsRequest.BuildersetSearchBytes(com.google.protobuf.ByteString value)title, description, team in first versionListProductsRequest.BuildersetSort(Sort value).streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];ListProductsRequest.BuildersetSort(Sort.Builder builderForValue).streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getSearch
public java.lang.String getSearch()
title, description, team in first version
string search = 1 [json_name = "search"];- Specified by:
getSearchin interfaceListProductsRequestOrBuilder- Returns:
- The search.
-
getSearchBytes
public com.google.protobuf.ByteString getSearchBytes()
title, description, team in first version
string search = 1 [json_name = "search"];- Specified by:
getSearchBytesin interfaceListProductsRequestOrBuilder- Returns:
- The bytes for search.
-
setSearch
public ListProductsRequest.Builder setSearch(java.lang.String value)
title, description, team in first version
string search = 1 [json_name = "search"];- Parameters:
value- The search to set.- Returns:
- This builder for chaining.
-
clearSearch
public ListProductsRequest.Builder clearSearch()
title, description, team in first version
string search = 1 [json_name = "search"];- Returns:
- This builder for chaining.
-
setSearchBytes
public ListProductsRequest.Builder setSearchBytes(com.google.protobuf.ByteString value)
title, description, team in first version
string search = 1 [json_name = "search"];- Parameters:
value- The bytes for search to set.- Returns:
- This builder for chaining.
-
getIdsList
public java.util.List<java.lang.String> getIdsList()
ignores other parameters
repeated string ids = 2 [json_name = "ids"];- Specified by:
getIdsListin interfaceListProductsRequestOrBuilder- Returns:
- A list containing the ids.
-
getIdsCount
public int getIdsCount()
ignores other parameters
repeated string ids = 2 [json_name = "ids"];- Specified by:
getIdsCountin interfaceListProductsRequestOrBuilder- Returns:
- The count of ids.
-
getIds
public java.lang.String getIds(int index)
ignores other parameters
repeated string ids = 2 [json_name = "ids"];- Specified by:
getIdsin interfaceListProductsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ids at the given index.
-
getIdsBytes
public com.google.protobuf.ByteString getIdsBytes(int index)
ignores other parameters
repeated string ids = 2 [json_name = "ids"];- Specified by:
getIdsBytesin interfaceListProductsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ids at the given index.
-
setIds
public ListProductsRequest.Builder setIds(int index, java.lang.String value)
ignores other parameters
repeated string ids = 2 [json_name = "ids"];- Parameters:
index- The index to set the value at.value- The ids to set.- Returns:
- This builder for chaining.
-
addIds
public ListProductsRequest.Builder addIds(java.lang.String value)
ignores other parameters
repeated string ids = 2 [json_name = "ids"];- Parameters:
value- The ids to add.- Returns:
- This builder for chaining.
-
addAllIds
public ListProductsRequest.Builder addAllIds(java.lang.Iterable<java.lang.String> values)
ignores other parameters
repeated string ids = 2 [json_name = "ids"];- Parameters:
values- The ids to add.- Returns:
- This builder for chaining.
-
clearIds
public ListProductsRequest.Builder clearIds()
ignores other parameters
repeated string ids = 2 [json_name = "ids"];- Returns:
- This builder for chaining.
-
addIdsBytes
public ListProductsRequest.Builder addIdsBytes(com.google.protobuf.ByteString value)
ignores other parameters
repeated string ids = 2 [json_name = "ids"];- Parameters:
value- The bytes of the ids to add.- Returns:
- This builder for chaining.
-
hasSort
public boolean hasSort()
.streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];- Specified by:
hasSortin interfaceListProductsRequestOrBuilder- Returns:
- Whether the sort field is set.
-
getSort
public Sort getSort()
.streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];- Specified by:
getSortin interfaceListProductsRequestOrBuilder- Returns:
- The sort.
-
setSort
public ListProductsRequest.Builder setSort(Sort value)
.streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];
-
setSort
public ListProductsRequest.Builder setSort(Sort.Builder builderForValue)
.streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];
-
mergeSort
public ListProductsRequest.Builder mergeSort(Sort value)
.streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];
-
clearSort
public ListProductsRequest.Builder clearSort()
.streamlayer.nflShop.Sort sort = 3 [json_name = "sort"];
-
getCursor
public java.lang.String getCursor()
string cursor = 4 [json_name = "cursor"];- Specified by:
getCursorin interfaceListProductsRequestOrBuilder- Returns:
- The cursor.
-
getCursorBytes
public com.google.protobuf.ByteString getCursorBytes()
string cursor = 4 [json_name = "cursor"];- Specified by:
getCursorBytesin interfaceListProductsRequestOrBuilder- Returns:
- The bytes for cursor.
-
setCursor
public ListProductsRequest.Builder setCursor(java.lang.String value)
string cursor = 4 [json_name = "cursor"];- Parameters:
value- The cursor to set.- Returns:
- This builder for chaining.
-
clearCursor
public ListProductsRequest.Builder clearCursor()
string cursor = 4 [json_name = "cursor"];- Returns:
- This builder for chaining.
-
setCursorBytes
public ListProductsRequest.Builder setCursorBytes(com.google.protobuf.ByteString value)
string cursor = 4 [json_name = "cursor"];- Parameters:
value- The bytes for cursor to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()
uint32 page_size = 5 [json_name = "pageSize"];- Specified by:
getPageSizein interfaceListProductsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
public ListProductsRequest.Builder setPageSize(int value)
uint32 page_size = 5 [json_name = "pageSize"];- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public ListProductsRequest.Builder clearPageSize()
uint32 page_size = 5 [json_name = "pageSize"];- Returns:
- This builder for chaining.
-
-