Class ListServicePerimetersResponse.Builder (1.42.0)

public static final class ListServicePerimetersResponse.Builder extends GeneratedMessageV3.Builder<ListServicePerimetersResponse.Builder> implements ListServicePerimetersResponseOrBuilder

A response to ListServicePerimetersRequest.

Protobuf type google.identity.accesscontextmanager.v1.ListServicePerimetersResponse

Static Methods

getDescriptor()

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

Methods

addAllServicePerimeters(Iterable<? extends ServicePerimeter> values)

public ListServicePerimetersResponse.Builder addAllServicePerimeters(Iterable<? extends ServicePerimeter> values)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeter>
Returns
TypeDescription
ListServicePerimetersResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServicePerimeters(ServicePerimeter value)

public ListServicePerimetersResponse.Builder addServicePerimeters(ServicePerimeter value)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameter
NameDescription
valueServicePerimeter
Returns
TypeDescription
ListServicePerimetersResponse.Builder

addServicePerimeters(ServicePerimeter.Builder builderForValue)

public ListServicePerimetersResponse.Builder addServicePerimeters(ServicePerimeter.Builder builderForValue)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameter
NameDescription
builderForValueServicePerimeter.Builder
Returns
TypeDescription
ListServicePerimetersResponse.Builder

addServicePerimeters(int index, ServicePerimeter value)

public ListServicePerimetersResponse.Builder addServicePerimeters(int index, ServicePerimeter value)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameters
NameDescription
indexint
valueServicePerimeter
Returns
TypeDescription
ListServicePerimetersResponse.Builder

addServicePerimeters(int index, ServicePerimeter.Builder builderForValue)

public ListServicePerimetersResponse.Builder addServicePerimeters(int index, ServicePerimeter.Builder builderForValue)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameters
NameDescription
indexint
builderForValueServicePerimeter.Builder
Returns
TypeDescription
ListServicePerimetersResponse.Builder

addServicePerimetersBuilder()

public ServicePerimeter.Builder addServicePerimetersBuilder()

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Returns
TypeDescription
ServicePerimeter.Builder

addServicePerimetersBuilder(int index)

public ServicePerimeter.Builder addServicePerimetersBuilder(int index)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServicePerimeter.Builder

build()

public ListServicePerimetersResponse build()
Returns
TypeDescription
ListServicePerimetersResponse

buildPartial()

public ListServicePerimetersResponse buildPartial()
Returns
TypeDescription
ListServicePerimetersResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListServicePerimetersResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListServicePerimetersResponse.Builder
Overrides

clearNextPageToken()

public ListServicePerimetersResponse.Builder clearNextPageToken()

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Returns
TypeDescription
ListServicePerimetersResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServicePerimeters()

public ListServicePerimetersResponse.Builder clearServicePerimeters()

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Returns
TypeDescription
ListServicePerimetersResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListServicePerimetersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServicePerimetersResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getServicePerimeters(int index)

public ServicePerimeter getServicePerimeters(int index)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServicePerimeter

getServicePerimetersBuilder(int index)

public ServicePerimeter.Builder getServicePerimetersBuilder(int index)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServicePerimeter.Builder

getServicePerimetersBuilderList()

public List<ServicePerimeter.Builder> getServicePerimetersBuilderList()

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Returns
TypeDescription
List<Builder>

getServicePerimetersCount()

public int getServicePerimetersCount()

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Returns
TypeDescription
int

getServicePerimetersList()

public List<ServicePerimeter> getServicePerimetersList()

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Returns
TypeDescription
List<ServicePerimeter>

getServicePerimetersOrBuilder(int index)

public ServicePerimeterOrBuilder getServicePerimetersOrBuilder(int index)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServicePerimeterOrBuilder

getServicePerimetersOrBuilderList()

public List<? extends ServicePerimeterOrBuilder> getServicePerimetersOrBuilderList()

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Returns
TypeDescription
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServicePerimetersResponse other)

public ListServicePerimetersResponse.Builder mergeFrom(ListServicePerimetersResponse other)
Parameter
NameDescription
otherListServicePerimetersResponse
Returns
TypeDescription
ListServicePerimetersResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeServicePerimeters(int index)

public ListServicePerimetersResponse.Builder removeServicePerimeters(int index)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListServicePerimetersResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListServicePerimetersResponse.Builder setNextPageToken(String value)

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListServicePerimetersResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListServicePerimetersResponse.Builder setNextPageTokenBytes(ByteString value)

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListServicePerimetersResponse.Builder

This builder for chaining.

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

public ListServicePerimetersResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListServicePerimetersResponse.Builder
Overrides

setServicePerimeters(int index, ServicePerimeter value)

public ListServicePerimetersResponse.Builder setServicePerimeters(int index, ServicePerimeter value)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameters
NameDescription
indexint
valueServicePerimeter
Returns
TypeDescription
ListServicePerimetersResponse.Builder

setServicePerimeters(int index, ServicePerimeter.Builder builderForValue)

public ListServicePerimetersResponse.Builder setServicePerimeters(int index, ServicePerimeter.Builder builderForValue)

List of the [Service Perimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] instances.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeters = 1;

Parameters
NameDescription
indexint
builderForValueServicePerimeter.Builder
Returns
TypeDescription
ListServicePerimetersResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListServicePerimetersResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListServicePerimetersResponse.Builder
Overrides