public static final class ConnectivityTest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder> implements ConnectivityTestOrBuilder
A Connectivity Test for a network reachability analysis.Protobuf type
google.cloud.networkmanagement.v1beta1.ConnectivityTest| Modifier and Type | Method and Description |
|---|---|
ConnectivityTest.Builder |
addAllRelatedProjects(Iterable<String> values)
Other projects that may be relevant for reachability analysis.
|
ConnectivityTest.Builder |
addRelatedProjects(String value)
Other projects that may be relevant for reachability analysis.
|
ConnectivityTest.Builder |
addRelatedProjectsBytes(com.google.protobuf.ByteString value)
Other projects that may be relevant for reachability analysis.
|
ConnectivityTest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConnectivityTest |
build() |
ConnectivityTest |
buildPartial() |
ConnectivityTest.Builder |
clear() |
ConnectivityTest.Builder |
clearCreateTime()
Output only.
|
ConnectivityTest.Builder |
clearDescription()
The user-supplied description of the Connectivity Test.
|
ConnectivityTest.Builder |
clearDestination()
Required.
|
ConnectivityTest.Builder |
clearDisplayName()
Output only.
|
ConnectivityTest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ConnectivityTest.Builder |
clearLabels() |
ConnectivityTest.Builder |
clearName()
Required.
|
ConnectivityTest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConnectivityTest.Builder |
clearProbingDetails()
Output only.
|
ConnectivityTest.Builder |
clearProtocol()
IP Protocol of the test.
|
ConnectivityTest.Builder |
clearReachabilityDetails()
Output only.
|
ConnectivityTest.Builder |
clearRelatedProjects()
Other projects that may be relevant for reachability analysis.
|
ConnectivityTest.Builder |
clearSource()
Required.
|
ConnectivityTest.Builder |
clearUpdateTime()
Output only.
|
ConnectivityTest.Builder |
clone() |
boolean |
containsLabels(String key)
Resource labels to represent user-provided metadata.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
ConnectivityTest |
getDefaultInstanceForType() |
String |
getDescription()
The user-supplied description of the Connectivity Test.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
The user-supplied description of the Connectivity Test.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Endpoint |
getDestination()
Required.
|
Endpoint.Builder |
getDestinationBuilder()
Required.
|
EndpointOrBuilder |
getDestinationOrBuilder()
Required.
|
String |
getDisplayName()
Output only.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Resource labels to represent user-provided metadata.
|
Map<String,String> |
getLabelsMap()
Resource labels to represent user-provided metadata.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Resource labels to represent user-provided metadata.
|
String |
getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
ProbingDetails |
getProbingDetails()
Output only.
|
ProbingDetails.Builder |
getProbingDetailsBuilder()
Output only.
|
ProbingDetailsOrBuilder |
getProbingDetailsOrBuilder()
Output only.
|
String |
getProtocol()
IP Protocol of the test.
|
com.google.protobuf.ByteString |
getProtocolBytes()
IP Protocol of the test.
|
ReachabilityDetails |
getReachabilityDetails()
Output only.
|
ReachabilityDetails.Builder |
getReachabilityDetailsBuilder()
Output only.
|
ReachabilityDetailsOrBuilder |
getReachabilityDetailsOrBuilder()
Output only.
|
String |
getRelatedProjects(int index)
Other projects that may be relevant for reachability analysis.
|
com.google.protobuf.ByteString |
getRelatedProjectsBytes(int index)
Other projects that may be relevant for reachability analysis.
|
int |
getRelatedProjectsCount()
Other projects that may be relevant for reachability analysis.
|
com.google.protobuf.ProtocolStringList |
getRelatedProjectsList()
Other projects that may be relevant for reachability analysis.
|
Endpoint |
getSource()
Required.
|
Endpoint.Builder |
getSourceBuilder()
Required.
|
EndpointOrBuilder |
getSourceOrBuilder()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDestination()
Required.
|
boolean |
hasProbingDetails()
Output only.
|
boolean |
hasReachabilityDetails()
Output only.
|
boolean |
hasSource()
Required.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
ConnectivityTest.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
ConnectivityTest.Builder |
mergeDestination(Endpoint value)
Required.
|
ConnectivityTest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConnectivityTest.Builder |
mergeFrom(ConnectivityTest other) |
ConnectivityTest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConnectivityTest.Builder |
mergeProbingDetails(ProbingDetails value)
Output only.
|
ConnectivityTest.Builder |
mergeReachabilityDetails(ReachabilityDetails value)
Output only.
|
ConnectivityTest.Builder |
mergeSource(Endpoint value)
Required.
|
ConnectivityTest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConnectivityTest.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
ConnectivityTest.Builder |
putAllLabels(Map<String,String> values)
Resource labels to represent user-provided metadata.
|
ConnectivityTest.Builder |
putLabels(String key,
String value)
Resource labels to represent user-provided metadata.
|
ConnectivityTest.Builder |
removeLabels(String key)
Resource labels to represent user-provided metadata.
|
ConnectivityTest.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ConnectivityTest.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
ConnectivityTest.Builder |
setDescription(String value)
The user-supplied description of the Connectivity Test.
|
ConnectivityTest.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
The user-supplied description of the Connectivity Test.
|
ConnectivityTest.Builder |
setDestination(Endpoint.Builder builderForValue)
Required.
|
ConnectivityTest.Builder |
setDestination(Endpoint value)
Required.
|
ConnectivityTest.Builder |
setDisplayName(String value)
Output only.
|
ConnectivityTest.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only.
|
ConnectivityTest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConnectivityTest.Builder |
setName(String value)
Required.
|
ConnectivityTest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ConnectivityTest.Builder |
setProbingDetails(ProbingDetails.Builder builderForValue)
Output only.
|
ConnectivityTest.Builder |
setProbingDetails(ProbingDetails value)
Output only.
|
ConnectivityTest.Builder |
setProtocol(String value)
IP Protocol of the test.
|
ConnectivityTest.Builder |
setProtocolBytes(com.google.protobuf.ByteString value)
IP Protocol of the test.
|
ConnectivityTest.Builder |
setReachabilityDetails(ReachabilityDetails.Builder builderForValue)
Output only.
|
ConnectivityTest.Builder |
setReachabilityDetails(ReachabilityDetails value)
Output only.
|
ConnectivityTest.Builder |
setRelatedProjects(int index,
String value)
Other projects that may be relevant for reachability analysis.
|
ConnectivityTest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ConnectivityTest.Builder |
setSource(Endpoint.Builder builderForValue)
Required.
|
ConnectivityTest.Builder |
setSource(Endpoint value)
Required.
|
ConnectivityTest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConnectivityTest.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ConnectivityTest.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public ConnectivityTest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public ConnectivityTest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConnectivityTest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConnectivityTest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConnectivityTest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public ConnectivityTest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public ConnectivityTest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public ConnectivityTest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public ConnectivityTest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public ConnectivityTest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public ConnectivityTest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectivityTest.Builder>public ConnectivityTest.Builder mergeFrom(ConnectivityTest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public ConnectivityTest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConnectivityTest.Builder>IOExceptionpublic String getName()
Required. Unique name of the resource using the form:
`projects/{project_id}/locations/global/connectivityTests/{test}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface ConnectivityTestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. Unique name of the resource using the form:
`projects/{project_id}/locations/global/connectivityTests/{test}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface ConnectivityTestOrBuilderpublic ConnectivityTest.Builder setName(String value)
Required. Unique name of the resource using the form:
`projects/{project_id}/locations/global/connectivityTests/{test}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The name to set.public ConnectivityTest.Builder clearName()
Required. Unique name of the resource using the form:
`projects/{project_id}/locations/global/connectivityTests/{test}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];public ConnectivityTest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. Unique name of the resource using the form:
`projects/{project_id}/locations/global/connectivityTests/{test}`
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for name to set.public String getDescription()
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
string description = 2;getDescription in interface ConnectivityTestOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
string description = 2;getDescriptionBytes in interface ConnectivityTestOrBuilderpublic ConnectivityTest.Builder setDescription(String value)
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
string description = 2;value - The description to set.public ConnectivityTest.Builder clearDescription()
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
string description = 2;public ConnectivityTest.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
string description = 2;value - The bytes for description to set.public boolean hasSource()
Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
hasSource in interface ConnectivityTestOrBuilderpublic Endpoint getSource()
Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
getSource in interface ConnectivityTestOrBuilderpublic ConnectivityTest.Builder setSource(Endpoint value)
Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
public ConnectivityTest.Builder setSource(Endpoint.Builder builderForValue)
Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
public ConnectivityTest.Builder mergeSource(Endpoint value)
Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
public ConnectivityTest.Builder clearSource()
Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
public Endpoint.Builder getSourceBuilder()
Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
public EndpointOrBuilder getSourceOrBuilder()
Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint source = 3 [(.google.api.field_behavior) = REQUIRED];
getSourceOrBuilder in interface ConnectivityTestOrBuilderpublic boolean hasDestination()
Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
hasDestination in interface ConnectivityTestOrBuilderpublic Endpoint getDestination()
Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
getDestination in interface ConnectivityTestOrBuilderpublic ConnectivityTest.Builder setDestination(Endpoint value)
Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
public ConnectivityTest.Builder setDestination(Endpoint.Builder builderForValue)
Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
public ConnectivityTest.Builder mergeDestination(Endpoint value)
Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
public ConnectivityTest.Builder clearDestination()
Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
public Endpoint.Builder getDestinationBuilder()
Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
public EndpointOrBuilder getDestinationOrBuilder()
Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test.
.google.cloud.networkmanagement.v1beta1.Endpoint destination = 4 [(.google.api.field_behavior) = REQUIRED];
getDestinationOrBuilder in interface ConnectivityTestOrBuilderpublic String getProtocol()
IP Protocol of the test. When not provided, "TCP" is assumed.
string protocol = 5;getProtocol in interface ConnectivityTestOrBuilderpublic com.google.protobuf.ByteString getProtocolBytes()
IP Protocol of the test. When not provided, "TCP" is assumed.
string protocol = 5;getProtocolBytes in interface ConnectivityTestOrBuilderpublic ConnectivityTest.Builder setProtocol(String value)
IP Protocol of the test. When not provided, "TCP" is assumed.
string protocol = 5;value - The protocol to set.public ConnectivityTest.Builder clearProtocol()
IP Protocol of the test. When not provided, "TCP" is assumed.
string protocol = 5;public ConnectivityTest.Builder setProtocolBytes(com.google.protobuf.ByteString value)
IP Protocol of the test. When not provided, "TCP" is assumed.
string protocol = 5;value - The bytes for protocol to set.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;getRelatedProjectsList in interface ConnectivityTestOrBuilderpublic 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;getRelatedProjectsCount in interface ConnectivityTestOrBuilderpublic 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;getRelatedProjects in interface ConnectivityTestOrBuilderindex - The index of the element to return.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;getRelatedProjectsBytes in interface ConnectivityTestOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The relatedProjects to set.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;value - The relatedProjects to add.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;values - The relatedProjects to add.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;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;value - The bytes of the relatedProjects to add.public String getDisplayName()
Output only. The display name of a Connectivity Test.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayName in interface ConnectivityTestOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Output only. The display name of a Connectivity Test.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getDisplayNameBytes in interface ConnectivityTestOrBuilderpublic ConnectivityTest.Builder setDisplayName(String value)
Output only. The display name of a Connectivity Test.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The displayName to set.public ConnectivityTest.Builder clearDisplayName()
Output only. The display name of a Connectivity Test.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];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];value - The bytes for displayName to set.public int getLabelsCount()
ConnectivityTestOrBuilderResource labels to represent user-provided metadata.
map<string, string> labels = 8;getLabelsCount in interface ConnectivityTestOrBuilderpublic boolean containsLabels(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;containsLabels in interface ConnectivityTestOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ConnectivityTestOrBuilderpublic Map<String,String> getLabelsMap()
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;getLabelsMap in interface ConnectivityTestOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;getLabelsOrDefault in interface ConnectivityTestOrBuilderpublic String getLabelsOrThrow(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;getLabelsOrThrow in interface ConnectivityTestOrBuilderpublic ConnectivityTest.Builder clearLabels()
public ConnectivityTest.Builder removeLabels(String key)
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;@Deprecated public Map<String,String> getMutableLabels()
public ConnectivityTest.Builder putLabels(String key, String value)
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;public ConnectivityTest.Builder putAllLabels(Map<String,String> values)
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;public boolean hasCreateTime()
Output only. The time the test was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface ConnectivityTestOrBuilderpublic 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];
getCreateTime in interface ConnectivityTestOrBuilderpublic 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];
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];
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];
public ConnectivityTest.Builder clearCreateTime()
Output only. The time the test was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getCreateTimeOrBuilder in interface ConnectivityTestOrBuilderpublic boolean hasUpdateTime()
Output only. The time the test's configuration was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface ConnectivityTestOrBuilderpublic 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];
getUpdateTime in interface ConnectivityTestOrBuilderpublic 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];
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];
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];
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];
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];
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];
getUpdateTimeOrBuilder in interface ConnectivityTestOrBuilderpublic 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];
hasReachabilityDetails in interface ConnectivityTestOrBuilderpublic 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];
getReachabilityDetails in interface ConnectivityTestOrBuilderpublic 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];
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];
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];
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];
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];
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];
getReachabilityDetailsOrBuilder in interface ConnectivityTestOrBuilderpublic 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];
hasProbingDetails in interface ConnectivityTestOrBuilderpublic 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];
getProbingDetails in interface ConnectivityTestOrBuilderpublic 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];
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];
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];
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];
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];
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];
getProbingDetailsOrBuilder in interface ConnectivityTestOrBuilderpublic final ConnectivityTest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>public final ConnectivityTest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConnectivityTest.Builder>Copyright © 2022 Google LLC. All rights reserved.