Class ListAccessApprovalRequestsResponse.Builder (0.5.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.v1beta.ListAccessApprovalRequestsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAccessApprovalRequests(AccessApprovalRequest value)

public ListAccessApprovalRequestsResponse.Builder addAccessApprovalRequests(AccessApprovalRequest value)

List of access approval requests

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

Parameter
NameDescription
valueAccessApprovalRequest
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

addAccessApprovalRequests(AccessApprovalRequest.Builder builderForValue)

public ListAccessApprovalRequestsResponse.Builder addAccessApprovalRequests(AccessApprovalRequest.Builder builderForValue)

List of access approval requests

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

Parameter
NameDescription
builderForValueAccessApprovalRequest.Builder
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

addAccessApprovalRequests(int index, AccessApprovalRequest value)

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

List of access approval requests

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

Parameters
NameDescription
indexint
valueAccessApprovalRequest
Returns
TypeDescription
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.v1beta.AccessApprovalRequest access_approval_requests = 1;

Parameters
NameDescription
indexint
builderForValueAccessApprovalRequest.Builder
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

addAccessApprovalRequestsBuilder()

public AccessApprovalRequest.Builder addAccessApprovalRequestsBuilder()

List of access approval requests

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

Returns
TypeDescription
AccessApprovalRequest.Builder

addAccessApprovalRequestsBuilder(int index)

public AccessApprovalRequest.Builder addAccessApprovalRequestsBuilder(int index)

List of access approval requests

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessApprovalRequest.Builder

addAllAccessApprovalRequests(Iterable<? extends AccessApprovalRequest> values)

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

List of access approval requests

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.cloudcontrolspartner.v1beta.AccessApprovalRequest>
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListAccessApprovalRequestsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder
Overrides

addUnreachable(String value)

public ListAccessApprovalRequestsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

build()

public ListAccessApprovalRequestsResponse build()
Returns
TypeDescription
ListAccessApprovalRequestsResponse

buildPartial()

public ListAccessApprovalRequestsResponse buildPartial()
Returns
TypeDescription
ListAccessApprovalRequestsResponse

clear()

public ListAccessApprovalRequestsResponse.Builder clear()
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder
Overrides

clearAccessApprovalRequests()

public ListAccessApprovalRequestsResponse.Builder clearAccessApprovalRequests()

List of access approval requests

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

Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAccessApprovalRequestsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListAccessApprovalRequestsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder
Overrides

clearUnreachable()

public ListAccessApprovalRequestsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.

clone()

public ListAccessApprovalRequestsResponse.Builder clone()
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder
Overrides

getAccessApprovalRequests(int index)

public AccessApprovalRequest getAccessApprovalRequests(int index)

List of access approval requests

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessApprovalRequest

getAccessApprovalRequestsBuilder(int index)

public AccessApprovalRequest.Builder getAccessApprovalRequestsBuilder(int index)

List of access approval requests

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessApprovalRequest.Builder

getAccessApprovalRequestsBuilderList()

public List<AccessApprovalRequest.Builder> getAccessApprovalRequestsBuilderList()

List of access approval requests

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

Returns
TypeDescription
List<Builder>

getAccessApprovalRequestsCount()

public int getAccessApprovalRequestsCount()

List of access approval requests

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

Returns
TypeDescription
int

getAccessApprovalRequestsList()

public List<AccessApprovalRequest> getAccessApprovalRequestsList()

List of access approval requests

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

Returns
TypeDescription
List<AccessApprovalRequest>

getAccessApprovalRequestsOrBuilder(int index)

public AccessApprovalRequestOrBuilder getAccessApprovalRequestsOrBuilder(int index)

List of access approval requests

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AccessApprovalRequestOrBuilder

getAccessApprovalRequestsOrBuilderList()

public List<? extends AccessApprovalRequestOrBuilder> getAccessApprovalRequestsOrBuilderList()

List of access approval requests

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

Returns
TypeDescription
List<? extends com.google.cloud.cloudcontrolspartner.v1beta.AccessApprovalRequestOrBuilder>

getDefaultInstanceForType()

public ListAccessApprovalRequestsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAccessApprovalRequestsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAccessApprovalRequestsResponse other)

public ListAccessApprovalRequestsResponse.Builder mergeFrom(ListAccessApprovalRequestsResponse other)
Parameter
NameDescription
otherListAccessApprovalRequestsResponse
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListAccessApprovalRequestsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListAccessApprovalRequestsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAccessApprovalRequestsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder
Overrides

removeAccessApprovalRequests(int index)

public ListAccessApprovalRequestsResponse.Builder removeAccessApprovalRequests(int index)

List of access approval requests

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

setAccessApprovalRequests(int index, AccessApprovalRequest value)

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

List of access approval requests

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

Parameters
NameDescription
indexint
valueAccessApprovalRequest
Returns
TypeDescription
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.v1beta.AccessApprovalRequest access_approval_requests = 1;

Parameters
NameDescription
indexint
builderForValueAccessApprovalRequest.Builder
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListAccessApprovalRequestsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListAccessApprovalRequestsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListAccessApprovalRequestsResponse.Builder

This builder for chaining.