Class ListExternalAccessRulesResponse.Builder (0.43.0)

public static final class ListExternalAccessRulesResponse.Builder extends GeneratedMessageV3.Builder<ListExternalAccessRulesResponse.Builder> implements ListExternalAccessRulesResponseOrBuilder

Response message for VmwareEngine.ListExternalAccessRules

Protobuf type google.cloud.vmwareengine.v1.ListExternalAccessRulesResponse

Static Methods

getDescriptor()

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

Methods

addAllExternalAccessRules(Iterable<? extends ExternalAccessRule> values)

public ListExternalAccessRulesResponse.Builder addAllExternalAccessRules(Iterable<? extends ExternalAccessRule> values)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.ExternalAccessRule>
Returns
Type Description
ListExternalAccessRulesResponse.Builder

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListExternalAccessRulesResponse.Builder

This builder for chaining.

addExternalAccessRules(ExternalAccessRule value)

public ListExternalAccessRulesResponse.Builder addExternalAccessRules(ExternalAccessRule value)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameter
Name Description
value ExternalAccessRule
Returns
Type Description
ListExternalAccessRulesResponse.Builder

addExternalAccessRules(ExternalAccessRule.Builder builderForValue)

public ListExternalAccessRulesResponse.Builder addExternalAccessRules(ExternalAccessRule.Builder builderForValue)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameter
Name Description
builderForValue ExternalAccessRule.Builder
Returns
Type Description
ListExternalAccessRulesResponse.Builder

addExternalAccessRules(int index, ExternalAccessRule value)

public ListExternalAccessRulesResponse.Builder addExternalAccessRules(int index, ExternalAccessRule value)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameters
Name Description
index int
value ExternalAccessRule
Returns
Type Description
ListExternalAccessRulesResponse.Builder

addExternalAccessRules(int index, ExternalAccessRule.Builder builderForValue)

public ListExternalAccessRulesResponse.Builder addExternalAccessRules(int index, ExternalAccessRule.Builder builderForValue)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameters
Name Description
index int
builderForValue ExternalAccessRule.Builder
Returns
Type Description
ListExternalAccessRulesResponse.Builder

addExternalAccessRulesBuilder()

public ExternalAccessRule.Builder addExternalAccessRulesBuilder()

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Returns
Type Description
ExternalAccessRule.Builder

addExternalAccessRulesBuilder(int index)

public ExternalAccessRule.Builder addExternalAccessRulesBuilder(int index)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ExternalAccessRule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListExternalAccessRulesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListExternalAccessRulesResponse.Builder
Overrides

addUnreachable(String value)

public ListExternalAccessRulesResponse.Builder addUnreachable(String value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListExternalAccessRulesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListExternalAccessRulesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListExternalAccessRulesResponse.Builder

This builder for chaining.

build()

public ListExternalAccessRulesResponse build()
Returns
Type Description
ListExternalAccessRulesResponse

buildPartial()

public ListExternalAccessRulesResponse buildPartial()
Returns
Type Description
ListExternalAccessRulesResponse

clear()

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

clearExternalAccessRules()

public ListExternalAccessRulesResponse.Builder clearExternalAccessRules()

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Returns
Type Description
ListExternalAccessRulesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListExternalAccessRulesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListExternalAccessRulesResponse.Builder
Overrides

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListExternalAccessRulesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListExternalAccessRulesResponse.Builder
Overrides

clearUnreachable()

public ListExternalAccessRulesResponse.Builder clearUnreachable()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
ListExternalAccessRulesResponse.Builder

This builder for chaining.

clone()

public ListExternalAccessRulesResponse.Builder clone()
Returns
Type Description
ListExternalAccessRulesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListExternalAccessRulesResponse getDefaultInstanceForType()
Returns
Type Description
ListExternalAccessRulesResponse

getDescriptorForType()

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

getExternalAccessRules(int index)

public ExternalAccessRule getExternalAccessRules(int index)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ExternalAccessRule

getExternalAccessRulesBuilder(int index)

public ExternalAccessRule.Builder getExternalAccessRulesBuilder(int index)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ExternalAccessRule.Builder

getExternalAccessRulesBuilderList()

public List<ExternalAccessRule.Builder> getExternalAccessRulesBuilderList()

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Returns
Type Description
List<Builder>

getExternalAccessRulesCount()

public int getExternalAccessRulesCount()

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Returns
Type Description
int

getExternalAccessRulesList()

public List<ExternalAccessRule> getExternalAccessRulesList()

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Returns
Type Description
List<ExternalAccessRule>

getExternalAccessRulesOrBuilder(int index)

public ExternalAccessRuleOrBuilder getExternalAccessRulesOrBuilder(int index)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ExternalAccessRuleOrBuilder

getExternalAccessRulesOrBuilderList()

public List<? extends ExternalAccessRuleOrBuilder> getExternalAccessRulesOrBuilderList()

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Returns
Type Description
List<? extends com.google.cloud.vmwareengine.v1.ExternalAccessRuleOrBuilder>

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)

Locations that could not be reached when making an aggregated query using wildcards.

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 when making an aggregated query using wildcards.

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 when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
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;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListExternalAccessRulesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListExternalAccessRulesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListExternalAccessRulesResponse.Builder
Overrides

removeExternalAccessRules(int index)

public ListExternalAccessRulesResponse.Builder removeExternalAccessRules(int index)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ListExternalAccessRulesResponse.Builder

setExternalAccessRules(int index, ExternalAccessRule value)

public ListExternalAccessRulesResponse.Builder setExternalAccessRules(int index, ExternalAccessRule value)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameters
Name Description
index int
value ExternalAccessRule
Returns
Type Description
ListExternalAccessRulesResponse.Builder

setExternalAccessRules(int index, ExternalAccessRule.Builder builderForValue)

public ListExternalAccessRulesResponse.Builder setExternalAccessRules(int index, ExternalAccessRule.Builder builderForValue)

A list of external access firewall rules.

repeated .google.cloud.vmwareengine.v1.ExternalAccessRule external_access_rules = 1;

Parameters
Name Description
index int
builderForValue ExternalAccessRule.Builder
Returns
Type Description
ListExternalAccessRulesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListExternalAccessRulesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListExternalAccessRulesResponse.Builder
Overrides

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

public ListExternalAccessRulesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListExternalAccessRulesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListExternalAccessRulesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListExternalAccessRulesResponse.Builder
Overrides

setUnreachable(int index, String value)

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

Locations that could not be reached when making an aggregated query using wildcards.

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
ListExternalAccessRulesResponse.Builder

This builder for chaining.