Class FirewallEndpoint

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networksecurity.v1.FirewallEndpoint
All Implemented Interfaces:
FirewallEndpointOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FirewallEndpoint extends com.google.protobuf.GeneratedMessage implements FirewallEndpointOrBuilder
 Message describing Endpoint object.
 
Protobuf type google.cloud.networksecurity.v1.FirewallEndpoint
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • RECONCILING_FIELD_NUMBER

      public static final int RECONCILING_FIELD_NUMBER
      See Also:
    • ASSOCIATED_NETWORKS_FIELD_NUMBER

      public static final int ASSOCIATED_NETWORKS_FIELD_NUMBER
      See Also:
    • ASSOCIATIONS_FIELD_NUMBER

      public static final int ASSOCIATIONS_FIELD_NUMBER
      See Also:
    • SATISFIES_PZS_FIELD_NUMBER

      public static final int SATISFIES_PZS_FIELD_NUMBER
      See Also:
    • SATISFIES_PZI_FIELD_NUMBER

      public static final int SATISFIES_PZI_FIELD_NUMBER
      See Also:
    • BILLING_PROJECT_ID_FIELD_NUMBER

      public static final int BILLING_PROJECT_ID_FIELD_NUMBER
      See Also:
    • ENDPOINT_SETTINGS_FIELD_NUMBER

      public static final int ENDPOINT_SETTINGS_FIELD_NUMBER
      See Also:
  • 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
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FirewallEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FirewallEndpoint parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FirewallEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FirewallEndpoint parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FirewallEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FirewallEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FirewallEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static FirewallEndpoint.Builder newBuilder()
    • newBuilder

      public static FirewallEndpoint.Builder newBuilder(FirewallEndpoint prototype)
    • toBuilder

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

      protected FirewallEndpoint.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FirewallEndpoint getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FirewallEndpoint> parser()
    • getParserForType

      public com.google.protobuf.Parser<FirewallEndpoint> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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