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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
addAttributes(Attribute value)
public ListAttributesResponse.Builder addAttributes(Attribute value)
The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
addAttributes(Attribute.Builder builderForValue)
public ListAttributesResponse.Builder addAttributes(Attribute.Builder builderForValue)
The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
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;
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;
addAttributesBuilder()
public Attribute.Builder addAttributesBuilder()
The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAttributesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListAttributesResponse build()
buildPartial()
public ListAttributesResponse buildPartial()
clear()
public ListAttributesResponse.Builder clear()
Overrides
clearAttributes()
public ListAttributesResponse.Builder clearAttributes()
The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
clearField(Descriptors.FieldDescriptor field)
public ListAttributesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAttributesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListAttributesResponse.Builder clone()
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
|
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
|
getAttributesBuilderList()
public List<Attribute.Builder> getAttributesBuilderList()
The list of all attributes.
repeated .google.cloud.apihub.v1.Attribute attributes = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListAttributesResponse other)
public ListAttributesResponse.Builder mergeFrom(ListAttributesResponse other)
public ListAttributesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListAttributesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAttributesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListAttributesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAttributesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAttributesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides