public static final class ListNetworkPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListNetworkPoliciesResponse.Builder> implements ListNetworkPoliciesResponseOrBuilder
Response message for VmwareEngine.ListNetworkPolicies
Protobuf type google.cloud.vmwareengine.v1.ListNetworkPoliciesResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListNetworkPoliciesResponse.BuilderImplements
ListNetworkPoliciesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllNetworkPolicies(Iterable<? extends NetworkPolicy> values)
public ListNetworkPoliciesResponse.Builder addAllNetworkPolicies(Iterable<? extends NetworkPolicy> values)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.vmwareengine.v1.NetworkPolicy> |
Type | Description |
ListNetworkPoliciesResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListNetworkPoliciesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
Name | Description |
values | Iterable<String> The unreachable to add. |
Type | Description |
ListNetworkPoliciesResponse.Builder | This builder for chaining. |
addNetworkPolicies(NetworkPolicy value)
public ListNetworkPoliciesResponse.Builder addNetworkPolicies(NetworkPolicy value)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
value | NetworkPolicy |
Type | Description |
ListNetworkPoliciesResponse.Builder |
addNetworkPolicies(NetworkPolicy.Builder builderForValue)
public ListNetworkPoliciesResponse.Builder addNetworkPolicies(NetworkPolicy.Builder builderForValue)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
builderForValue | NetworkPolicy.Builder |
Type | Description |
ListNetworkPoliciesResponse.Builder |
addNetworkPolicies(int index, NetworkPolicy value)
public ListNetworkPoliciesResponse.Builder addNetworkPolicies(int index, NetworkPolicy value)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
index | int |
value | NetworkPolicy |
Type | Description |
ListNetworkPoliciesResponse.Builder |
addNetworkPolicies(int index, NetworkPolicy.Builder builderForValue)
public ListNetworkPoliciesResponse.Builder addNetworkPolicies(int index, NetworkPolicy.Builder builderForValue)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
index | int |
builderForValue | NetworkPolicy.Builder |
Type | Description |
ListNetworkPoliciesResponse.Builder |
addNetworkPoliciesBuilder()
public NetworkPolicy.Builder addNetworkPoliciesBuilder()
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Type | Description |
NetworkPolicy.Builder |
addNetworkPoliciesBuilder(int index)
public NetworkPolicy.Builder addNetworkPoliciesBuilder(int index)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
index | int |
Type | Description |
NetworkPolicy.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNetworkPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListNetworkPoliciesResponse.Builder |
addUnreachable(String value)
public ListNetworkPoliciesResponse.Builder addUnreachable(String value)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
Name | Description |
value | String The unreachable to add. |
Type | Description |
ListNetworkPoliciesResponse.Builder | This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListNetworkPoliciesResponse.Builder addUnreachableBytes(ByteString value)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Type | Description |
ListNetworkPoliciesResponse.Builder | This builder for chaining. |
build()
public ListNetworkPoliciesResponse build()
Type | Description |
ListNetworkPoliciesResponse |
buildPartial()
public ListNetworkPoliciesResponse buildPartial()
Type | Description |
ListNetworkPoliciesResponse |
clear()
public ListNetworkPoliciesResponse.Builder clear()
Type | Description |
ListNetworkPoliciesResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListNetworkPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListNetworkPoliciesResponse.Builder |
clearNetworkPolicies()
public ListNetworkPoliciesResponse.Builder clearNetworkPolicies()
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Type | Description |
ListNetworkPoliciesResponse.Builder |
clearNextPageToken()
public ListNetworkPoliciesResponse.Builder clearNextPageToken()
A token, which can be send as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Type | Description |
ListNetworkPoliciesResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListNetworkPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListNetworkPoliciesResponse.Builder |
clearUnreachable()
public ListNetworkPoliciesResponse.Builder clearUnreachable()
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
Type | Description |
ListNetworkPoliciesResponse.Builder | This builder for chaining. |
clone()
public ListNetworkPoliciesResponse.Builder clone()
Type | Description |
ListNetworkPoliciesResponse.Builder |
getDefaultInstanceForType()
public ListNetworkPoliciesResponse getDefaultInstanceForType()
Type | Description |
ListNetworkPoliciesResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNetworkPolicies(int index)
public NetworkPolicy getNetworkPolicies(int index)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
index | int |
Type | Description |
NetworkPolicy |
getNetworkPoliciesBuilder(int index)
public NetworkPolicy.Builder getNetworkPoliciesBuilder(int index)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
index | int |
Type | Description |
NetworkPolicy.Builder |
getNetworkPoliciesBuilderList()
public List<NetworkPolicy.Builder> getNetworkPoliciesBuilderList()
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Type | Description |
List<Builder> |
getNetworkPoliciesCount()
public int getNetworkPoliciesCount()
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Type | Description |
int |
getNetworkPoliciesList()
public List<NetworkPolicy> getNetworkPoliciesList()
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Type | Description |
List<NetworkPolicy> |
getNetworkPoliciesOrBuilder(int index)
public NetworkPolicyOrBuilder getNetworkPoliciesOrBuilder(int index)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
index | int |
Type | Description |
NetworkPolicyOrBuilder |
getNetworkPoliciesOrBuilderList()
public List<? extends NetworkPolicyOrBuilder> getNetworkPoliciesOrBuilderList()
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Type | Description |
List<? extends com.google.cloud.vmwareengine.v1.NetworkPolicyOrBuilder> |
getNextPageToken()
public String getNextPageToken()
A token, which can be send as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token, which can be send as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Type | Description |
ByteString | The bytes for nextPageToken. |
getUnreachable(int index)
public String getUnreachable(int index)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
Type | Description |
int | The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
Type | Description |
ProtocolStringList | A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListNetworkPoliciesResponse other)
public ListNetworkPoliciesResponse.Builder mergeFrom(ListNetworkPoliciesResponse other)
Name | Description |
other | ListNetworkPoliciesResponse |
Type | Description |
ListNetworkPoliciesResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListNetworkPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListNetworkPoliciesResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListNetworkPoliciesResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListNetworkPoliciesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNetworkPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListNetworkPoliciesResponse.Builder |
removeNetworkPolicies(int index)
public ListNetworkPoliciesResponse.Builder removeNetworkPolicies(int index)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
index | int |
Type | Description |
ListNetworkPoliciesResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListNetworkPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListNetworkPoliciesResponse.Builder |
setNetworkPolicies(int index, NetworkPolicy value)
public ListNetworkPoliciesResponse.Builder setNetworkPolicies(int index, NetworkPolicy value)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
index | int |
value | NetworkPolicy |
Type | Description |
ListNetworkPoliciesResponse.Builder |
setNetworkPolicies(int index, NetworkPolicy.Builder builderForValue)
public ListNetworkPoliciesResponse.Builder setNetworkPolicies(int index, NetworkPolicy.Builder builderForValue)
A list of network policies.
repeated .google.cloud.vmwareengine.v1.NetworkPolicy network_policies = 1;
Name | Description |
index | int |
builderForValue | NetworkPolicy.Builder |
Type | Description |
ListNetworkPoliciesResponse.Builder |
setNextPageToken(String value)
public ListNetworkPoliciesResponse.Builder setNextPageToken(String value)
A token, which can be send as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Name | Description |
value | String The nextPageToken to set. |
Type | Description |
ListNetworkPoliciesResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListNetworkPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)
A token, which can be send as page_token
to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Type | Description |
ListNetworkPoliciesResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListNetworkPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListNetworkPoliciesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNetworkPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListNetworkPoliciesResponse.Builder |
setUnreachable(int index, String value)
public ListNetworkPoliciesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
Name | Description |
index | int The index to set the value at. |
value | String The unreachable to set. |
Type | Description |
ListNetworkPoliciesResponse.Builder | This builder for chaining. |