Class ConnectivityTest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConnectivityTest.Builder>
com.google.cloud.networkmanagement.v1beta1.ConnectivityTest.Builder
All Implemented Interfaces:
ConnectivityTestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ConnectivityTest

public static final class ConnectivityTest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConnectivityTest.Builder> implements ConnectivityTestOrBuilder
 A Connectivity Test for a network reachability analysis.
 
Protobuf type google.cloud.networkmanagement.v1beta1.ConnectivityTest
  • 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<ConnectivityTest.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public ConnectivityTest.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<ConnectivityTest.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<ConnectivityTest.Builder>
    • getDefaultInstanceForType

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

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

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

      public ConnectivityTest.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<ConnectivityTest.Builder>
    • mergeFrom

      public ConnectivityTest.Builder mergeFrom(ConnectivityTest other)
    • isInitialized

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

      public ConnectivityTest.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<ConnectivityTest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. Unique name of the resource using the form:
       `projects/{project_id}/locations/global/connectivityTests/{test}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ConnectivityTestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Unique name of the resource using the form:
       `projects/{project_id}/locations/global/connectivityTests/{test}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ConnectivityTestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ConnectivityTest.Builder setName(String value)
       Identifier. Unique name of the resource using the form:
       `projects/{project_id}/locations/global/connectivityTests/{test}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ConnectivityTest.Builder clearName()
       Identifier. Unique name of the resource using the form:
       `projects/{project_id}/locations/global/connectivityTests/{test}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ConnectivityTest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Unique name of the resource using the form:
       `projects/{project_id}/locations/global/connectivityTests/{test}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       The user-supplied description of the Connectivity Test.
       Maximum of 512 characters.
       
      string description = 2;
      Specified by:
      getDescription in interface ConnectivityTestOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The user-supplied description of the Connectivity Test.
       Maximum of 512 characters.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface ConnectivityTestOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ConnectivityTest.Builder setDescription(String value)
       The user-supplied description of the Connectivity Test.
       Maximum of 512 characters.
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ConnectivityTest.Builder clearDescription()
       The user-supplied description of the Connectivity Test.
       Maximum of 512 characters.
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ConnectivityTest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       The user-supplied description of the Connectivity Test.
       Maximum of 512 characters.
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasSource

      public boolean hasSource()
       Required. Source specification of the Connectivity Test.
      
       You can use a combination of source IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the source location.
      
       Reachability analysis might proceed even if the source location is
       ambiguous. However, the test result might include endpoints or use a source
       that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasSource in interface ConnectivityTestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public Endpoint getSource()
       Required. Source specification of the Connectivity Test.
      
       You can use a combination of source IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the source location.
      
       Reachability analysis might proceed even if the source location is
       ambiguous. However, the test result might include endpoints or use a source
       that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSource in interface ConnectivityTestOrBuilder
      Returns:
      The source.
    • setSource

      public ConnectivityTest.Builder setSource(Endpoint value)
       Required. Source specification of the Connectivity Test.
      
       You can use a combination of source IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the source location.
      
       Reachability analysis might proceed even if the source location is
       ambiguous. However, the test result might include endpoints or use a source
       that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
    • setSource

      public ConnectivityTest.Builder setSource(Endpoint.Builder builderForValue)
       Required. Source specification of the Connectivity Test.
      
       You can use a combination of source IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the source location.
      
       Reachability analysis might proceed even if the source location is
       ambiguous. However, the test result might include endpoints or use a source
       that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeSource

      public ConnectivityTest.Builder mergeSource(Endpoint value)
       Required. Source specification of the Connectivity Test.
      
       You can use a combination of source IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the source location.
      
       Reachability analysis might proceed even if the source location is
       ambiguous. However, the test result might include endpoints or use a source
       that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearSource

      public ConnectivityTest.Builder clearSource()
       Required. Source specification of the Connectivity Test.
      
       You can use a combination of source IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the source location.
      
       Reachability analysis might proceed even if the source location is
       ambiguous. However, the test result might include endpoints or use a source
       that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
    • getSourceBuilder

      public Endpoint.Builder getSourceBuilder()
       Required. Source specification of the Connectivity Test.
      
       You can use a combination of source IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the source location.
      
       Reachability analysis might proceed even if the source location is
       ambiguous. However, the test result might include endpoints or use a source
       that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
    • getSourceOrBuilder

      public EndpointOrBuilder getSourceOrBuilder()
       Required. Source specification of the Connectivity Test.
      
       You can use a combination of source IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the source location.
      
       Reachability analysis might proceed even if the source location is
       ambiguous. However, the test result might include endpoints or use a source
       that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceOrBuilder in interface ConnectivityTestOrBuilder
    • hasDestination

      public boolean hasDestination()
       Required. Destination specification of the Connectivity Test.
      
       You can use a combination of destination IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the destination location.
      
       Reachability analysis proceeds even if the destination location is
       ambiguous. However, the test result might include endpoints or use a
       destination that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDestination in interface ConnectivityTestOrBuilder
      Returns:
      Whether the destination field is set.
    • getDestination

      public Endpoint getDestination()
       Required. Destination specification of the Connectivity Test.
      
       You can use a combination of destination IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the destination location.
      
       Reachability analysis proceeds even if the destination location is
       ambiguous. However, the test result might include endpoints or use a
       destination that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestination in interface ConnectivityTestOrBuilder
      Returns:
      The destination.
    • setDestination

      public ConnectivityTest.Builder setDestination(Endpoint value)
       Required. Destination specification of the Connectivity Test.
      
       You can use a combination of destination IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the destination location.
      
       Reachability analysis proceeds even if the destination location is
       ambiguous. However, the test result might include endpoints or use a
       destination that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
    • setDestination

      public ConnectivityTest.Builder setDestination(Endpoint.Builder builderForValue)
       Required. Destination specification of the Connectivity Test.
      
       You can use a combination of destination IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the destination location.
      
       Reachability analysis proceeds even if the destination location is
       ambiguous. However, the test result might include endpoints or use a
       destination that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
    • mergeDestination

      public ConnectivityTest.Builder mergeDestination(Endpoint value)
       Required. Destination specification of the Connectivity Test.
      
       You can use a combination of destination IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the destination location.
      
       Reachability analysis proceeds even if the destination location is
       ambiguous. However, the test result might include endpoints or use a
       destination that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
    • clearDestination

      public ConnectivityTest.Builder clearDestination()
       Required. Destination specification of the Connectivity Test.
      
       You can use a combination of destination IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the destination location.
      
       Reachability analysis proceeds even if the destination location is
       ambiguous. However, the test result might include endpoints or use a
       destination that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
    • getDestinationBuilder

      public Endpoint.Builder getDestinationBuilder()
       Required. Destination specification of the Connectivity Test.
      
       You can use a combination of destination IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the destination location.
      
       Reachability analysis proceeds even if the destination location is
       ambiguous. However, the test result might include endpoints or use a
       destination that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
    • getDestinationOrBuilder

      public EndpointOrBuilder getDestinationOrBuilder()
       Required. Destination specification of the Connectivity Test.
      
       You can use a combination of destination IP address, URI of a supported
       endpoint, project ID, or VPC network to identify the destination location.
      
       Reachability analysis proceeds even if the destination location is
       ambiguous. However, the test result might include endpoints or use a
       destination that you don't intend to test.
       
      .google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDestinationOrBuilder in interface ConnectivityTestOrBuilder
    • getProtocol

      public String getProtocol()
       IP Protocol of the test. When not provided, "TCP" is assumed.
       
      string protocol = 5;
      Specified by:
      getProtocol in interface ConnectivityTestOrBuilder
      Returns:
      The protocol.
    • getProtocolBytes

      public com.google.protobuf.ByteString getProtocolBytes()
       IP Protocol of the test. When not provided, "TCP" is assumed.
       
      string protocol = 5;
      Specified by:
      getProtocolBytes in interface ConnectivityTestOrBuilder
      Returns:
      The bytes for protocol.
    • setProtocol

      public ConnectivityTest.Builder setProtocol(String value)
       IP Protocol of the test. When not provided, "TCP" is assumed.
       
      string protocol = 5;
      Parameters:
      value - The protocol to set.
      Returns:
      This builder for chaining.
    • clearProtocol

      public ConnectivityTest.Builder clearProtocol()
       IP Protocol of the test. When not provided, "TCP" is assumed.
       
      string protocol = 5;
      Returns:
      This builder for chaining.
    • setProtocolBytes

      public ConnectivityTest.Builder setProtocolBytes(com.google.protobuf.ByteString value)
       IP Protocol of the test. When not provided, "TCP" is assumed.
       
      string protocol = 5;
      Parameters:
      value - The bytes for protocol to set.
      Returns:
      This builder for chaining.
    • getRelatedProjectsList

      public com.google.protobuf.ProtocolStringList getRelatedProjectsList()
       Other projects that may be relevant for reachability analysis.
       This is applicable to scenarios where a test can cross project boundaries.
       
      repeated string related_projects = 6;
      Specified by:
      getRelatedProjectsList in interface ConnectivityTestOrBuilder
      Returns:
      A list containing the relatedProjects.
    • getRelatedProjectsCount

      public int getRelatedProjectsCount()
       Other projects that may be relevant for reachability analysis.
       This is applicable to scenarios where a test can cross project boundaries.
       
      repeated string related_projects = 6;
      Specified by:
      getRelatedProjectsCount in interface ConnectivityTestOrBuilder
      Returns:
      The count of relatedProjects.
    • getRelatedProjects

      public String getRelatedProjects(int index)
       Other projects that may be relevant for reachability analysis.
       This is applicable to scenarios where a test can cross project boundaries.
       
      repeated string related_projects = 6;
      Specified by:
      getRelatedProjects in interface ConnectivityTestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The relatedProjects at the given index.
    • getRelatedProjectsBytes

      public com.google.protobuf.ByteString getRelatedProjectsBytes(int index)
       Other projects that may be relevant for reachability analysis.
       This is applicable to scenarios where a test can cross project boundaries.
       
      repeated string related_projects = 6;
      Specified by:
      getRelatedProjectsBytes in interface ConnectivityTestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the relatedProjects at the given index.
    • setRelatedProjects

      public ConnectivityTest.Builder setRelatedProjects(int index, String value)
       Other projects that may be relevant for reachability analysis.
       This is applicable to scenarios where a test can cross project boundaries.
       
      repeated string related_projects = 6;
      Parameters:
      index - The index to set the value at.
      value - The relatedProjects to set.
      Returns:
      This builder for chaining.
    • addRelatedProjects

      public ConnectivityTest.Builder addRelatedProjects(String value)
       Other projects that may be relevant for reachability analysis.
       This is applicable to scenarios where a test can cross project boundaries.
       
      repeated string related_projects = 6;
      Parameters:
      value - The relatedProjects to add.
      Returns:
      This builder for chaining.
    • addAllRelatedProjects

      public ConnectivityTest.Builder addAllRelatedProjects(Iterable<String> values)
       Other projects that may be relevant for reachability analysis.
       This is applicable to scenarios where a test can cross project boundaries.
       
      repeated string related_projects = 6;
      Parameters:
      values - The relatedProjects to add.
      Returns:
      This builder for chaining.
    • clearRelatedProjects

      public ConnectivityTest.Builder clearRelatedProjects()
       Other projects that may be relevant for reachability analysis.
       This is applicable to scenarios where a test can cross project boundaries.
       
      repeated string related_projects = 6;
      Returns:
      This builder for chaining.
    • addRelatedProjectsBytes

      public ConnectivityTest.Builder addRelatedProjectsBytes(com.google.protobuf.ByteString value)
       Other projects that may be relevant for reachability analysis.
       This is applicable to scenarios where a test can cross project boundaries.
       
      repeated string related_projects = 6;
      Parameters:
      value - The bytes of the relatedProjects to add.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Output only. The display name of a Connectivity Test.
       
      string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayName in interface ConnectivityTestOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Output only. The display name of a Connectivity Test.
       
      string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisplayNameBytes in interface ConnectivityTestOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public ConnectivityTest.Builder setDisplayName(String value)
       Output only. The display name of a Connectivity Test.
       
      string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public ConnectivityTest.Builder clearDisplayName()
       Output only. The display name of a Connectivity Test.
       
      string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public ConnectivityTest.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Output only. The display name of a Connectivity Test.
       
      string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ConnectivityTestOrBuilder
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 8;
      Specified by:
      getLabelsCount in interface ConnectivityTestOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 8;
      Specified by:
      containsLabels in interface ConnectivityTestOrBuilder
    • getLabels

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

      public Map<String,String> getLabelsMap()
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 8;
      Specified by:
      getLabelsMap in interface ConnectivityTestOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 8;
      Specified by:
      getLabelsOrDefault in interface ConnectivityTestOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 8;
      Specified by:
      getLabelsOrThrow in interface ConnectivityTestOrBuilder
    • clearLabels

      public ConnectivityTest.Builder clearLabels()
    • removeLabels

      public ConnectivityTest.Builder removeLabels(String key)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 8;
    • getMutableLabels

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

      public ConnectivityTest.Builder putLabels(String key, String value)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 8;
    • putAllLabels

      public ConnectivityTest.Builder putAllLabels(Map<String,String> values)
       Resource labels to represent user-provided metadata.
       
      map<string, string> labels = 8;
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time the test was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface ConnectivityTestOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time the test was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface ConnectivityTestOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public ConnectivityTest.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time the test was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public ConnectivityTest.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time the test was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public ConnectivityTest.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time the test was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public ConnectivityTest.Builder clearCreateTime()
       Output only. The time the test was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time the test was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time the test was created.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface ConnectivityTestOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time the test's configuration was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface ConnectivityTestOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time the test's configuration was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface ConnectivityTestOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public ConnectivityTest.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time the test's configuration was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public ConnectivityTest.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time the test's configuration was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public ConnectivityTest.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time the test's configuration was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public ConnectivityTest.Builder clearUpdateTime()
       Output only. The time the test's configuration was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time the test's configuration was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time the test's configuration was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface ConnectivityTestOrBuilder
    • hasReachabilityDetails

      public boolean hasReachabilityDetails()
       Output only. The reachability details of this test from the latest run.
       The details are updated when creating a new test, updating an
       existing test, or triggering a one-time rerun of an existing test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasReachabilityDetails in interface ConnectivityTestOrBuilder
      Returns:
      Whether the reachabilityDetails field is set.
    • getReachabilityDetails

      public ReachabilityDetails getReachabilityDetails()
       Output only. The reachability details of this test from the latest run.
       The details are updated when creating a new test, updating an
       existing test, or triggering a one-time rerun of an existing test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReachabilityDetails in interface ConnectivityTestOrBuilder
      Returns:
      The reachabilityDetails.
    • setReachabilityDetails

      public ConnectivityTest.Builder setReachabilityDetails(ReachabilityDetails value)
       Output only. The reachability details of this test from the latest run.
       The details are updated when creating a new test, updating an
       existing test, or triggering a one-time rerun of an existing test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setReachabilityDetails

      public ConnectivityTest.Builder setReachabilityDetails(ReachabilityDetails.Builder builderForValue)
       Output only. The reachability details of this test from the latest run.
       The details are updated when creating a new test, updating an
       existing test, or triggering a one-time rerun of an existing test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeReachabilityDetails

      public ConnectivityTest.Builder mergeReachabilityDetails(ReachabilityDetails value)
       Output only. The reachability details of this test from the latest run.
       The details are updated when creating a new test, updating an
       existing test, or triggering a one-time rerun of an existing test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearReachabilityDetails

      public ConnectivityTest.Builder clearReachabilityDetails()
       Output only. The reachability details of this test from the latest run.
       The details are updated when creating a new test, updating an
       existing test, or triggering a one-time rerun of an existing test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReachabilityDetailsBuilder

      public ReachabilityDetails.Builder getReachabilityDetailsBuilder()
       Output only. The reachability details of this test from the latest run.
       The details are updated when creating a new test, updating an
       existing test, or triggering a one-time rerun of an existing test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReachabilityDetailsOrBuilder

      public ReachabilityDetailsOrBuilder getReachabilityDetailsOrBuilder()
       Output only. The reachability details of this test from the latest run.
       The details are updated when creating a new test, updating an
       existing test, or triggering a one-time rerun of an existing test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails reachability_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReachabilityDetailsOrBuilder in interface ConnectivityTestOrBuilder
    • hasProbingDetails

      public boolean hasProbingDetails()
       Output only. The probing details of this test from the latest run, present
       for applicable tests only. The details are updated when creating a new
       test, updating an existing test, or triggering a one-time rerun of an
       existing test.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProbingDetails in interface ConnectivityTestOrBuilder
      Returns:
      Whether the probingDetails field is set.
    • getProbingDetails

      public ProbingDetails getProbingDetails()
       Output only. The probing details of this test from the latest run, present
       for applicable tests only. The details are updated when creating a new
       test, updating an existing test, or triggering a one-time rerun of an
       existing test.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProbingDetails in interface ConnectivityTestOrBuilder
      Returns:
      The probingDetails.
    • setProbingDetails

      public ConnectivityTest.Builder setProbingDetails(ProbingDetails value)
       Output only. The probing details of this test from the latest run, present
       for applicable tests only. The details are updated when creating a new
       test, updating an existing test, or triggering a one-time rerun of an
       existing test.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setProbingDetails

      public ConnectivityTest.Builder setProbingDetails(ProbingDetails.Builder builderForValue)
       Output only. The probing details of this test from the latest run, present
       for applicable tests only. The details are updated when creating a new
       test, updating an existing test, or triggering a one-time rerun of an
       existing test.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeProbingDetails

      public ConnectivityTest.Builder mergeProbingDetails(ProbingDetails value)
       Output only. The probing details of this test from the latest run, present
       for applicable tests only. The details are updated when creating a new
       test, updating an existing test, or triggering a one-time rerun of an
       existing test.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearProbingDetails

      public ConnectivityTest.Builder clearProbingDetails()
       Output only. The probing details of this test from the latest run, present
       for applicable tests only. The details are updated when creating a new
       test, updating an existing test, or triggering a one-time rerun of an
       existing test.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProbingDetailsBuilder

      public ProbingDetails.Builder getProbingDetailsBuilder()
       Output only. The probing details of this test from the latest run, present
       for applicable tests only. The details are updated when creating a new
       test, updating an existing test, or triggering a one-time rerun of an
       existing test.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProbingDetailsOrBuilder

      public ProbingDetailsOrBuilder getProbingDetailsOrBuilder()
       Output only. The probing details of this test from the latest run, present
       for applicable tests only. The details are updated when creating a new
       test, updating an existing test, or triggering a one-time rerun of an
       existing test.
       
      .google.cloud.networkmanagement.v1beta1.ProbingDetails probing_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProbingDetailsOrBuilder in interface ConnectivityTestOrBuilder
    • getRoundTrip

      public boolean getRoundTrip()
       Whether run analysis for the return path from destination to source.
       Default value is false.
       
      bool round_trip = 15;
      Specified by:
      getRoundTrip in interface ConnectivityTestOrBuilder
      Returns:
      The roundTrip.
    • setRoundTrip

      public ConnectivityTest.Builder setRoundTrip(boolean value)
       Whether run analysis for the return path from destination to source.
       Default value is false.
       
      bool round_trip = 15;
      Parameters:
      value - The roundTrip to set.
      Returns:
      This builder for chaining.
    • clearRoundTrip

      public ConnectivityTest.Builder clearRoundTrip()
       Whether run analysis for the return path from destination to source.
       Default value is false.
       
      bool round_trip = 15;
      Returns:
      This builder for chaining.
    • hasReturnReachabilityDetails

      public boolean hasReturnReachabilityDetails()
       Output only. The reachability details of this test from the latest run for
       the return path. The details are updated when creating a new test,
       updating an existing test, or triggering a one-time rerun of an existing
       test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails return_reachability_details = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasReturnReachabilityDetails in interface ConnectivityTestOrBuilder
      Returns:
      Whether the returnReachabilityDetails field is set.
    • getReturnReachabilityDetails

      public ReachabilityDetails getReturnReachabilityDetails()
       Output only. The reachability details of this test from the latest run for
       the return path. The details are updated when creating a new test,
       updating an existing test, or triggering a one-time rerun of an existing
       test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails return_reachability_details = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReturnReachabilityDetails in interface ConnectivityTestOrBuilder
      Returns:
      The returnReachabilityDetails.
    • setReturnReachabilityDetails

      public ConnectivityTest.Builder setReturnReachabilityDetails(ReachabilityDetails value)
       Output only. The reachability details of this test from the latest run for
       the return path. The details are updated when creating a new test,
       updating an existing test, or triggering a one-time rerun of an existing
       test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails return_reachability_details = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setReturnReachabilityDetails

      public ConnectivityTest.Builder setReturnReachabilityDetails(ReachabilityDetails.Builder builderForValue)
       Output only. The reachability details of this test from the latest run for
       the return path. The details are updated when creating a new test,
       updating an existing test, or triggering a one-time rerun of an existing
       test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails return_reachability_details = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeReturnReachabilityDetails

      public ConnectivityTest.Builder mergeReturnReachabilityDetails(ReachabilityDetails value)
       Output only. The reachability details of this test from the latest run for
       the return path. The details are updated when creating a new test,
       updating an existing test, or triggering a one-time rerun of an existing
       test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails return_reachability_details = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearReturnReachabilityDetails

      public ConnectivityTest.Builder clearReturnReachabilityDetails()
       Output only. The reachability details of this test from the latest run for
       the return path. The details are updated when creating a new test,
       updating an existing test, or triggering a one-time rerun of an existing
       test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails return_reachability_details = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReturnReachabilityDetailsBuilder

      public ReachabilityDetails.Builder getReturnReachabilityDetailsBuilder()
       Output only. The reachability details of this test from the latest run for
       the return path. The details are updated when creating a new test,
       updating an existing test, or triggering a one-time rerun of an existing
       test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails return_reachability_details = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getReturnReachabilityDetailsOrBuilder

      public ReachabilityDetailsOrBuilder getReturnReachabilityDetailsOrBuilder()
       Output only. The reachability details of this test from the latest run for
       the return path. The details are updated when creating a new test,
       updating an existing test, or triggering a one-time rerun of an existing
       test.
       
      .google.cloud.networkmanagement.v1beta1.ReachabilityDetails return_reachability_details = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getReturnReachabilityDetailsOrBuilder in interface ConnectivityTestOrBuilder
    • getBypassFirewallChecks

      public boolean getBypassFirewallChecks()
       Whether the analysis should skip firewall checking. Default value is false.
       
      bool bypass_firewall_checks = 17;
      Specified by:
      getBypassFirewallChecks in interface ConnectivityTestOrBuilder
      Returns:
      The bypassFirewallChecks.
    • setBypassFirewallChecks

      public ConnectivityTest.Builder setBypassFirewallChecks(boolean value)
       Whether the analysis should skip firewall checking. Default value is false.
       
      bool bypass_firewall_checks = 17;
      Parameters:
      value - The bypassFirewallChecks to set.
      Returns:
      This builder for chaining.
    • clearBypassFirewallChecks

      public ConnectivityTest.Builder clearBypassFirewallChecks()
       Whether the analysis should skip firewall checking. Default value is false.
       
      bool bypass_firewall_checks = 17;
      Returns:
      This builder for chaining.