public static final class ListLogicalProductsResponse.Builder extends GeneratedMessage.Builder<ListLogicalProductsResponse.Builder> implements ListLogicalProductsResponseOrBuilderResponse message for ListLogicalProducts.
Protobuf type google.cloud.productregistry.v1.ListLogicalProductsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListLogicalProductsResponse.BuilderImplements
ListLogicalProductsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllLogicalProducts(Iterable<? extends LogicalProduct> values)
public ListLogicalProductsResponse.Builder addAllLogicalProducts(Iterable<? extends LogicalProduct> values)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.productregistry.v1.LogicalProduct> |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
addLogicalProducts(LogicalProduct value)
public ListLogicalProductsResponse.Builder addLogicalProducts(LogicalProduct value)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
LogicalProduct |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
addLogicalProducts(LogicalProduct.Builder builderForValue)
public ListLogicalProductsResponse.Builder addLogicalProducts(LogicalProduct.Builder builderForValue)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LogicalProduct.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
addLogicalProducts(int index, LogicalProduct value)
public ListLogicalProductsResponse.Builder addLogicalProducts(int index, LogicalProduct value)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
LogicalProduct |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
addLogicalProducts(int index, LogicalProduct.Builder builderForValue)
public ListLogicalProductsResponse.Builder addLogicalProducts(int index, LogicalProduct.Builder builderForValue)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
LogicalProduct.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
addLogicalProductsBuilder()
public LogicalProduct.Builder addLogicalProductsBuilder()Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Returns | |
|---|---|
| Type | Description |
LogicalProduct.Builder |
|
addLogicalProductsBuilder(int index)
public LogicalProduct.Builder addLogicalProductsBuilder(int index)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogicalProduct.Builder |
|
build()
public ListLogicalProductsResponse build()| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse |
|
buildPartial()
public ListLogicalProductsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse |
|
clear()
public ListLogicalProductsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
clearLogicalProducts()
public ListLogicalProductsResponse.Builder clearLogicalProducts()Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
clearNextPageToken()
public ListLogicalProductsResponse.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 |
ListLogicalProductsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListLogicalProductsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLogicalProducts(int index)
public LogicalProduct getLogicalProducts(int index)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogicalProduct |
|
getLogicalProductsBuilder(int index)
public LogicalProduct.Builder getLogicalProductsBuilder(int index)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogicalProduct.Builder |
|
getLogicalProductsBuilderList()
public List<LogicalProduct.Builder> getLogicalProductsBuilderList()Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getLogicalProductsCount()
public int getLogicalProductsCount()Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLogicalProductsList()
public List<LogicalProduct> getLogicalProductsList()Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Returns | |
|---|---|
| Type | Description |
List<LogicalProduct> |
|
getLogicalProductsOrBuilder(int index)
public LogicalProductOrBuilder getLogicalProductsOrBuilder(int index)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
LogicalProductOrBuilder |
|
getLogicalProductsOrBuilderList()
public List<? extends LogicalProductOrBuilder> getLogicalProductsOrBuilderList()Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.productregistry.v1.LogicalProductOrBuilder> |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListLogicalProductsResponse other)
public ListLogicalProductsResponse.Builder mergeFrom(ListLogicalProductsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListLogicalProductsResponse |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListLogicalProductsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListLogicalProductsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
removeLogicalProducts(int index)
public ListLogicalProductsResponse.Builder removeLogicalProducts(int index)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
setLogicalProducts(int index, LogicalProduct value)
public ListLogicalProductsResponse.Builder setLogicalProducts(int index, LogicalProduct value)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
LogicalProduct |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
setLogicalProducts(int index, LogicalProduct.Builder builderForValue)
public ListLogicalProductsResponse.Builder setLogicalProducts(int index, LogicalProduct.Builder builderForValue)Matched LogicalProducts
repeated .google.cloud.productregistry.v1.LogicalProduct logical_products = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
LogicalProduct.Builder |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
|
setNextPageToken(String value)
public ListLogicalProductsResponse.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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListLogicalProductsResponse.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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListLogicalProductsResponse.Builder |
This builder for chaining. |