Class ListAccessApprovalRequestsResponse.Builder (0.13.0)

public static final class ListAccessApprovalRequestsResponse.Builder extends GeneratedMessageV3.Builder<ListAccessApprovalRequestsResponse.Builder> implements ListAccessApprovalRequestsResponseOrBuilder

Response message for list access requests.

Protobuf type google.cloud.cloudcontrolspartner.v1.ListAccessApprovalRequestsResponse

Static Methods

getDescriptor()

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

Methods

addAccessApprovalRequests(AccessApprovalRequest value)

public ListAccessApprovalRequestsResponse.Builder addAccessApprovalRequests(AccessApprovalRequest value)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameter
Name Description
value AccessApprovalRequest
Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

addAccessApprovalRequests(AccessApprovalRequest.Builder builderForValue)

public ListAccessApprovalRequestsResponse.Builder addAccessApprovalRequests(AccessApprovalRequest.Builder builderForValue)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameter
Name Description
builderForValue AccessApprovalRequest.Builder
Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

addAccessApprovalRequests(int index, AccessApprovalRequest value)

public ListAccessApprovalRequestsResponse.Builder addAccessApprovalRequests(int index, AccessApprovalRequest value)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameters
Name Description
index int
value AccessApprovalRequest
Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

addAccessApprovalRequests(int index, AccessApprovalRequest.Builder builderForValue)

public ListAccessApprovalRequestsResponse.Builder addAccessApprovalRequests(int index, AccessApprovalRequest.Builder builderForValue)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameters
Name Description
index int
builderForValue AccessApprovalRequest.Builder
Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

addAccessApprovalRequestsBuilder()

public AccessApprovalRequest.Builder addAccessApprovalRequestsBuilder()

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Returns
Type Description
AccessApprovalRequest.Builder

addAccessApprovalRequestsBuilder(int index)

public AccessApprovalRequest.Builder addAccessApprovalRequestsBuilder(int index)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameter
Name Description
index int
Returns
Type Description
AccessApprovalRequest.Builder

addAllAccessApprovalRequests(Iterable<? extends AccessApprovalRequest> values)

public ListAccessApprovalRequestsResponse.Builder addAllAccessApprovalRequests(Iterable<? extends AccessApprovalRequest> values)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest>
Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListAccessApprovalRequestsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListAccessApprovalRequestsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

build()

public ListAccessApprovalRequestsResponse build()
Returns
Type Description
ListAccessApprovalRequestsResponse

buildPartial()

public ListAccessApprovalRequestsResponse buildPartial()
Returns
Type Description
ListAccessApprovalRequestsResponse

clear()

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

clearAccessApprovalRequests()

public ListAccessApprovalRequestsResponse.Builder clearAccessApprovalRequests()

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAccessApprovalRequestsResponse.Builder clearNextPageToken()

A token that 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
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListAccessApprovalRequestsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

clone()

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

getAccessApprovalRequests(int index)

public AccessApprovalRequest getAccessApprovalRequests(int index)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameter
Name Description
index int
Returns
Type Description
AccessApprovalRequest

getAccessApprovalRequestsBuilder(int index)

public AccessApprovalRequest.Builder getAccessApprovalRequestsBuilder(int index)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameter
Name Description
index int
Returns
Type Description
AccessApprovalRequest.Builder

getAccessApprovalRequestsBuilderList()

public List<AccessApprovalRequest.Builder> getAccessApprovalRequestsBuilderList()

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Returns
Type Description
List<Builder>

getAccessApprovalRequestsCount()

public int getAccessApprovalRequestsCount()

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Returns
Type Description
int

getAccessApprovalRequestsList()

public List<AccessApprovalRequest> getAccessApprovalRequestsList()

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Returns
Type Description
List<AccessApprovalRequest>

getAccessApprovalRequestsOrBuilder(int index)

public AccessApprovalRequestOrBuilder getAccessApprovalRequestsOrBuilder(int index)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameter
Name Description
index int
Returns
Type Description
AccessApprovalRequestOrBuilder

getAccessApprovalRequestsOrBuilderList()

public List<? extends AccessApprovalRequestOrBuilder> getAccessApprovalRequestsOrBuilderList()

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Returns
Type Description
List<? extends com.google.cloud.cloudcontrolspartner.v1.AccessApprovalRequestOrBuilder>

getDefaultInstanceForType()

public ListAccessApprovalRequestsResponse getDefaultInstanceForType()
Returns
Type Description
ListAccessApprovalRequestsResponse

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. 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 that 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.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

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)

Locations that could not be reached.

repeated string unreachable = 3;

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

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAccessApprovalRequestsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAccessApprovalRequests(int index)

public ListAccessApprovalRequestsResponse.Builder removeAccessApprovalRequests(int index)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

setAccessApprovalRequests(int index, AccessApprovalRequest value)

public ListAccessApprovalRequestsResponse.Builder setAccessApprovalRequests(int index, AccessApprovalRequest value)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameters
Name Description
index int
value AccessApprovalRequest
Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

setAccessApprovalRequests(int index, AccessApprovalRequest.Builder builderForValue)

public ListAccessApprovalRequestsResponse.Builder setAccessApprovalRequests(int index, AccessApprovalRequest.Builder builderForValue)

List of access approval requests

repeated .google.cloud.cloudcontrolspartner.v1.AccessApprovalRequest access_approval_requests = 1;

Parameters
Name Description
index int
builderForValue AccessApprovalRequest.Builder
Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAccessApprovalRequestsResponse.Builder setNextPageToken(String value)

A token that 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
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAccessApprovalRequestsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that 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
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.