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 Summary
Modifier and TypeMethodDescriptionaddAllRelatedProjects(Iterable<String> values) Other projects that may be relevant for reachability analysis.addRelatedProjects(String value) Other projects that may be relevant for reachability analysis.addRelatedProjectsBytes(com.google.protobuf.ByteString value) Other projects that may be relevant for reachability analysis.build()clear()Whether the analysis should skip firewall checking.Output only.The user-supplied description of the Connectivity Test.Required.Output only.Identifier.Output only.IP Protocol of the test.Output only.Other projects that may be relevant for reachability analysis.Output only.Whether run analysis for the return path from destination to source.Required.Output only.booleancontainsLabels(String key) Resource labels to represent user-provided metadata.booleanWhether the analysis should skip firewall checking.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput 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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.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.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Output only.Output only.Output only.IP Protocol of the test.com.google.protobuf.ByteStringIP Protocol of the test.Output only.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.com.google.protobuf.ProtocolStringListOther projects that may be relevant for reachability analysis.Output only.Output only.Output only.booleanWhether run analysis for the return path from destination to source.Required.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired.booleanOutput only.booleanOutput only.booleanOutput only.booleanRequired.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDestination(Endpoint value) Required.mergeFrom(ConnectivityTest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.Output only.mergeSource(Endpoint value) Required.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Resource labels to represent user-provided metadata.Resource labels to represent user-provided metadata.removeLabels(String key) Resource labels to represent user-provided metadata.setBypassFirewallChecks(boolean value) Whether the analysis should skip firewall checking.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) The user-supplied description of the Connectivity Test.setDescriptionBytes(com.google.protobuf.ByteString value) The user-supplied description of the Connectivity Test.setDestination(Endpoint value) Required.setDestination(Endpoint.Builder builderForValue) Required.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setProbingDetails(ProbingDetails value) Output only.setProbingDetails(ProbingDetails.Builder builderForValue) Output only.setProtocol(String value) IP Protocol of the test.setProtocolBytes(com.google.protobuf.ByteString value) IP Protocol of the test.Output only.setReachabilityDetails(ReachabilityDetails.Builder builderForValue) Output only.setRelatedProjects(int index, String value) Other projects that may be relevant for reachability analysis.Output only.setReturnReachabilityDetails(ReachabilityDetails.Builder builderForValue) Output only.setRoundTrip(boolean value) Whether run analysis for the return path from destination to source.Required.setSource(Endpoint.Builder builderForValue) Required.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ConnectivityTest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ConnectivityTest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConnectivityTest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConnectivityTest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConnectivityTest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectivityTest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConnectivityTest.Builder>- Throws:
IOException
-
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:
getNamein interfaceConnectivityTestOrBuilder- 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:
getNameBytesin interfaceConnectivityTestOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
string description = 2;- Specified by:
getDescriptionin interfaceConnectivityTestOrBuilder- 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:
getDescriptionBytesin interfaceConnectivityTestOrBuilder- Returns:
- The bytes for description.
-
setDescription
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
The user-supplied description of the Connectivity Test. Maximum of 512 characters.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
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:
hasSourcein interfaceConnectivityTestOrBuilder- Returns:
- Whether the source field is set.
-
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:
getSourcein interfaceConnectivityTestOrBuilder- Returns:
- The source.
-
setSource
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
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
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
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
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
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:
getSourceOrBuilderin interfaceConnectivityTestOrBuilder
-
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:
hasDestinationin interfaceConnectivityTestOrBuilder- Returns:
- Whether the destination field is set.
-
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:
getDestinationin interfaceConnectivityTestOrBuilder- Returns:
- The destination.
-
setDestination
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
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
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
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
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
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:
getDestinationOrBuilderin interfaceConnectivityTestOrBuilder
-
getProtocol
IP Protocol of the test. When not provided, "TCP" is assumed.
string protocol = 5;- Specified by:
getProtocolin interfaceConnectivityTestOrBuilder- 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:
getProtocolBytesin interfaceConnectivityTestOrBuilder- Returns:
- The bytes for protocol.
-
setProtocol
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
IP Protocol of the test. When not provided, "TCP" is assumed.
string protocol = 5;- Returns:
- This builder for chaining.
-
setProtocolBytes
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:
getRelatedProjectsListin interfaceConnectivityTestOrBuilder- 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:
getRelatedProjectsCountin interfaceConnectivityTestOrBuilder- 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;- Specified by:
getRelatedProjectsin interfaceConnectivityTestOrBuilder- 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:
getRelatedProjectsBytesin interfaceConnectivityTestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the relatedProjects at the given index.
-
setRelatedProjects
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
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
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
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
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
Output only. The display name of a Connectivity Test.
string display_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceConnectivityTestOrBuilder- 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:
getDisplayNameBytesin interfaceConnectivityTestOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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
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
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:ConnectivityTestOrBuilderResource labels to represent user-provided metadata.
map<string, string> labels = 8;- Specified by:
getLabelsCountin interfaceConnectivityTestOrBuilder
-
containsLabels
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;- Specified by:
containsLabelsin interfaceConnectivityTestOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceConnectivityTestOrBuilder
-
getLabelsMap
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;- Specified by:
getLabelsMapin interfaceConnectivityTestOrBuilder
-
getLabelsOrDefault
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;- Specified by:
getLabelsOrDefaultin interfaceConnectivityTestOrBuilder
-
getLabelsOrThrow
Resource labels to represent user-provided metadata.
map<string, string> labels = 8;- Specified by:
getLabelsOrThrowin interfaceConnectivityTestOrBuilder
-
clearLabels
-
removeLabels
Resource labels to represent user-provided metadata.
map<string, string> labels = 8; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Resource labels to represent user-provided metadata.
map<string, string> labels = 8; -
putAllLabels
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:
hasCreateTimein interfaceConnectivityTestOrBuilder- 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:
getCreateTimein interfaceConnectivityTestOrBuilder- Returns:
- The createTime.
-
setCreateTime
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
Output only. The time the test was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceConnectivityTestOrBuilder
-
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:
hasUpdateTimein interfaceConnectivityTestOrBuilder- 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:
getUpdateTimein interfaceConnectivityTestOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
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
Output only. The time the test's configuration was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getUpdateTimeOrBuilderin interfaceConnectivityTestOrBuilder
-
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:
hasReachabilityDetailsin interfaceConnectivityTestOrBuilder- Returns:
- Whether the reachabilityDetails field is set.
-
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:
getReachabilityDetailsin interfaceConnectivityTestOrBuilder- Returns:
- The reachabilityDetails.
-
setReachabilityDetails
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
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
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
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
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
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:
getReachabilityDetailsOrBuilderin interfaceConnectivityTestOrBuilder
-
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:
hasProbingDetailsin interfaceConnectivityTestOrBuilder- Returns:
- Whether the probingDetails field is set.
-
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:
getProbingDetailsin interfaceConnectivityTestOrBuilder- Returns:
- The probingDetails.
-
setProbingDetails
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
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
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
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
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
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:
getProbingDetailsOrBuilderin interfaceConnectivityTestOrBuilder
-
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:
getRoundTripin interfaceConnectivityTestOrBuilder- Returns:
- The roundTrip.
-
setRoundTrip
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
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:
hasReturnReachabilityDetailsin interfaceConnectivityTestOrBuilder- Returns:
- Whether the returnReachabilityDetails field is set.
-
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:
getReturnReachabilityDetailsin interfaceConnectivityTestOrBuilder- Returns:
- The returnReachabilityDetails.
-
setReturnReachabilityDetails
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
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
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
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
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:
getReturnReachabilityDetailsOrBuilderin interfaceConnectivityTestOrBuilder
-
getBypassFirewallChecks
public boolean getBypassFirewallChecks()Whether the analysis should skip firewall checking. Default value is false.
bool bypass_firewall_checks = 17;- Specified by:
getBypassFirewallChecksin interfaceConnectivityTestOrBuilder- Returns:
- The bypassFirewallChecks.
-
setBypassFirewallChecks
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
Whether the analysis should skip firewall checking. Default value is false.
bool bypass_firewall_checks = 17;- Returns:
- This builder for chaining.
-