Class ListInterceptDeploymentsResponse.Builder (0.94.0)

public static final class ListInterceptDeploymentsResponse.Builder extends GeneratedMessage.Builder<ListInterceptDeploymentsResponse.Builder> implements ListInterceptDeploymentsResponseOrBuilder

Response message for ListInterceptDeployments.

Protobuf type google.cloud.networksecurity.v1.ListInterceptDeploymentsResponse

Static Methods

getDescriptor()

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

Methods

addAllInterceptDeployments(Iterable<? extends InterceptDeployment> values)

public ListInterceptDeploymentsResponse.Builder addAllInterceptDeployments(Iterable<? extends InterceptDeployment> values)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.networksecurity.v1.InterceptDeployment>
Returns
Type Description
ListInterceptDeploymentsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListInterceptDeploymentsResponse.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
ListInterceptDeploymentsResponse.Builder

This builder for chaining.

addInterceptDeployments(InterceptDeployment value)

public ListInterceptDeploymentsResponse.Builder addInterceptDeployments(InterceptDeployment value)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameter
Name Description
value InterceptDeployment
Returns
Type Description
ListInterceptDeploymentsResponse.Builder

addInterceptDeployments(InterceptDeployment.Builder builderForValue)

public ListInterceptDeploymentsResponse.Builder addInterceptDeployments(InterceptDeployment.Builder builderForValue)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameter
Name Description
builderForValue InterceptDeployment.Builder
Returns
Type Description
ListInterceptDeploymentsResponse.Builder

addInterceptDeployments(int index, InterceptDeployment value)

public ListInterceptDeploymentsResponse.Builder addInterceptDeployments(int index, InterceptDeployment value)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameters
Name Description
index int
value InterceptDeployment
Returns
Type Description
ListInterceptDeploymentsResponse.Builder

addInterceptDeployments(int index, InterceptDeployment.Builder builderForValue)

public ListInterceptDeploymentsResponse.Builder addInterceptDeployments(int index, InterceptDeployment.Builder builderForValue)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameters
Name Description
index int
builderForValue InterceptDeployment.Builder
Returns
Type Description
ListInterceptDeploymentsResponse.Builder

addInterceptDeploymentsBuilder()

public InterceptDeployment.Builder addInterceptDeploymentsBuilder()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Returns
Type Description
InterceptDeployment.Builder

addInterceptDeploymentsBuilder(int index)

public InterceptDeployment.Builder addInterceptDeploymentsBuilder(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
InterceptDeployment.Builder

addUnreachable(String value)

public ListInterceptDeploymentsResponse.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
ListInterceptDeploymentsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListInterceptDeploymentsResponse.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
ListInterceptDeploymentsResponse.Builder

This builder for chaining.

build()

public ListInterceptDeploymentsResponse build()
Returns
Type Description
ListInterceptDeploymentsResponse

buildPartial()

public ListInterceptDeploymentsResponse buildPartial()
Returns
Type Description
ListInterceptDeploymentsResponse

clear()

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

clearInterceptDeployments()

public ListInterceptDeploymentsResponse.Builder clearInterceptDeployments()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Returns
Type Description
ListInterceptDeploymentsResponse.Builder

clearNextPageToken()

public ListInterceptDeploymentsResponse.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. See https://google.aip.dev/158 for more details.

string next_page_token = 2;

Returns
Type Description
ListInterceptDeploymentsResponse.Builder

This builder for chaining.

clearUnreachable()

public ListInterceptDeploymentsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListInterceptDeploymentsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListInterceptDeploymentsResponse getDefaultInstanceForType()
Returns
Type Description
ListInterceptDeploymentsResponse

getDescriptorForType()

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

getInterceptDeployments(int index)

public InterceptDeployment getInterceptDeployments(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
InterceptDeployment

getInterceptDeploymentsBuilder(int index)

public InterceptDeployment.Builder getInterceptDeploymentsBuilder(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
InterceptDeployment.Builder

getInterceptDeploymentsBuilderList()

public List<InterceptDeployment.Builder> getInterceptDeploymentsBuilderList()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Returns
Type Description
List<Builder>

getInterceptDeploymentsCount()

public int getInterceptDeploymentsCount()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Returns
Type Description
int

getInterceptDeploymentsList()

public List<InterceptDeployment> getInterceptDeploymentsList()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Returns
Type Description
List<InterceptDeployment>

getInterceptDeploymentsOrBuilder(int index)

public InterceptDeploymentOrBuilder getInterceptDeploymentsOrBuilder(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
InterceptDeploymentOrBuilder

getInterceptDeploymentsOrBuilderList()

public List<? extends InterceptDeploymentOrBuilder> getInterceptDeploymentsOrBuilderList()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Returns
Type Description
List<? extends com.google.cloud.networksecurity.v1.InterceptDeploymentOrBuilder>

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. See https://google.aip.dev/158 for more details.

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. See https://google.aip.dev/158 for more details.

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListInterceptDeploymentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeInterceptDeployments(int index)

public ListInterceptDeploymentsResponse.Builder removeInterceptDeployments(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
ListInterceptDeploymentsResponse.Builder

setInterceptDeployments(int index, InterceptDeployment value)

public ListInterceptDeploymentsResponse.Builder setInterceptDeployments(int index, InterceptDeployment value)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameters
Name Description
index int
value InterceptDeployment
Returns
Type Description
ListInterceptDeploymentsResponse.Builder

setInterceptDeployments(int index, InterceptDeployment.Builder builderForValue)

public ListInterceptDeploymentsResponse.Builder setInterceptDeployments(int index, InterceptDeployment.Builder builderForValue)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.InterceptDeployment intercept_deployments = 1;

Parameters
Name Description
index int
builderForValue InterceptDeployment.Builder
Returns
Type Description
ListInterceptDeploymentsResponse.Builder

setNextPageToken(String value)

public ListInterceptDeploymentsResponse.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. See https://google.aip.dev/158 for more details.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListInterceptDeploymentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInterceptDeploymentsResponse.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. See https://google.aip.dev/158 for more details.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListInterceptDeploymentsResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

public ListInterceptDeploymentsResponse.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
ListInterceptDeploymentsResponse.Builder

This builder for chaining.