public static final class ListGatewaySecurityPolicyRulesResponse.Builder extends GeneratedMessage.Builder<ListGatewaySecurityPolicyRulesResponse.Builder> implements ListGatewaySecurityPolicyRulesResponseOrBuilderResponse returned by the ListGatewaySecurityPolicyRules method.
Protobuf type google.cloud.networksecurity.v1.ListGatewaySecurityPolicyRulesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListGatewaySecurityPolicyRulesResponse.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllGatewaySecurityPolicyRules(Iterable<? extends GatewaySecurityPolicyRule> values)
public ListGatewaySecurityPolicyRulesResponse.Builder addAllGatewaySecurityPolicyRules(Iterable<? extends GatewaySecurityPolicyRule> values)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule> |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListGatewaySecurityPolicyRulesResponse.Builder addAllUnreachable(Iterable<String> values)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
This builder for chaining. |
addGatewaySecurityPolicyRules(GatewaySecurityPolicyRule value)
public ListGatewaySecurityPolicyRulesResponse.Builder addGatewaySecurityPolicyRules(GatewaySecurityPolicyRule value)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
GatewaySecurityPolicyRule |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
addGatewaySecurityPolicyRules(GatewaySecurityPolicyRule.Builder builderForValue)
public ListGatewaySecurityPolicyRulesResponse.Builder addGatewaySecurityPolicyRules(GatewaySecurityPolicyRule.Builder builderForValue)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GatewaySecurityPolicyRule.Builder |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
addGatewaySecurityPolicyRules(int index, GatewaySecurityPolicyRule value)
public ListGatewaySecurityPolicyRulesResponse.Builder addGatewaySecurityPolicyRules(int index, GatewaySecurityPolicyRule value)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
GatewaySecurityPolicyRule |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
addGatewaySecurityPolicyRules(int index, GatewaySecurityPolicyRule.Builder builderForValue)
public ListGatewaySecurityPolicyRulesResponse.Builder addGatewaySecurityPolicyRules(int index, GatewaySecurityPolicyRule.Builder builderForValue)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
GatewaySecurityPolicyRule.Builder |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
addGatewaySecurityPolicyRulesBuilder()
public GatewaySecurityPolicyRule.Builder addGatewaySecurityPolicyRulesBuilder()List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRule.Builder |
|
addGatewaySecurityPolicyRulesBuilder(int index)
public GatewaySecurityPolicyRule.Builder addGatewaySecurityPolicyRulesBuilder(int index)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRule.Builder |
|
addUnreachable(String value)
public ListGatewaySecurityPolicyRulesResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListGatewaySecurityPolicyRulesResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
This builder for chaining. |
build()
public ListGatewaySecurityPolicyRulesResponse build()| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse |
|
buildPartial()
public ListGatewaySecurityPolicyRulesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse |
|
clear()
public ListGatewaySecurityPolicyRulesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
clearGatewaySecurityPolicyRules()
public ListGatewaySecurityPolicyRulesResponse.Builder clearGatewaySecurityPolicyRules()List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
clearNextPageToken()
public ListGatewaySecurityPolicyRulesResponse.Builder clearNextPageToken()If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of 'next_page_token' as 'page_token'.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
This builder for chaining. |
clearUnreachable()
public ListGatewaySecurityPolicyRulesResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListGatewaySecurityPolicyRulesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGatewaySecurityPolicyRules(int index)
public GatewaySecurityPolicyRule getGatewaySecurityPolicyRules(int index)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRule |
|
getGatewaySecurityPolicyRulesBuilder(int index)
public GatewaySecurityPolicyRule.Builder getGatewaySecurityPolicyRulesBuilder(int index)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRule.Builder |
|
getGatewaySecurityPolicyRulesBuilderList()
public List<GatewaySecurityPolicyRule.Builder> getGatewaySecurityPolicyRulesBuilderList()List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getGatewaySecurityPolicyRulesCount()
public int getGatewaySecurityPolicyRulesCount()List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getGatewaySecurityPolicyRulesList()
public List<GatewaySecurityPolicyRule> getGatewaySecurityPolicyRulesList()List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Returns | |
|---|---|
| Type | Description |
List<GatewaySecurityPolicyRule> |
|
getGatewaySecurityPolicyRulesOrBuilder(int index)
public GatewaySecurityPolicyRuleOrBuilder getGatewaySecurityPolicyRulesOrBuilder(int index)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRuleOrBuilder |
|
getGatewaySecurityPolicyRulesOrBuilderList()
public List<? extends GatewaySecurityPolicyRuleOrBuilder> getGatewaySecurityPolicyRulesOrBuilderList()List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.networksecurity.v1.GatewaySecurityPolicyRuleOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of 'next_page_token' as 'page_token'.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of 'next_page_token' as 'page_token'.
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.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListGatewaySecurityPolicyRulesResponse other)
public ListGatewaySecurityPolicyRulesResponse.Builder mergeFrom(ListGatewaySecurityPolicyRulesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListGatewaySecurityPolicyRulesResponse |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListGatewaySecurityPolicyRulesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListGatewaySecurityPolicyRulesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
removeGatewaySecurityPolicyRules(int index)
public ListGatewaySecurityPolicyRulesResponse.Builder removeGatewaySecurityPolicyRules(int index)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
setGatewaySecurityPolicyRules(int index, GatewaySecurityPolicyRule value)
public ListGatewaySecurityPolicyRulesResponse.Builder setGatewaySecurityPolicyRules(int index, GatewaySecurityPolicyRule value)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
GatewaySecurityPolicyRule |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
setGatewaySecurityPolicyRules(int index, GatewaySecurityPolicyRule.Builder builderForValue)
public ListGatewaySecurityPolicyRulesResponse.Builder setGatewaySecurityPolicyRules(int index, GatewaySecurityPolicyRule.Builder builderForValue)List of GatewaySecurityPolicyRule resources.
repeated .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rules = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
GatewaySecurityPolicyRule.Builder |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
|
setNextPageToken(String value)
public ListGatewaySecurityPolicyRulesResponse.Builder setNextPageToken(String value)If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of 'next_page_token' as 'page_token'.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListGatewaySecurityPolicyRulesResponse.Builder setNextPageTokenBytes(ByteString value)If there might be more results than those appearing in this response, then 'next_page_token' is included. To get the next set of results, call this method again using the value of 'next_page_token' as 'page_token'.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
This builder for chaining. |
setUnreachable(int index, String value)
public ListGatewaySecurityPolicyRulesResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListGatewaySecurityPolicyRulesResponse.Builder |
This builder for chaining. |