Class ListAuthorizationsResponse.Builder (0.1.0)

public static final class ListAuthorizationsResponse.Builder extends GeneratedMessage.Builder<ListAuthorizationsResponse.Builder> implements ListAuthorizationsResponseOrBuilder

Message for response to listing Authorizations

Protobuf type google.cloud.agentidentity.v1.ListAuthorizationsResponse

Static Methods

getDescriptor()

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

Methods

addAllAuthorizations(Iterable<? extends Authorization> values)

public ListAuthorizationsResponse.Builder addAllAuthorizations(Iterable<? extends Authorization> values)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.agentidentity.v1.Authorization>
Returns
Type Description
ListAuthorizationsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListAuthorizationsResponse.Builder addAllUnreachable(Iterable<String> values)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListAuthorizationsResponse.Builder

This builder for chaining.

addAuthorizations(Authorization value)

public ListAuthorizationsResponse.Builder addAuthorizations(Authorization value)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameter
Name Description
value Authorization
Returns
Type Description
ListAuthorizationsResponse.Builder

addAuthorizations(Authorization.Builder builderForValue)

public ListAuthorizationsResponse.Builder addAuthorizations(Authorization.Builder builderForValue)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameter
Name Description
builderForValue Authorization.Builder
Returns
Type Description
ListAuthorizationsResponse.Builder

addAuthorizations(int index, Authorization value)

public ListAuthorizationsResponse.Builder addAuthorizations(int index, Authorization value)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameters
Name Description
index int
value Authorization
Returns
Type Description
ListAuthorizationsResponse.Builder

addAuthorizations(int index, Authorization.Builder builderForValue)

public ListAuthorizationsResponse.Builder addAuthorizations(int index, Authorization.Builder builderForValue)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameters
Name Description
index int
builderForValue Authorization.Builder
Returns
Type Description
ListAuthorizationsResponse.Builder

addAuthorizationsBuilder()

public Authorization.Builder addAuthorizationsBuilder()

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Returns
Type Description
Authorization.Builder

addAuthorizationsBuilder(int index)

public Authorization.Builder addAuthorizationsBuilder(int index)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
Authorization.Builder

addUnreachable(String value)

public ListAuthorizationsResponse.Builder addUnreachable(String value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListAuthorizationsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListAuthorizationsResponse.Builder addUnreachableBytes(ByteString value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListAuthorizationsResponse.Builder

This builder for chaining.

build()

public ListAuthorizationsResponse build()
Returns
Type Description
ListAuthorizationsResponse

buildPartial()

public ListAuthorizationsResponse buildPartial()
Returns
Type Description
ListAuthorizationsResponse

clear()

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

clearAuthorizations()

public ListAuthorizationsResponse.Builder clearAuthorizations()

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Returns
Type Description
ListAuthorizationsResponse.Builder

clearNextPageToken()

public ListAuthorizationsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListAuthorizationsResponse.Builder

This builder for chaining.

clearUnreachable()

public ListAuthorizationsResponse.Builder clearUnreachable()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ListAuthorizationsResponse.Builder

This builder for chaining.

getAuthorizations(int index)

public Authorization getAuthorizations(int index)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
Authorization

getAuthorizationsBuilder(int index)

public Authorization.Builder getAuthorizationsBuilder(int index)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
Authorization.Builder

getAuthorizationsBuilderList()

public List<Authorization.Builder> getAuthorizationsBuilderList()

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Returns
Type Description
List<Builder>

getAuthorizationsCount()

public int getAuthorizationsCount()

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Returns
Type Description
int

getAuthorizationsList()

public List<Authorization> getAuthorizationsList()

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Returns
Type Description
List<Authorization>

getAuthorizationsOrBuilder(int index)

public AuthorizationOrBuilder getAuthorizationsOrBuilder(int index)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
AuthorizationOrBuilder

getAuthorizationsOrBuilderList()

public List<? extends AuthorizationOrBuilder> getAuthorizationsOrBuilderList()

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Returns
Type Description
List<? extends com.google.cloud.agentidentity.v1.AuthorizationOrBuilder>

getDefaultInstanceForType()

public ListAuthorizationsResponse getDefaultInstanceForType()
Returns
Type Description
ListAuthorizationsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAuthorizationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeAuthorizations(int index)

public ListAuthorizationsResponse.Builder removeAuthorizations(int index)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAuthorizationsResponse.Builder

setAuthorizations(int index, Authorization value)

public ListAuthorizationsResponse.Builder setAuthorizations(int index, Authorization value)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameters
Name Description
index int
value Authorization
Returns
Type Description
ListAuthorizationsResponse.Builder

setAuthorizations(int index, Authorization.Builder builderForValue)

public ListAuthorizationsResponse.Builder setAuthorizations(int index, Authorization.Builder builderForValue)

The list of Authorization

repeated .google.cloud.agentidentity.v1.Authorization authorizations = 1;

Parameters
Name Description
index int
builderForValue Authorization.Builder
Returns
Type Description
ListAuthorizationsResponse.Builder

setNextPageToken(String value)

public ListAuthorizationsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAuthorizationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAuthorizationsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAuthorizationsResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

public ListAuthorizationsResponse.Builder setUnreachable(int index, String value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListAuthorizationsResponse.Builder

This builder for chaining.