Class ListNetworkPeeringsResponse.Builder (0.28.0)

public static final class ListNetworkPeeringsResponse.Builder extends GeneratedMessageV3.Builder<ListNetworkPeeringsResponse.Builder> implements ListNetworkPeeringsResponseOrBuilder

Response message for VmwareEngine.ListNetworkPeerings

Protobuf type google.cloud.vmwareengine.v1.ListNetworkPeeringsResponse

Static Methods

getDescriptor()

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

Methods

addAllNetworkPeerings(Iterable<? extends NetworkPeering> values)

public ListNetworkPeeringsResponse.Builder addAllNetworkPeerings(Iterable<? extends NetworkPeering> values)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.NetworkPeering>
Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

This builder for chaining.

addNetworkPeerings(NetworkPeering value)

public ListNetworkPeeringsResponse.Builder addNetworkPeerings(NetworkPeering value)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameter
NameDescription
valueNetworkPeering
Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

addNetworkPeerings(NetworkPeering.Builder builderForValue)

public ListNetworkPeeringsResponse.Builder addNetworkPeerings(NetworkPeering.Builder builderForValue)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameter
NameDescription
builderForValueNetworkPeering.Builder
Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

addNetworkPeerings(int index, NetworkPeering value)

public ListNetworkPeeringsResponse.Builder addNetworkPeerings(int index, NetworkPeering value)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameters
NameDescription
indexint
valueNetworkPeering
Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

addNetworkPeerings(int index, NetworkPeering.Builder builderForValue)

public ListNetworkPeeringsResponse.Builder addNetworkPeerings(int index, NetworkPeering.Builder builderForValue)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameters
NameDescription
indexint
builderForValueNetworkPeering.Builder
Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

addNetworkPeeringsBuilder()

public NetworkPeering.Builder addNetworkPeeringsBuilder()

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Returns
TypeDescription
NetworkPeering.Builder

addNetworkPeeringsBuilder(int index)

public NetworkPeering.Builder addNetworkPeeringsBuilder(int index)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkPeering.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListNetworkPeeringsResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListNetworkPeeringsResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

This builder for chaining.

build()

public ListNetworkPeeringsResponse build()
Returns
TypeDescription
ListNetworkPeeringsResponse

buildPartial()

public ListNetworkPeeringsResponse buildPartial()
Returns
TypeDescription
ListNetworkPeeringsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkPeerings()

public ListNetworkPeeringsResponse.Builder clearNetworkPeerings()

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

clearNextPageToken()

public ListNetworkPeeringsResponse.Builder clearNextPageToken()

A token, which 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
ListNetworkPeeringsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListNetworkPeeringsResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListNetworkPeeringsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNetworkPeeringsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNetworkPeerings(int index)

public NetworkPeering getNetworkPeerings(int index)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkPeering

getNetworkPeeringsBuilder(int index)

public NetworkPeering.Builder getNetworkPeeringsBuilder(int index)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkPeering.Builder

getNetworkPeeringsBuilderList()

public List<NetworkPeering.Builder> getNetworkPeeringsBuilderList()

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Returns
TypeDescription
List<Builder>

getNetworkPeeringsCount()

public int getNetworkPeeringsCount()

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Returns
TypeDescription
int

getNetworkPeeringsList()

public List<NetworkPeering> getNetworkPeeringsList()

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Returns
TypeDescription
List<NetworkPeering>

getNetworkPeeringsOrBuilder(int index)

public NetworkPeeringOrBuilder getNetworkPeeringsOrBuilder(int index)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkPeeringOrBuilder

getNetworkPeeringsOrBuilderList()

public List<? extends NetworkPeeringOrBuilder> getNetworkPeeringsOrBuilderList()

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Returns
TypeDescription
List<? extends com.google.cloud.vmwareengine.v1.NetworkPeeringOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which 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, which 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)

Unreachable resources.

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)

Unreachable resources.

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

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources.

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

public ListNetworkPeeringsResponse.Builder mergeFrom(ListNetworkPeeringsResponse other)
Parameter
NameDescription
otherListNetworkPeeringsResponse
Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNetworkPeerings(int index)

public ListNetworkPeeringsResponse.Builder removeNetworkPeerings(int index)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkPeerings(int index, NetworkPeering value)

public ListNetworkPeeringsResponse.Builder setNetworkPeerings(int index, NetworkPeering value)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameters
NameDescription
indexint
valueNetworkPeering
Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

setNetworkPeerings(int index, NetworkPeering.Builder builderForValue)

public ListNetworkPeeringsResponse.Builder setNetworkPeerings(int index, NetworkPeering.Builder builderForValue)

A list of network peerings.

repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;

Parameters
NameDescription
indexint
builderForValueNetworkPeering.Builder
Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

setNextPageToken(String value)

public ListNetworkPeeringsResponse.Builder setNextPageToken(String value)

A token, which 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
ListNetworkPeeringsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNetworkPeeringsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which 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
ListNetworkPeeringsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Unreachable resources.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListNetworkPeeringsResponse.Builder

This builder for chaining.