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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListNetworkPeeringsResponse.BuilderImplements
ListNetworkPeeringsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.vmwareengine.v1.NetworkPeering> |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListNetworkPeeringsResponse.Builder addAllUnreachable(Iterable<String> values)
Unreachable resources.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The unreachable to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | NetworkPeering |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | NetworkPeering.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | NetworkPeering |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | NetworkPeering.Builder |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
addNetworkPeeringsBuilder()
public NetworkPeering.Builder addNetworkPeeringsBuilder()
A list of network peerings.
repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NetworkPeering.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNetworkPeeringsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
addUnreachable(String value)
public ListNetworkPeeringsResponse.Builder addUnreachable(String value)
Unreachable resources.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value | String The unreachable to add. |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListNetworkPeeringsResponse.Builder addUnreachableBytes(ByteString value)
Unreachable resources.
repeated string unreachable = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder | This builder for chaining. |
build()
public ListNetworkPeeringsResponse build()
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse |
buildPartial()
public ListNetworkPeeringsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse |
clear()
public ListNetworkPeeringsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListNetworkPeeringsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
clearNetworkPeerings()
public ListNetworkPeeringsResponse.Builder clearNetworkPeerings()
A list of network peerings.
repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListNetworkPeeringsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
clearUnreachable()
public ListNetworkPeeringsResponse.Builder clearUnreachable()
Unreachable resources.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder | This builder for chaining. |
clone()
public ListNetworkPeeringsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
getDefaultInstanceForType()
public ListNetworkPeeringsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNetworkPeerings(int index)
public NetworkPeering getNetworkPeerings(int index)
A list of network peerings.
repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NetworkPeering.Builder |
getNetworkPeeringsBuilderList()
public List<NetworkPeering.Builder> getNetworkPeeringsBuilderList()
A list of network peerings.
repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getNetworkPeeringsCount()
public int getNetworkPeeringsCount()
A list of network peerings.
repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;
Returns | |
---|---|
Type | Description |
int |
getNetworkPeeringsList()
public List<NetworkPeering> getNetworkPeeringsList()
A list of network peerings.
repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NetworkPeeringOrBuilder |
getNetworkPeeringsOrBuilderList()
public List<? extends NetworkPeeringOrBuilder> getNetworkPeeringsOrBuilderList()
A list of network peerings.
repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)
Unreachable resources.
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)
Unreachable resources.
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()
Unreachable resources.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
int | The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Unreachable resources.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListNetworkPeeringsResponse other)
public ListNetworkPeeringsResponse.Builder mergeFrom(ListNetworkPeeringsResponse other)
Parameter | |
---|---|
Name | Description |
other | ListNetworkPeeringsResponse |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListNetworkPeeringsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListNetworkPeeringsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNetworkPeeringsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
removeNetworkPeerings(int index)
public ListNetworkPeeringsResponse.Builder removeNetworkPeerings(int index)
A list of network peerings.
repeated .google.cloud.vmwareengine.v1.NetworkPeering network_peerings = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListNetworkPeeringsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
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 | |
---|---|
Name | Description |
index | int |
value | NetworkPeering |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | NetworkPeering.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNetworkPeeringsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListNetworkPeeringsResponse.Builder |
setUnreachable(int index, String value)
public ListNetworkPeeringsResponse.Builder setUnreachable(int index, String value)
Unreachable resources.
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 |
ListNetworkPeeringsResponse.Builder | This builder for chaining. |