Class ListExternalAccessRulesResponse.Builder (0.33.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.ExternalAccessRule>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueExternalAccessRule
Returns
TypeDescription
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
NameDescription
builderForValueExternalAccessRule.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueExternalAccessRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExternalAccessRule.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ExternalAccessRule.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListExternalAccessRulesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListExternalAccessRulesResponse.Builder

This builder for chaining.

build()

public ListExternalAccessRulesResponse build()
Returns
TypeDescription
ListExternalAccessRulesResponse

buildPartial()

public ListExternalAccessRulesResponse buildPartial()
Returns
TypeDescription
ListExternalAccessRulesResponse

clear()

public ListExternalAccessRulesResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListExternalAccessRulesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListExternalAccessRulesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListExternalAccessRulesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListExternalAccessRulesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListExternalAccessRulesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListExternalAccessRulesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListExternalAccessRulesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getExternalAccessRulesCount()

public int getExternalAccessRulesCount()

A list of external access firewall rules.

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

Returns
TypeDescription
int

getExternalAccessRulesList()

public List<ExternalAccessRule> getExternalAccessRulesList()

A list of external access firewall rules.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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)

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

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)

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

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

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

repeated string unreachable = 3;

Returns
TypeDescription
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
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(ListExternalAccessRulesResponse other)

public ListExternalAccessRulesResponse.Builder mergeFrom(ListExternalAccessRulesResponse other)
Parameter
NameDescription
otherListExternalAccessRulesResponse
Returns
TypeDescription
ListExternalAccessRulesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListExternalAccessRulesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueExternalAccessRule
Returns
TypeDescription
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
NameDescription
indexint
builderForValueExternalAccessRule.Builder
Returns
TypeDescription
ListExternalAccessRulesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListExternalAccessRulesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListExternalAccessRulesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListExternalAccessRulesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListExternalAccessRulesResponse.Builder

This builder for chaining.