public static final class CreateConnectivityTestRequest.Builder extends GeneratedMessageV3.Builder<CreateConnectivityTestRequest.Builder> implements CreateConnectivityTestRequestOrBuilder
Request for the CreateConnectivityTest
method.
Protobuf type google.cloud.networkmanagement.v1.CreateConnectivityTestRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConnectivityTestRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateConnectivityTestRequest build()
buildPartial()
public CreateConnectivityTestRequest buildPartial()
clear()
public CreateConnectivityTestRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateConnectivityTestRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConnectivityTestRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateConnectivityTestRequest.Builder clearParent()
Required. The parent resource of the Connectivity Test to create:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearResource()
public CreateConnectivityTestRequest.Builder clearResource()
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
clearTestId()
public CreateConnectivityTestRequest.Builder clearTestId()
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];
clone()
public CreateConnectivityTestRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateConnectivityTestRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public 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, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public 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, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getResource()
public ConnectivityTest getResource()
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
getResourceBuilder()
public ConnectivityTest.Builder getResourceBuilder()
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
getResourceOrBuilder()
public ConnectivityTestOrBuilder getResourceOrBuilder()
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
getTestId()
public 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 |
Type |
Description |
String |
The testId.
|
getTestIdBytes()
public 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 |
Type |
Description |
ByteString |
The bytes for testId.
|
hasResource()
public boolean hasResource()
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the resource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateConnectivityTestRequest other)
public CreateConnectivityTestRequest.Builder mergeFrom(CreateConnectivityTestRequest other)
public CreateConnectivityTestRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateConnectivityTestRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeResource(ConnectivityTest value)
public CreateConnectivityTestRequest.Builder mergeResource(ConnectivityTest value)
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectivityTestRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConnectivityTestRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateConnectivityTestRequest.Builder setParent(String value)
Required. The parent resource of the Connectivity Test to create:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateConnectivityTestRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the Connectivity Test to create:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConnectivityTestRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResource(ConnectivityTest value)
public CreateConnectivityTestRequest.Builder setResource(ConnectivityTest value)
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
setResource(ConnectivityTest.Builder builderForValue)
public CreateConnectivityTestRequest.Builder setResource(ConnectivityTest.Builder builderForValue)
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
setTestId(String value)
public CreateConnectivityTestRequest.Builder setTestId(String value)
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];
Parameter |
Name |
Description |
value |
String
The testId to set.
|
setTestIdBytes(ByteString value)
public CreateConnectivityTestRequest.Builder setTestIdBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for testId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectivityTestRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides