Interface CreateConnectivityTestRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateConnectivityTestRequest
,CreateConnectivityTestRequest.Builder
public interface CreateConnectivityTestRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.ConnectivityTest
getResource()
Required.ConnectivityTestOrBuilder
getResourceOrBuilder()
Required.String
getTestId()
Required.com.google.protobuf.ByteString
getTestIdBytes()
Required.boolean
hasResource()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for parent.
-
getTestId
String getTestId()
Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project
string test_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The testId.
-
getTestIdBytes
com.google.protobuf.ByteString getTestIdBytes()
Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project
string test_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for testId.
-
hasResource
boolean hasResource()
Required. A `ConnectivityTest` resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the resource field is set.
-
getResource
ConnectivityTest getResource()
Required. A `ConnectivityTest` resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The resource.
-
getResourceOrBuilder
ConnectivityTestOrBuilder getResourceOrBuilder()
Required. A `ConnectivityTest` resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
-
-