public static final class ListAttributesResponse.Builder extends GeneratedMessage.Builder<ListAttributesResponse.Builder> implements ListAttributesResponseOrBuilderThe ListAttributes method's response.
Protobuf type google.cloud.apihub.v1.ListAttributesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListAttributesResponse.BuilderImplements
ListAttributesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAttributes(Iterable<? extends Attribute> values)
public ListAttributesResponse.Builder addAllAttributes(Iterable<? extends Attribute> values)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.Attribute> |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
addAttributes(Attribute value)
public ListAttributesResponse.Builder addAttributes(Attribute value)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
addAttributes(Attribute.Builder builderForValue)
public ListAttributesResponse.Builder addAttributes(Attribute.Builder builderForValue)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Attribute.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
addAttributes(int index, Attribute value)
public ListAttributesResponse.Builder addAttributes(int index, Attribute value)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
addAttributes(int index, Attribute.Builder builderForValue)
public ListAttributesResponse.Builder addAttributes(int index, Attribute.Builder builderForValue)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Attribute.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
addAttributesBuilder()
public Attribute.Builder addAttributesBuilder()The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Returns | |
|---|---|
| Type | Description |
Attribute.Builder |
|
addAttributesBuilder(int index)
public Attribute.Builder addAttributesBuilder(int index)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Attribute.Builder |
|
build()
public ListAttributesResponse build()| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse |
|
buildPartial()
public ListAttributesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse |
|
clear()
public ListAttributesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
clearAttributes()
public ListAttributesResponse.Builder clearAttributes()The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
clearNextPageToken()
public ListAttributesResponse.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 |
ListAttributesResponse.Builder |
This builder for chaining. |
getAttributes(int index)
public Attribute getAttributes(int index)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Attribute |
|
getAttributesBuilder(int index)
public Attribute.Builder getAttributesBuilder(int index)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Attribute.Builder |
|
getAttributesBuilderList()
public List<Attribute.Builder> getAttributesBuilderList()The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAttributesCount()
public int getAttributesCount()The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getAttributesList()
public List<Attribute> getAttributesList()The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Returns | |
|---|---|
| Type | Description |
List<Attribute> |
|
getAttributesOrBuilder(int index)
public AttributeOrBuilder getAttributesOrBuilder(int index)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttributeOrBuilder |
|
getAttributesOrBuilderList()
public List<? extends AttributeOrBuilder> getAttributesOrBuilderList()The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.apihub.v1.AttributeOrBuilder> |
|
getDefaultInstanceForType()
public ListAttributesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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(ListAttributesResponse other)
public ListAttributesResponse.Builder mergeFrom(ListAttributesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListAttributesResponse |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAttributesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListAttributesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
removeAttributes(int index)
public ListAttributesResponse.Builder removeAttributes(int index)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
setAttributes(int index, Attribute value)
public ListAttributesResponse.Builder setAttributes(int index, Attribute value)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
setAttributes(int index, Attribute.Builder builderForValue)
public ListAttributesResponse.Builder setAttributes(int index, Attribute.Builder builderForValue)The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Attribute.Builder |
| Returns | |
|---|---|
| Type | Description |
ListAttributesResponse.Builder |
|
setNextPageToken(String value)
public ListAttributesResponse.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 |
ListAttributesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListAttributesResponse.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 |
ListAttributesResponse.Builder |
This builder for chaining. |