Class ListAclsResponse.Builder (0.20.0)

public static final class ListAclsResponse.Builder extends GeneratedMessageV3.Builder<ListAclsResponse.Builder> implements ListAclsResponseOrBuilder

Response for ListAcls.

Protobuf type google.cloud.managedkafka.v1.ListAclsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAcls(Acl value)

public ListAclsResponse.Builder addAcls(Acl value)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameter
Name Description
value Acl
Returns
Type Description
ListAclsResponse.Builder

addAcls(Acl.Builder builderForValue)

public ListAclsResponse.Builder addAcls(Acl.Builder builderForValue)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameter
Name Description
builderForValue Acl.Builder
Returns
Type Description
ListAclsResponse.Builder

addAcls(int index, Acl value)

public ListAclsResponse.Builder addAcls(int index, Acl value)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameters
Name Description
index int
value Acl
Returns
Type Description
ListAclsResponse.Builder

addAcls(int index, Acl.Builder builderForValue)

public ListAclsResponse.Builder addAcls(int index, Acl.Builder builderForValue)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameters
Name Description
index int
builderForValue Acl.Builder
Returns
Type Description
ListAclsResponse.Builder

addAclsBuilder()

public Acl.Builder addAclsBuilder()

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Returns
Type Description
Acl.Builder

addAclsBuilder(int index)

public Acl.Builder addAclsBuilder(int index)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameter
Name Description
index int
Returns
Type Description
Acl.Builder

addAllAcls(Iterable<? extends Acl> values)

public ListAclsResponse.Builder addAllAcls(Iterable<? extends Acl> values)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.managedkafka.v1.Acl>
Returns
Type Description
ListAclsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAclsResponse build()
Returns
Type Description
ListAclsResponse

buildPartial()

public ListAclsResponse buildPartial()
Returns
Type Description
ListAclsResponse

clear()

public ListAclsResponse.Builder clear()
Returns
Type Description
ListAclsResponse.Builder
Overrides

clearAcls()

public ListAclsResponse.Builder clearAcls()

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Returns
Type Description
ListAclsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAclsResponse.Builder clearNextPageToken()

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

string next_page_token = 2;

Returns
Type Description
ListAclsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAcls(int index)

public Acl getAcls(int index)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameter
Name Description
index int
Returns
Type Description
Acl

getAclsBuilder(int index)

public Acl.Builder getAclsBuilder(int index)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameter
Name Description
index int
Returns
Type Description
Acl.Builder

getAclsBuilderList()

public List<Acl.Builder> getAclsBuilderList()

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Returns
Type Description
List<Builder>

getAclsCount()

public int getAclsCount()

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Returns
Type Description
int

getAclsList()

public List<Acl> getAclsList()

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Returns
Type Description
List<Acl>

getAclsOrBuilder(int index)

public AclOrBuilder getAclsOrBuilder(int index)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameter
Name Description
index int
Returns
Type Description
AclOrBuilder

getAclsOrBuilderList()

public List<? extends AclOrBuilder> getAclsOrBuilderList()

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Returns
Type Description
List<? extends com.google.cloud.managedkafka.v1.AclOrBuilder>

getDefaultInstanceForType()

public ListAclsResponse getDefaultInstanceForType()
Returns
Type Description
ListAclsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

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(ListAclsResponse other)

public ListAclsResponse.Builder mergeFrom(ListAclsResponse other)
Parameter
Name Description
other ListAclsResponse
Returns
Type Description
ListAclsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAclsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListAclsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAcls(int index)

public ListAclsResponse.Builder removeAcls(int index)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAclsResponse.Builder

setAcls(int index, Acl value)

public ListAclsResponse.Builder setAcls(int index, Acl value)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameters
Name Description
index int
value Acl
Returns
Type Description
ListAclsResponse.Builder

setAcls(int index, Acl.Builder builderForValue)

public ListAclsResponse.Builder setAcls(int index, Acl.Builder builderForValue)

The list of acls in the requested parent. The order of the acls is unspecified.

repeated .google.cloud.managedkafka.v1.Acl acls = 1;

Parameters
Name Description
index int
builderForValue Acl.Builder
Returns
Type Description
ListAclsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAclsResponse.Builder setNextPageToken(String value)

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAclsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAclsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as page_token to retrieve the next page of results. If this field is omitted, there are no more results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAclsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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