Class ListMirroringDeploymentsResponse.Builder (0.94.0)

public static final class ListMirroringDeploymentsResponse.Builder extends GeneratedMessage.Builder<ListMirroringDeploymentsResponse.Builder> implements ListMirroringDeploymentsResponseOrBuilder

Response message for ListMirroringDeployments.

Protobuf type google.cloud.networksecurity.v1.ListMirroringDeploymentsResponse

Static Methods

getDescriptor()

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

Methods

addAllMirroringDeployments(Iterable<? extends MirroringDeployment> values)

public ListMirroringDeploymentsResponse.Builder addAllMirroringDeployments(Iterable<? extends MirroringDeployment> values)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addMirroringDeployments(MirroringDeployment value)

public ListMirroringDeploymentsResponse.Builder addMirroringDeployments(MirroringDeployment value)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameter
Name Description
value MirroringDeployment
Returns
Type Description
ListMirroringDeploymentsResponse.Builder

addMirroringDeployments(MirroringDeployment.Builder builderForValue)

public ListMirroringDeploymentsResponse.Builder addMirroringDeployments(MirroringDeployment.Builder builderForValue)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameter
Name Description
builderForValue MirroringDeployment.Builder
Returns
Type Description
ListMirroringDeploymentsResponse.Builder

addMirroringDeployments(int index, MirroringDeployment value)

public ListMirroringDeploymentsResponse.Builder addMirroringDeployments(int index, MirroringDeployment value)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameters
Name Description
index int
value MirroringDeployment
Returns
Type Description
ListMirroringDeploymentsResponse.Builder

addMirroringDeployments(int index, MirroringDeployment.Builder builderForValue)

public ListMirroringDeploymentsResponse.Builder addMirroringDeployments(int index, MirroringDeployment.Builder builderForValue)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameters
Name Description
index int
builderForValue MirroringDeployment.Builder
Returns
Type Description
ListMirroringDeploymentsResponse.Builder

addMirroringDeploymentsBuilder()

public MirroringDeployment.Builder addMirroringDeploymentsBuilder()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Returns
Type Description
MirroringDeployment.Builder

addMirroringDeploymentsBuilder(int index)

public MirroringDeployment.Builder addMirroringDeploymentsBuilder(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
MirroringDeployment.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListMirroringDeploymentsResponse build()
Returns
Type Description
ListMirroringDeploymentsResponse

buildPartial()

public ListMirroringDeploymentsResponse buildPartial()
Returns
Type Description
ListMirroringDeploymentsResponse

clear()

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

clearMirroringDeployments()

public ListMirroringDeploymentsResponse.Builder clearMirroringDeployments()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Returns
Type Description
ListMirroringDeploymentsResponse.Builder

clearNextPageToken()

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

This builder for chaining.

clearUnreachable()

public ListMirroringDeploymentsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListMirroringDeploymentsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListMirroringDeploymentsResponse getDefaultInstanceForType()
Returns
Type Description
ListMirroringDeploymentsResponse

getDescriptorForType()

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

getMirroringDeployments(int index)

public MirroringDeployment getMirroringDeployments(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
MirroringDeployment

getMirroringDeploymentsBuilder(int index)

public MirroringDeployment.Builder getMirroringDeploymentsBuilder(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
MirroringDeployment.Builder

getMirroringDeploymentsBuilderList()

public List<MirroringDeployment.Builder> getMirroringDeploymentsBuilderList()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Returns
Type Description
List<Builder>

getMirroringDeploymentsCount()

public int getMirroringDeploymentsCount()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Returns
Type Description
int

getMirroringDeploymentsList()

public List<MirroringDeployment> getMirroringDeploymentsList()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Returns
Type Description
List<MirroringDeployment>

getMirroringDeploymentsOrBuilder(int index)

public MirroringDeploymentOrBuilder getMirroringDeploymentsOrBuilder(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
MirroringDeploymentOrBuilder

getMirroringDeploymentsOrBuilderList()

public List<? extends MirroringDeploymentOrBuilder> getMirroringDeploymentsOrBuilderList()

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeMirroringDeployments(int index)

public ListMirroringDeploymentsResponse.Builder removeMirroringDeployments(int index)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMirroringDeploymentsResponse.Builder

setMirroringDeployments(int index, MirroringDeployment value)

public ListMirroringDeploymentsResponse.Builder setMirroringDeployments(int index, MirroringDeployment value)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameters
Name Description
index int
value MirroringDeployment
Returns
Type Description
ListMirroringDeploymentsResponse.Builder

setMirroringDeployments(int index, MirroringDeployment.Builder builderForValue)

public ListMirroringDeploymentsResponse.Builder setMirroringDeployments(int index, MirroringDeployment.Builder builderForValue)

The deployments from the specified parent.

repeated .google.cloud.networksecurity.v1.MirroringDeployment mirroring_deployments = 1;

Parameters
Name Description
index int
builderForValue MirroringDeployment.Builder
Returns
Type Description
ListMirroringDeploymentsResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setUnreachable(int index, String value)

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

This builder for chaining.