Class FirewallEndpoint.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FirewallEndpoint.Builder>
com.google.cloud.networksecurity.v1.FirewallEndpoint.Builder
All Implemented Interfaces:
FirewallEndpointOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FirewallEndpoint

public static final class FirewallEndpoint.Builder extends com.google.protobuf.GeneratedMessage.Builder<FirewallEndpoint.Builder> implements FirewallEndpointOrBuilder
 Message describing Endpoint object.
 
Protobuf type google.cloud.networksecurity.v1.FirewallEndpoint
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<FirewallEndpoint.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<FirewallEndpoint.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FirewallEndpoint.Builder>
    • clear

      public FirewallEndpoint.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FirewallEndpoint.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FirewallEndpoint.Builder>
    • getDefaultInstanceForType

      public FirewallEndpoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FirewallEndpoint build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FirewallEndpoint buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FirewallEndpoint.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FirewallEndpoint.Builder>
    • mergeFrom

      public FirewallEndpoint.Builder mergeFrom(FirewallEndpoint other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FirewallEndpoint.Builder>
    • mergeFrom

      public FirewallEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FirewallEndpoint.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Immutable. Identifier. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface FirewallEndpointOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Immutable. Identifier. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface FirewallEndpointOrBuilder
      Returns:
      The bytes for name.
    • setName

      public FirewallEndpoint.Builder setName(String value)
       Immutable. Identifier. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public FirewallEndpoint.Builder clearName()
       Immutable. Identifier. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public FirewallEndpoint.Builder setNameBytes(com.google.protobuf.ByteString value)
       Immutable. Identifier. Name of resource.
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Description of the firewall endpoint. Max length 2048
       characters.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface FirewallEndpointOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the firewall endpoint. Max length 2048
       characters.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface FirewallEndpointOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public FirewallEndpoint.Builder setDescription(String value)
       Optional. Description of the firewall endpoint. Max length 2048
       characters.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public FirewallEndpoint.Builder clearDescription()
       Optional. Description of the firewall endpoint. Max length 2048
       characters.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public FirewallEndpoint.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of the firewall endpoint. Max length 2048
       characters.
       
      string description = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface FirewallEndpointOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface FirewallEndpointOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public FirewallEndpoint.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public FirewallEndpoint.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public FirewallEndpoint.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public FirewallEndpoint.Builder clearCreateTime()
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Create time stamp.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface FirewallEndpointOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface FirewallEndpointOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface FirewallEndpointOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public FirewallEndpoint.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public FirewallEndpoint.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public FirewallEndpoint.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public FirewallEndpoint.Builder clearUpdateTime()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface FirewallEndpointOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: FirewallEndpointOrBuilder
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface FirewallEndpointOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface FirewallEndpointOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface FirewallEndpointOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface FirewallEndpointOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface FirewallEndpointOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface FirewallEndpointOrBuilder
    • clearLabels

      public FirewallEndpoint.Builder clearLabels()
    • removeLabels

      public FirewallEndpoint.Builder removeLabels(String key)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public FirewallEndpoint.Builder putLabels(String key, String value)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public FirewallEndpoint.Builder putAllLabels(Map<String,String> values)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • 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];
      Specified by:
      getStateValue in interface FirewallEndpointOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      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];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getState in interface FirewallEndpointOrBuilder
      Returns:
      The state.
    • setState

       Output only. Current state of the endpoint.
       
      .google.cloud.networksecurity.v1.FirewallEndpoint.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      getReconciling in interface FirewallEndpointOrBuilder
      Returns:
      The reconciling.
    • setReconciling

      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];
      Parameters:
      value - The reconciling to set.
      Returns:
      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:
      This builder for chaining.
    • getAssociatedNetworksList

      @Deprecated public com.google.protobuf.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];
      Specified by:
      getAssociatedNetworksList in interface FirewallEndpointOrBuilder
      Returns:
      A list containing the associatedNetworks.
    • 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];
      Specified by:
      getAssociatedNetworksCount in interface FirewallEndpointOrBuilder
      Returns:
      The count of associatedNetworks.
    • getAssociatedNetworks

      @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];
      Specified by:
      getAssociatedNetworks in interface FirewallEndpointOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The associatedNetworks at the given index.
    • getAssociatedNetworksBytes

      @Deprecated public com.google.protobuf.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];
      Specified by:
      getAssociatedNetworksBytes in interface FirewallEndpointOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the associatedNetworks at the given index.
    • setAssociatedNetworks

      @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:
      index - The index to set the value at.
      value - The associatedNetworks to set.
      Returns:
      This builder for chaining.
    • addAssociatedNetworks

      @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];
      Parameters:
      value - The associatedNetworks to add.
      Returns:
      This builder for chaining.
    • addAllAssociatedNetworks

      @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];
      Parameters:
      values - The associatedNetworks to add.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • addAssociatedNetworksBytes

      @Deprecated public FirewallEndpoint.Builder addAssociatedNetworksBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes of the associatedNetworks to add.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getAssociationsList in interface FirewallEndpointOrBuilder
    • 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];
      Specified by:
      getAssociationsCount in interface FirewallEndpointOrBuilder
    • getAssociations

      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];
      Specified by:
      getAssociations in interface FirewallEndpointOrBuilder
    • setAssociations

      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];
    • setAssociations

      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];
    • addAssociations

       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];
    • addAssociations

      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];
    • addAssociations

       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];
    • addAssociations

      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];
    • addAllAssociations

      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];
    • 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];
    • removeAssociations

      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];
    • getAssociationsBuilder

      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];
    • getAssociationsOrBuilder

      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];
      Specified by:
      getAssociationsOrBuilder in interface FirewallEndpointOrBuilder
    • 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];
      Specified by:
      getAssociationsOrBuilderList in interface FirewallEndpointOrBuilder
    • 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];
    • addAssociationsBuilder

      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];
    • 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];
    • hasSatisfiesPzs

      public boolean hasSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSatisfiesPzs in interface FirewallEndpointOrBuilder
      Returns:
      Whether the satisfiesPzs field is set.
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzs in interface FirewallEndpointOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      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];
      Parameters:
      value - The satisfiesPzs to set.
      Returns:
      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:
      This builder for chaining.
    • hasSatisfiesPzi

      public boolean hasSatisfiesPzi()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasSatisfiesPzi in interface FirewallEndpointOrBuilder
      Returns:
      Whether the satisfiesPzi field is set.
    • getSatisfiesPzi

      public boolean getSatisfiesPzi()
       Output only. [Output Only] Reserved for future use.
       
      optional bool satisfies_pzi = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzi in interface FirewallEndpointOrBuilder
      Returns:
      The satisfiesPzi.
    • setSatisfiesPzi

      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];
      Parameters:
      value - The satisfiesPzi to set.
      Returns:
      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:
      This builder for chaining.
    • 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];
      Specified by:
      getBillingProjectId in interface FirewallEndpointOrBuilder
      Returns:
      The billingProjectId.
    • getBillingProjectIdBytes

      public com.google.protobuf.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];
      Specified by:
      getBillingProjectIdBytes in interface FirewallEndpointOrBuilder
      Returns:
      The bytes for billingProjectId.
    • setBillingProjectId

      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];
      Parameters:
      value - The billingProjectId to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setBillingProjectIdBytes

      public FirewallEndpoint.Builder setBillingProjectIdBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for billingProjectId to set.
      Returns:
      This builder for chaining.
    • hasEndpointSettings

      public boolean hasEndpointSettings()
       Optional. Settings for the endpoint.
       
      .google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEndpointSettings in interface FirewallEndpointOrBuilder
      Returns:
      Whether the endpointSettings field is set.
    • getEndpointSettings

      public FirewallEndpoint.EndpointSettings getEndpointSettings()
       Optional. Settings for the endpoint.
       
      .google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEndpointSettings in interface FirewallEndpointOrBuilder
      Returns:
      The endpointSettings.
    • setEndpointSettings

      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];
    • setEndpointSettings

      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];
    • mergeEndpointSettings

      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];
    • clearEndpointSettings

      public FirewallEndpoint.Builder clearEndpointSettings()
       Optional. Settings for the endpoint.
       
      .google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
    • 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];
    • getEndpointSettingsOrBuilder

      public FirewallEndpoint.EndpointSettingsOrBuilder getEndpointSettingsOrBuilder()
       Optional. Settings for the endpoint.
       
      .google.cloud.networksecurity.v1.FirewallEndpoint.EndpointSettings endpoint_settings = 19 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEndpointSettingsOrBuilder in interface FirewallEndpointOrBuilder