Class TestFailure

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

    public final class TestFailure
    extends com.google.protobuf.GeneratedMessageV3
    implements TestFailureOrBuilder
     
    Protobuf type google.cloud.compute.v1.TestFailure
    See Also:
    Serialized Form
    • Field Detail

      • ACTUAL_OUTPUT_URL_FIELD_NUMBER

        public static final int ACTUAL_OUTPUT_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACTUAL_REDIRECT_RESPONSE_CODE_FIELD_NUMBER

        public static final int ACTUAL_REDIRECT_RESPONSE_CODE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ACTUAL_SERVICE_FIELD_NUMBER

        public static final int ACTUAL_SERVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXPECTED_OUTPUT_URL_FIELD_NUMBER

        public static final int EXPECTED_OUTPUT_URL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXPECTED_REDIRECT_RESPONSE_CODE_FIELD_NUMBER

        public static final int EXPECTED_REDIRECT_RESPONSE_CODE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXPECTED_SERVICE_FIELD_NUMBER

        public static final int EXPECTED_SERVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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
      • hasActualOutputUrl

        public boolean hasActualOutputUrl()
         The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
         
        optional string actual_output_url = 287075458;
        Specified by:
        hasActualOutputUrl in interface TestFailureOrBuilder
        Returns:
        Whether the actualOutputUrl field is set.
      • getActualOutputUrl

        public String getActualOutputUrl()
         The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
         
        optional string actual_output_url = 287075458;
        Specified by:
        getActualOutputUrl in interface TestFailureOrBuilder
        Returns:
        The actualOutputUrl.
      • getActualOutputUrlBytes

        public com.google.protobuf.ByteString getActualOutputUrlBytes()
         The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
         
        optional string actual_output_url = 287075458;
        Specified by:
        getActualOutputUrlBytes in interface TestFailureOrBuilder
        Returns:
        The bytes for actualOutputUrl.
      • hasActualRedirectResponseCode

        public boolean hasActualRedirectResponseCode()
         Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
         
        optional int32 actual_redirect_response_code = 42926553;
        Specified by:
        hasActualRedirectResponseCode in interface TestFailureOrBuilder
        Returns:
        Whether the actualRedirectResponseCode field is set.
      • getActualRedirectResponseCode

        public int getActualRedirectResponseCode()
         Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
         
        optional int32 actual_redirect_response_code = 42926553;
        Specified by:
        getActualRedirectResponseCode in interface TestFailureOrBuilder
        Returns:
        The actualRedirectResponseCode.
      • hasActualService

        public boolean hasActualService()
         BackendService or BackendBucket returned by load balancer.
         
        optional string actual_service = 440379652;
        Specified by:
        hasActualService in interface TestFailureOrBuilder
        Returns:
        Whether the actualService field is set.
      • getActualService

        public String getActualService()
         BackendService or BackendBucket returned by load balancer.
         
        optional string actual_service = 440379652;
        Specified by:
        getActualService in interface TestFailureOrBuilder
        Returns:
        The actualService.
      • getActualServiceBytes

        public com.google.protobuf.ByteString getActualServiceBytes()
         BackendService or BackendBucket returned by load balancer.
         
        optional string actual_service = 440379652;
        Specified by:
        getActualServiceBytes in interface TestFailureOrBuilder
        Returns:
        The bytes for actualService.
      • hasExpectedOutputUrl

        public boolean hasExpectedOutputUrl()
         The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
         
        optional string expected_output_url = 433967384;
        Specified by:
        hasExpectedOutputUrl in interface TestFailureOrBuilder
        Returns:
        Whether the expectedOutputUrl field is set.
      • getExpectedOutputUrl

        public String getExpectedOutputUrl()
         The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
         
        optional string expected_output_url = 433967384;
        Specified by:
        getExpectedOutputUrl in interface TestFailureOrBuilder
        Returns:
        The expectedOutputUrl.
      • getExpectedOutputUrlBytes

        public com.google.protobuf.ByteString getExpectedOutputUrlBytes()
         The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
         
        optional string expected_output_url = 433967384;
        Specified by:
        getExpectedOutputUrlBytes in interface TestFailureOrBuilder
        Returns:
        The bytes for expectedOutputUrl.
      • hasExpectedRedirectResponseCode

        public boolean hasExpectedRedirectResponseCode()
         Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
         
        optional int32 expected_redirect_response_code = 18888047;
        Specified by:
        hasExpectedRedirectResponseCode in interface TestFailureOrBuilder
        Returns:
        Whether the expectedRedirectResponseCode field is set.
      • getExpectedRedirectResponseCode

        public int getExpectedRedirectResponseCode()
         Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
         
        optional int32 expected_redirect_response_code = 18888047;
        Specified by:
        getExpectedRedirectResponseCode in interface TestFailureOrBuilder
        Returns:
        The expectedRedirectResponseCode.
      • hasExpectedService

        public boolean hasExpectedService()
         Expected BackendService or BackendBucket resource the given URL should be mapped to.
         
        optional string expected_service = 133987374;
        Specified by:
        hasExpectedService in interface TestFailureOrBuilder
        Returns:
        Whether the expectedService field is set.
      • getExpectedService

        public String getExpectedService()
         Expected BackendService or BackendBucket resource the given URL should be mapped to.
         
        optional string expected_service = 133987374;
        Specified by:
        getExpectedService in interface TestFailureOrBuilder
        Returns:
        The expectedService.
      • getExpectedServiceBytes

        public com.google.protobuf.ByteString getExpectedServiceBytes()
         Expected BackendService or BackendBucket resource the given URL should be mapped to.
         
        optional string expected_service = 133987374;
        Specified by:
        getExpectedServiceBytes in interface TestFailureOrBuilder
        Returns:
        The bytes for expectedService.
      • getHeadersCount

        public int getHeadersCount()
         HTTP headers of the request.
         
        repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
        Specified by:
        getHeadersCount in interface TestFailureOrBuilder
      • hasHost

        public boolean hasHost()
         Host portion of the URL.
         
        optional string host = 3208616;
        Specified by:
        hasHost in interface TestFailureOrBuilder
        Returns:
        Whether the host field is set.
      • getHost

        public String getHost()
         Host portion of the URL.
         
        optional string host = 3208616;
        Specified by:
        getHost in interface TestFailureOrBuilder
        Returns:
        The host.
      • getHostBytes

        public com.google.protobuf.ByteString getHostBytes()
         Host portion of the URL.
         
        optional string host = 3208616;
        Specified by:
        getHostBytes in interface TestFailureOrBuilder
        Returns:
        The bytes for host.
      • hasPath

        public boolean hasPath()
         Path portion including query parameters in the URL.
         
        optional string path = 3433509;
        Specified by:
        hasPath in interface TestFailureOrBuilder
        Returns:
        Whether the path field is set.
      • getPath

        public String getPath()
         Path portion including query parameters in the URL.
         
        optional string path = 3433509;
        Specified by:
        getPath in interface TestFailureOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         Path portion including query parameters in the URL.
         
        optional string path = 3433509;
        Specified by:
        getPathBytes in interface TestFailureOrBuilder
        Returns:
        The bytes for path.
      • 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 TestFailure parseFrom​(ByteBuffer data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

        public static TestFailure getDefaultInstance()
      • parser

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

        public com.google.protobuf.Parser<TestFailure> 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 TestFailure getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder