Interface ConnectivityTestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConnectivityTest,ConnectivityTest.Builder
@Generated
public interface ConnectivityTestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Resource labels to represent user-provided metadata.booleanWhether the analysis should skip firewall checking.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The user-supplied description of the Connectivity Test.com.google.protobuf.ByteStringThe user-supplied description of the Connectivity Test.Required.Required.Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intResource labels to represent user-provided metadata.Resource labels to represent user-provided metadata.getLabelsOrDefault(String key, String defaultValue) Resource labels to represent user-provided metadata.getLabelsOrThrow(String key) Resource labels to represent user-provided metadata.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.Output only.IP Protocol of the test.com.google.protobuf.ByteStringIP Protocol of the test.Output only.Output only.getRelatedProjects(int index) Other projects that may be relevant for reachability analysis.com.google.protobuf.ByteStringgetRelatedProjectsBytes(int index) Other projects that may be relevant for reachability analysis.intOther projects that may be relevant for reachability analysis.Other projects that may be relevant for reachability analysis.Output only.Output only.booleanWhether run analysis for the return path from destination to source.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired.booleanOutput only.booleanOutput only.booleanOutput only.booleanRequired.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getDescription
String getDescription()The user-supplied description of the Connectivity Test. Maximum of 512 characters.
string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()The user-supplied description of the Connectivity Test. Maximum of 512 characters.
string description = 2;- Returns:
- The bytes for description.
-
hasSource
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];- Returns:
- Whether the source field is set.
-
getSource
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];- Returns:
- The source.
-
getSourceOrBuilder
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]; -
hasDestination
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];- Returns:
- Whether the destination field is set.
-
getDestination
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];- Returns:
- The destination.
-
getDestinationOrBuilder
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]; -
getProtocol
String getProtocol()IP Protocol of the test. When not provided, "TCP" is assumed.
string protocol = 5;- Returns:
- The protocol.
-
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()IP Protocol of the test. When not provided, "TCP" is assumed.
string protocol = 5;- Returns:
- The bytes for protocol.
-
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;- Returns:
- A list containing the relatedProjects.
-
getRelatedProjectsCount
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;- Returns:
- The count of relatedProjects.
-
getRelatedProjects
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 of the element to return.- Returns:
- The relatedProjects at the given index.
-
getRelatedProjectsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the relatedProjects at the given index.
-
getDisplayName
String getDisplayName()Output only. The display name of a Connectivity Test.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Output only. The display name of a Connectivity Test.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for displayName.
-
getLabelsCount
int getLabelsCount()Resource labels to represent user-provided metadata.
map<string, string> labels = 8; -
containsLabels
Resource labels to represent user-provided metadata.
map<string, string> labels = 8; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Resource labels to represent user-provided metadata.
map<string, string> labels = 8; -
getLabelsOrDefault
Resource labels to represent user-provided metadata.
map<string, string> labels = 8; -
getLabelsOrThrow
Resource labels to represent user-provided metadata.
map<string, string> labels = 8; -
hasCreateTime
boolean hasCreateTime()Output only. The time the test was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The time the test's configuration was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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]; -
hasReachabilityDetails
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];- Returns:
- Whether the reachabilityDetails field is set.
-
getReachabilityDetails
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];- Returns:
- The reachabilityDetails.
-
getReachabilityDetailsOrBuilder
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]; -
hasProbingDetails
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];- Returns:
- Whether the probingDetails field is set.
-
getProbingDetails
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];- Returns:
- The probingDetails.
-
getProbingDetailsOrBuilder
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]; -
getRoundTrip
boolean getRoundTrip()Whether run analysis for the return path from destination to source. Default value is false.
bool round_trip = 15;- Returns:
- The roundTrip.
-
hasReturnReachabilityDetails
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];- Returns:
- Whether the returnReachabilityDetails field is set.
-
getReturnReachabilityDetails
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];- Returns:
- The returnReachabilityDetails.
-
getReturnReachabilityDetailsOrBuilder
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]; -
getBypassFirewallChecks
boolean getBypassFirewallChecks()Whether the analysis should skip firewall checking. Default value is false.
bool bypass_firewall_checks = 17;- Returns:
- The bypassFirewallChecks.
-