Class Step

  • All Implemented Interfaces:
    StepOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Step
    extends com.google.protobuf.GeneratedMessageV3
    implements StepOrBuilder
     A simulated forwarding path is composed of multiple steps.
     Each step has a well-defined state and an associated configuration.
     
    Protobuf type google.cloud.networkmanagement.v1.Step
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getDescription

        public String getDescription()
         A description of the step. Usually this is a summary of the state.
         
        string description = 1;
        Specified by:
        getDescription in interface StepOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         A description of the step. Usually this is a summary of the state.
         
        string description = 1;
        Specified by:
        getDescriptionBytes in interface StepOrBuilder
        Returns:
        The bytes for description.
      • getStateValue

        public int getStateValue()
         Each step is in one of the pre-defined states.
         
        .google.cloud.networkmanagement.v1.Step.State state = 2;
        Specified by:
        getStateValue in interface StepOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • getState

        public Step.State getState()
         Each step is in one of the pre-defined states.
         
        .google.cloud.networkmanagement.v1.Step.State state = 2;
        Specified by:
        getState in interface StepOrBuilder
        Returns:
        The state.
      • getCausesDrop

        public boolean getCausesDrop()
         This is a step that leads to the final state Drop.
         
        bool causes_drop = 3;
        Specified by:
        getCausesDrop in interface StepOrBuilder
        Returns:
        The causesDrop.
      • getProjectId

        public String getProjectId()
         Project ID that contains the configuration this step is validating.
         
        string project_id = 4;
        Specified by:
        getProjectId in interface StepOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        public com.google.protobuf.ByteString getProjectIdBytes()
         Project ID that contains the configuration this step is validating.
         
        string project_id = 4;
        Specified by:
        getProjectIdBytes in interface StepOrBuilder
        Returns:
        The bytes for projectId.
      • hasInstance

        public boolean hasInstance()
         Display information of a Compute Engine instance.
         
        .google.cloud.networkmanagement.v1.InstanceInfo instance = 5;
        Specified by:
        hasInstance in interface StepOrBuilder
        Returns:
        Whether the instance field is set.
      • getInstance

        public InstanceInfo getInstance()
         Display information of a Compute Engine instance.
         
        .google.cloud.networkmanagement.v1.InstanceInfo instance = 5;
        Specified by:
        getInstance in interface StepOrBuilder
        Returns:
        The instance.
      • hasFirewall

        public boolean hasFirewall()
         Display information of a Compute Engine firewall rule.
         
        .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6;
        Specified by:
        hasFirewall in interface StepOrBuilder
        Returns:
        Whether the firewall field is set.
      • getFirewall

        public FirewallInfo getFirewall()
         Display information of a Compute Engine firewall rule.
         
        .google.cloud.networkmanagement.v1.FirewallInfo firewall = 6;
        Specified by:
        getFirewall in interface StepOrBuilder
        Returns:
        The firewall.
      • hasRoute

        public boolean hasRoute()
         Display information of a Compute Engine route.
         
        .google.cloud.networkmanagement.v1.RouteInfo route = 7;
        Specified by:
        hasRoute in interface StepOrBuilder
        Returns:
        Whether the route field is set.
      • getRoute

        public RouteInfo getRoute()
         Display information of a Compute Engine route.
         
        .google.cloud.networkmanagement.v1.RouteInfo route = 7;
        Specified by:
        getRoute in interface StepOrBuilder
        Returns:
        The route.
      • hasEndpoint

        public boolean hasEndpoint()
         Display information of the source and destination under analysis.
         The endpoint information in an intermediate state may differ with the
         initial input, as it might be modified by state like NAT,
         or Connection Proxy.
         
        .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8;
        Specified by:
        hasEndpoint in interface StepOrBuilder
        Returns:
        Whether the endpoint field is set.
      • getEndpoint

        public EndpointInfo getEndpoint()
         Display information of the source and destination under analysis.
         The endpoint information in an intermediate state may differ with the
         initial input, as it might be modified by state like NAT,
         or Connection Proxy.
         
        .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8;
        Specified by:
        getEndpoint in interface StepOrBuilder
        Returns:
        The endpoint.
      • getEndpointOrBuilder

        public EndpointInfoOrBuilder getEndpointOrBuilder()
         Display information of the source and destination under analysis.
         The endpoint information in an intermediate state may differ with the
         initial input, as it might be modified by state like NAT,
         or Connection Proxy.
         
        .google.cloud.networkmanagement.v1.EndpointInfo endpoint = 8;
        Specified by:
        getEndpointOrBuilder in interface StepOrBuilder
      • hasGoogleService

        public boolean hasGoogleService()
         Display information of a Google service
         
        .google.cloud.networkmanagement.v1.GoogleServiceInfo google_service = 24;
        Specified by:
        hasGoogleService in interface StepOrBuilder
        Returns:
        Whether the googleService field is set.
      • getGoogleService

        public GoogleServiceInfo getGoogleService()
         Display information of a Google service
         
        .google.cloud.networkmanagement.v1.GoogleServiceInfo google_service = 24;
        Specified by:
        getGoogleService in interface StepOrBuilder
        Returns:
        The googleService.
      • hasForwardingRule

        public boolean hasForwardingRule()
         Display information of a Compute Engine forwarding rule.
         
        .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9;
        Specified by:
        hasForwardingRule in interface StepOrBuilder
        Returns:
        Whether the forwardingRule field is set.
      • getForwardingRule

        public ForwardingRuleInfo getForwardingRule()
         Display information of a Compute Engine forwarding rule.
         
        .google.cloud.networkmanagement.v1.ForwardingRuleInfo forwarding_rule = 9;
        Specified by:
        getForwardingRule in interface StepOrBuilder
        Returns:
        The forwardingRule.
      • hasVpnGateway

        public boolean hasVpnGateway()
         Display information of a Compute Engine VPN gateway.
         
        .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10;
        Specified by:
        hasVpnGateway in interface StepOrBuilder
        Returns:
        Whether the vpnGateway field is set.
      • getVpnGateway

        public VpnGatewayInfo getVpnGateway()
         Display information of a Compute Engine VPN gateway.
         
        .google.cloud.networkmanagement.v1.VpnGatewayInfo vpn_gateway = 10;
        Specified by:
        getVpnGateway in interface StepOrBuilder
        Returns:
        The vpnGateway.
      • hasVpnTunnel

        public boolean hasVpnTunnel()
         Display information of a Compute Engine VPN tunnel.
         
        .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11;
        Specified by:
        hasVpnTunnel in interface StepOrBuilder
        Returns:
        Whether the vpnTunnel field is set.
      • getVpnTunnel

        public VpnTunnelInfo getVpnTunnel()
         Display information of a Compute Engine VPN tunnel.
         
        .google.cloud.networkmanagement.v1.VpnTunnelInfo vpn_tunnel = 11;
        Specified by:
        getVpnTunnel in interface StepOrBuilder
        Returns:
        The vpnTunnel.
      • hasVpcConnector

        public boolean hasVpcConnector()
         Display information of a VPC connector.
         
        .google.cloud.networkmanagement.v1.VpcConnectorInfo vpc_connector = 21;
        Specified by:
        hasVpcConnector in interface StepOrBuilder
        Returns:
        Whether the vpcConnector field is set.
      • getVpcConnector

        public VpcConnectorInfo getVpcConnector()
         Display information of a VPC connector.
         
        .google.cloud.networkmanagement.v1.VpcConnectorInfo vpc_connector = 21;
        Specified by:
        getVpcConnector in interface StepOrBuilder
        Returns:
        The vpcConnector.
      • hasDeliver

        public boolean hasDeliver()
         Display information of the final state "deliver" and reason.
         
        .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12;
        Specified by:
        hasDeliver in interface StepOrBuilder
        Returns:
        Whether the deliver field is set.
      • getDeliver

        public DeliverInfo getDeliver()
         Display information of the final state "deliver" and reason.
         
        .google.cloud.networkmanagement.v1.DeliverInfo deliver = 12;
        Specified by:
        getDeliver in interface StepOrBuilder
        Returns:
        The deliver.
      • hasForward

        public boolean hasForward()
         Display information of the final state "forward" and reason.
         
        .google.cloud.networkmanagement.v1.ForwardInfo forward = 13;
        Specified by:
        hasForward in interface StepOrBuilder
        Returns:
        Whether the forward field is set.
      • getForward

        public ForwardInfo getForward()
         Display information of the final state "forward" and reason.
         
        .google.cloud.networkmanagement.v1.ForwardInfo forward = 13;
        Specified by:
        getForward in interface StepOrBuilder
        Returns:
        The forward.
      • hasAbort

        public boolean hasAbort()
         Display information of the final state "abort" and reason.
         
        .google.cloud.networkmanagement.v1.AbortInfo abort = 14;
        Specified by:
        hasAbort in interface StepOrBuilder
        Returns:
        Whether the abort field is set.
      • getAbort

        public AbortInfo getAbort()
         Display information of the final state "abort" and reason.
         
        .google.cloud.networkmanagement.v1.AbortInfo abort = 14;
        Specified by:
        getAbort in interface StepOrBuilder
        Returns:
        The abort.
      • getAbortOrBuilder

        public AbortInfoOrBuilder getAbortOrBuilder()
         Display information of the final state "abort" and reason.
         
        .google.cloud.networkmanagement.v1.AbortInfo abort = 14;
        Specified by:
        getAbortOrBuilder in interface StepOrBuilder
      • hasDrop

        public boolean hasDrop()
         Display information of the final state "drop" and reason.
         
        .google.cloud.networkmanagement.v1.DropInfo drop = 15;
        Specified by:
        hasDrop in interface StepOrBuilder
        Returns:
        Whether the drop field is set.
      • getDrop

        public DropInfo getDrop()
         Display information of the final state "drop" and reason.
         
        .google.cloud.networkmanagement.v1.DropInfo drop = 15;
        Specified by:
        getDrop in interface StepOrBuilder
        Returns:
        The drop.
      • getDropOrBuilder

        public DropInfoOrBuilder getDropOrBuilder()
         Display information of the final state "drop" and reason.
         
        .google.cloud.networkmanagement.v1.DropInfo drop = 15;
        Specified by:
        getDropOrBuilder in interface StepOrBuilder
      • hasLoadBalancer

        public boolean hasLoadBalancer()
         Display information of the load balancers.
         
        .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16;
        Specified by:
        hasLoadBalancer in interface StepOrBuilder
        Returns:
        Whether the loadBalancer field is set.
      • getLoadBalancer

        public LoadBalancerInfo getLoadBalancer()
         Display information of the load balancers.
         
        .google.cloud.networkmanagement.v1.LoadBalancerInfo load_balancer = 16;
        Specified by:
        getLoadBalancer in interface StepOrBuilder
        Returns:
        The loadBalancer.
      • hasNetwork

        public boolean hasNetwork()
         Display information of a Google Cloud network.
         
        .google.cloud.networkmanagement.v1.NetworkInfo network = 17;
        Specified by:
        hasNetwork in interface StepOrBuilder
        Returns:
        Whether the network field is set.
      • getNetwork

        public NetworkInfo getNetwork()
         Display information of a Google Cloud network.
         
        .google.cloud.networkmanagement.v1.NetworkInfo network = 17;
        Specified by:
        getNetwork in interface StepOrBuilder
        Returns:
        The network.
      • hasGkeMaster

        public boolean hasGkeMaster()
         Display information of a Google Kubernetes Engine cluster master.
         
        .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18;
        Specified by:
        hasGkeMaster in interface StepOrBuilder
        Returns:
        Whether the gkeMaster field is set.
      • getGkeMaster

        public GKEMasterInfo getGkeMaster()
         Display information of a Google Kubernetes Engine cluster master.
         
        .google.cloud.networkmanagement.v1.GKEMasterInfo gke_master = 18;
        Specified by:
        getGkeMaster in interface StepOrBuilder
        Returns:
        The gkeMaster.
      • hasCloudSqlInstance

        public boolean hasCloudSqlInstance()
         Display information of a Cloud SQL instance.
         
        .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19;
        Specified by:
        hasCloudSqlInstance in interface StepOrBuilder
        Returns:
        Whether the cloudSqlInstance field is set.
      • getCloudSqlInstance

        public CloudSQLInstanceInfo getCloudSqlInstance()
         Display information of a Cloud SQL instance.
         
        .google.cloud.networkmanagement.v1.CloudSQLInstanceInfo cloud_sql_instance = 19;
        Specified by:
        getCloudSqlInstance in interface StepOrBuilder
        Returns:
        The cloudSqlInstance.
      • hasCloudFunction

        public boolean hasCloudFunction()
         Display information of a Cloud Function.
         
        .google.cloud.networkmanagement.v1.CloudFunctionInfo cloud_function = 20;
        Specified by:
        hasCloudFunction in interface StepOrBuilder
        Returns:
        Whether the cloudFunction field is set.
      • getCloudFunction

        public CloudFunctionInfo getCloudFunction()
         Display information of a Cloud Function.
         
        .google.cloud.networkmanagement.v1.CloudFunctionInfo cloud_function = 20;
        Specified by:
        getCloudFunction in interface StepOrBuilder
        Returns:
        The cloudFunction.
      • hasAppEngineVersion

        public boolean hasAppEngineVersion()
         Display information of an App Engine service version.
         
        .google.cloud.networkmanagement.v1.AppEngineVersionInfo app_engine_version = 22;
        Specified by:
        hasAppEngineVersion in interface StepOrBuilder
        Returns:
        Whether the appEngineVersion field is set.
      • getAppEngineVersion

        public AppEngineVersionInfo getAppEngineVersion()
         Display information of an App Engine service version.
         
        .google.cloud.networkmanagement.v1.AppEngineVersionInfo app_engine_version = 22;
        Specified by:
        getAppEngineVersion in interface StepOrBuilder
        Returns:
        The appEngineVersion.
      • hasCloudRunRevision

        public boolean hasCloudRunRevision()
         Display information of a Cloud Run revision.
         
        .google.cloud.networkmanagement.v1.CloudRunRevisionInfo cloud_run_revision = 23;
        Specified by:
        hasCloudRunRevision in interface StepOrBuilder
        Returns:
        Whether the cloudRunRevision field is set.
      • getCloudRunRevision

        public CloudRunRevisionInfo getCloudRunRevision()
         Display information of a Cloud Run revision.
         
        .google.cloud.networkmanagement.v1.CloudRunRevisionInfo cloud_run_revision = 23;
        Specified by:
        getCloudRunRevision in interface StepOrBuilder
        Returns:
        The cloudRunRevision.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • 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 Step parseFrom​(ByteBuffer data)
                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

        protected Step.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Step getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<Step> 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.GeneratedMessageV3
      • getDefaultInstanceForType

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