Class ListAttributesResponse.Builder (0.1.0)

public static final class ListAttributesResponse.Builder extends GeneratedMessageV3.Builder<ListAttributesResponse.Builder> implements ListAttributesResponseOrBuilder

The ListAttributes method's response.

Protobuf type google.cloud.apihub.v1.ListAttributesResponse

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAttributesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAttributesResponse.Builder
Overrides

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
Overrides

clearAttributes()

public ListAttributesResponse.Builder clearAttributes()

The list of all attributes.

repeated .google.cloud.apihub.v1.Attribute attributes = 1;

Returns
Type Description
ListAttributesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAttributesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListAttributesResponse.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAttributesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListAttributesResponse.Builder
Overrides

clone()

public ListAttributesResponse.Builder clone()
Returns
Type Description
ListAttributesResponse.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListAttributesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListAttributesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAttributesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAttributesResponse.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListAttributesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListAttributesResponse.Builder
Overrides

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 String

The 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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAttributesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListAttributesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListAttributesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAttributesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListAttributesResponse.Builder
Overrides