public static final class FirewallEndpoint.Builder extends GeneratedMessage.Builder<FirewallEndpoint.Builder> implements FirewallEndpointOrBuilderMessage describing Endpoint object.
Protobuf type google.cloud.networksecurity.v1.FirewallEndpoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FirewallEndpoint.BuilderImplements
FirewallEndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAssociatedNetworks(Iterable<String> values) (deprecated)
public FirewallEndpoint.Builder addAllAssociatedNetworks(Iterable<String> values)Deprecated. google.cloud.networksecurity.v1.FirewallEndpoint.associated_networks is deprecated. See google/cloud/networksecurity/v1/firewall_activation.proto;l=265
Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
repeated string associated_networks = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The associatedNetworks to add. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
addAllAssociations(Iterable<? extends FirewallEndpoint.AssociationReference> values)
public FirewallEndpoint.Builder addAllAssociations(Iterable<? extends FirewallEndpoint.AssociationReference> values)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference> |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
addAssociatedNetworks(String value) (deprecated)
public FirewallEndpoint.Builder addAssociatedNetworks(String value)Deprecated. google.cloud.networksecurity.v1.FirewallEndpoint.associated_networks is deprecated. See google/cloud/networksecurity/v1/firewall_activation.proto;l=265
Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
repeated string associated_networks = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe associatedNetworks to add. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
addAssociatedNetworksBytes(ByteString value) (deprecated)
public FirewallEndpoint.Builder addAssociatedNetworksBytes(ByteString value)Deprecated. google.cloud.networksecurity.v1.FirewallEndpoint.associated_networks is deprecated. See google/cloud/networksecurity/v1/firewall_activation.proto;l=265
Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
repeated string associated_networks = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the associatedNetworks to add. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
addAssociations(FirewallEndpoint.AssociationReference value)
public FirewallEndpoint.Builder addAssociations(FirewallEndpoint.AssociationReference value)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FirewallEndpoint.AssociationReference |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
addAssociations(FirewallEndpoint.AssociationReference.Builder builderForValue)
public FirewallEndpoint.Builder addAssociations(FirewallEndpoint.AssociationReference.Builder builderForValue)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FirewallEndpoint.AssociationReference.Builder |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
addAssociations(int index, FirewallEndpoint.AssociationReference value)
public FirewallEndpoint.Builder addAssociations(int index, FirewallEndpoint.AssociationReference value)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FirewallEndpoint.AssociationReference |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
addAssociations(int index, FirewallEndpoint.AssociationReference.Builder builderForValue)
public FirewallEndpoint.Builder addAssociations(int index, FirewallEndpoint.AssociationReference.Builder builderForValue)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FirewallEndpoint.AssociationReference.Builder |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
addAssociationsBuilder()
public FirewallEndpoint.AssociationReference.Builder addAssociationsBuilder()Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.AssociationReference.Builder |
|
addAssociationsBuilder(int index)
public FirewallEndpoint.AssociationReference.Builder addAssociationsBuilder(int index)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.AssociationReference.Builder |
|
build()
public FirewallEndpoint build()| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint |
|
buildPartial()
public FirewallEndpoint buildPartial()| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint |
|
clear()
public FirewallEndpoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
clearAssociatedNetworks() (deprecated)
public FirewallEndpoint.Builder clearAssociatedNetworks()Deprecated. google.cloud.networksecurity.v1.FirewallEndpoint.associated_networks is deprecated. See google/cloud/networksecurity/v1/firewall_activation.proto;l=265
Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
repeated string associated_networks = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
clearAssociations()
public FirewallEndpoint.Builder clearAssociations()Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
clearBillingProjectId()
public FirewallEndpoint.Builder clearBillingProjectId()Optional. Project to charge for the deployed firewall endpoint. This field must be specified when creating the endpoint in the organization scope, and should be omitted otherwise.
string billing_project_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
clearCreateTime()
public FirewallEndpoint.Builder clearCreateTime()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
clearDescription()
public FirewallEndpoint.Builder clearDescription()Optional. Description of the firewall endpoint. Max length 2048 characters.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
clearEndpointSettings()
public FirewallEndpoint.Builder clearEndpointSettings()Optional. Settings for the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
clearLabels()
public FirewallEndpoint.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
clearName()
public FirewallEndpoint.Builder clearName()Immutable. Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
clearReconciling()
public FirewallEndpoint.Builder clearReconciling()Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
bool reconciling = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
clearSatisfiesPzi()
public FirewallEndpoint.Builder clearSatisfiesPzi()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
clearSatisfiesPzs()
public FirewallEndpoint.Builder clearSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
clearState()
public FirewallEndpoint.Builder clearState()Output only. Current state of the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
clearUpdateTime()
public FirewallEndpoint.Builder clearUpdateTime()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAssociatedNetworks(int index) (deprecated)
public String getAssociatedNetworks(int index)Deprecated. google.cloud.networksecurity.v1.FirewallEndpoint.associated_networks is deprecated. See google/cloud/networksecurity/v1/firewall_activation.proto;l=265
Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
repeated string associated_networks = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The associatedNetworks at the given index. |
getAssociatedNetworksBytes(int index) (deprecated)
public ByteString getAssociatedNetworksBytes(int index)Deprecated. google.cloud.networksecurity.v1.FirewallEndpoint.associated_networks is deprecated. See google/cloud/networksecurity/v1/firewall_activation.proto;l=265
Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
repeated string associated_networks = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the associatedNetworks at the given index. |
getAssociatedNetworksCount() (deprecated)
public int getAssociatedNetworksCount()Deprecated. google.cloud.networksecurity.v1.FirewallEndpoint.associated_networks is deprecated. See google/cloud/networksecurity/v1/firewall_activation.proto;l=265
Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
repeated string associated_networks = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of associatedNetworks. |
getAssociatedNetworksList() (deprecated)
public ProtocolStringList getAssociatedNetworksList()Deprecated. google.cloud.networksecurity.v1.FirewallEndpoint.associated_networks is deprecated. See google/cloud/networksecurity/v1/firewall_activation.proto;l=265
Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
repeated string associated_networks = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the associatedNetworks. |
getAssociations(int index)
public FirewallEndpoint.AssociationReference getAssociations(int index)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.AssociationReference |
|
getAssociationsBuilder(int index)
public FirewallEndpoint.AssociationReference.Builder getAssociationsBuilder(int index)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.AssociationReference.Builder |
|
getAssociationsBuilderList()
public List<FirewallEndpoint.AssociationReference.Builder> getAssociationsBuilderList()Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAssociationsCount()
public int getAssociationsCount()Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAssociationsList()
public List<FirewallEndpoint.AssociationReference> getAssociationsList()Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<AssociationReference> |
|
getAssociationsOrBuilder(int index)
public FirewallEndpoint.AssociationReferenceOrBuilder getAssociationsOrBuilder(int index)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.AssociationReferenceOrBuilder |
|
getAssociationsOrBuilderList()
public List<? extends FirewallEndpoint.AssociationReferenceOrBuilder> getAssociationsOrBuilderList()Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReferenceOrBuilder> |
|
getBillingProjectId()
public String getBillingProjectId()Optional. Project to charge for the deployed firewall endpoint. This field must be specified when creating the endpoint in the organization scope, and should be omitted otherwise.
string billing_project_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The billingProjectId. |
getBillingProjectIdBytes()
public ByteString getBillingProjectIdBytes()Optional. Project to charge for the deployed firewall endpoint. This field must be specified when creating the endpoint in the organization scope, and should be omitted otherwise.
string billing_project_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for billingProjectId. |
getCreateTime()
public Timestamp getCreateTime()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public FirewallEndpoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint |
|
getDescription()
public String getDescription()Optional. Description of the firewall endpoint. Max length 2048 characters.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. Description of the firewall endpoint. Max length 2048 characters.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndpointSettings()
public FirewallEndpoint.EndpointSettings getEndpointSettings()Optional. Settings for the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.EndpointSettings |
The endpointSettings. |
getEndpointSettingsBuilder()
public FirewallEndpoint.EndpointSettings.Builder getEndpointSettingsBuilder()Optional. Settings for the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.EndpointSettings.Builder |
|
getEndpointSettingsOrBuilder()
public FirewallEndpoint.EndpointSettingsOrBuilder getEndpointSettingsOrBuilder()Optional. Settings for the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.EndpointSettingsOrBuilder |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName()Immutable. Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Immutable. Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getReconciling()
public boolean getReconciling()Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
bool reconciling = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The reconciling. |
getSatisfiesPzi()
public boolean getSatisfiesPzi()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The satisfiesPzi. |
getSatisfiesPzs()
public boolean getSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The satisfiesPzs. |
getState()
public FirewallEndpoint.State getState()Output only. Current state of the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.State |
The state. |
getStateValue()
public int getStateValue()Output only. Current state of the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasEndpointSettings()
public boolean hasEndpointSettings()Optional. Settings for the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endpointSettings field is set. |
hasSatisfiesPzi()
public boolean hasSatisfiesPzi()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the satisfiesPzi field is set. |
hasSatisfiesPzs()
public boolean hasSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the satisfiesPzs field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public FirewallEndpoint.Builder mergeCreateTime(Timestamp value)Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
mergeEndpointSettings(FirewallEndpoint.EndpointSettings value)
public FirewallEndpoint.Builder mergeEndpointSettings(FirewallEndpoint.EndpointSettings value)Optional. Settings for the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FirewallEndpoint.EndpointSettings |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
mergeFrom(FirewallEndpoint other)
public FirewallEndpoint.Builder mergeFrom(FirewallEndpoint other)| Parameter | |
|---|---|
| Name | Description |
other |
FirewallEndpoint |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FirewallEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FirewallEndpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
mergeUpdateTime(Timestamp value)
public FirewallEndpoint.Builder mergeUpdateTime(Timestamp value)Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
putAllLabels(Map<String,String> values)
public FirewallEndpoint.Builder putAllLabels(Map<String,String> values)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
putLabels(String key, String value)
public FirewallEndpoint.Builder putLabels(String key, String value)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
removeAssociations(int index)
public FirewallEndpoint.Builder removeAssociations(int index)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
removeLabels(String key)
public FirewallEndpoint.Builder removeLabels(String key)Optional. Labels as key value pairs
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
setAssociatedNetworks(int index, String value) (deprecated)
public FirewallEndpoint.Builder setAssociatedNetworks(int index, String value)Deprecated. google.cloud.networksecurity.v1.FirewallEndpoint.associated_networks is deprecated. See google/cloud/networksecurity/v1/firewall_activation.proto;l=265
Output only. List of networks that are associated with this endpoint in the local zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only appear in this list after traffic routing is fully configured. Format: projects/{project}/global/networks/{name}.
repeated string associated_networks = 7 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe associatedNetworks to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setAssociations(int index, FirewallEndpoint.AssociationReference value)
public FirewallEndpoint.Builder setAssociations(int index, FirewallEndpoint.AssociationReference value)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
FirewallEndpoint.AssociationReference |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
setAssociations(int index, FirewallEndpoint.AssociationReference.Builder builderForValue)
public FirewallEndpoint.Builder setAssociations(int index, FirewallEndpoint.AssociationReference.Builder builderForValue)Output only. List of FirewallEndpointAssociations that are associated to this endpoint. An association will only appear in this list after traffic routing is fully configured.
repeated .google.cloud.networksecurity.v1.FirewallEndpoint.AssociationReference associations = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
FirewallEndpoint.AssociationReference.Builder |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
setBillingProjectId(String value)
public FirewallEndpoint.Builder setBillingProjectId(String value)Optional. Project to charge for the deployed firewall endpoint. This field must be specified when creating the endpoint in the organization scope, and should be omitted otherwise.
string billing_project_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe billingProjectId to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setBillingProjectIdBytes(ByteString value)
public FirewallEndpoint.Builder setBillingProjectIdBytes(ByteString value)Optional. Project to charge for the deployed firewall endpoint. This field must be specified when creating the endpoint in the organization scope, and should be omitted otherwise.
string billing_project_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for billingProjectId to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public FirewallEndpoint.Builder setCreateTime(Timestamp value)Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public FirewallEndpoint.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Create time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
setDescription(String value)
public FirewallEndpoint.Builder setDescription(String value)Optional. Description of the firewall endpoint. Max length 2048 characters.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public FirewallEndpoint.Builder setDescriptionBytes(ByteString value)Optional. Description of the firewall endpoint. Max length 2048 characters.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setEndpointSettings(FirewallEndpoint.EndpointSettings value)
public FirewallEndpoint.Builder setEndpointSettings(FirewallEndpoint.EndpointSettings value)Optional. Settings for the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FirewallEndpoint.EndpointSettings |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
setEndpointSettings(FirewallEndpoint.EndpointSettings.Builder builderForValue)
public FirewallEndpoint.Builder setEndpointSettings(FirewallEndpoint.EndpointSettings.Builder builderForValue)Optional. Settings for the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FirewallEndpoint.EndpointSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
setName(String value)
public FirewallEndpoint.Builder setName(String value)Immutable. Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FirewallEndpoint.Builder setNameBytes(ByteString value)Immutable. Identifier. Name of resource.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setReconciling(boolean value)
public FirewallEndpoint.Builder setReconciling(boolean value)Output only. Whether reconciling is in progress, recommended per https://google.aip.dev/128.
bool reconciling = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe reconciling to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setSatisfiesPzi(boolean value)
public FirewallEndpoint.Builder setSatisfiesPzi(boolean value)Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe satisfiesPzi to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setSatisfiesPzs(boolean value)
public FirewallEndpoint.Builder setSatisfiesPzs(boolean value)Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe satisfiesPzs to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setState(FirewallEndpoint.State value)
public FirewallEndpoint.Builder setState(FirewallEndpoint.State value)Output only. Current state of the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
FirewallEndpoint.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setStateValue(int value)
public FirewallEndpoint.Builder setStateValue(int value)Output only. Current state of the endpoint.
.google.cloud.networksecurity.v1.FirewallEndpoint.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public FirewallEndpoint.Builder setUpdateTime(Timestamp value)Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public FirewallEndpoint.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Update time stamp
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FirewallEndpoint.Builder |
|