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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateConnectivityTestRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateConnectivityTestRequest build()
Returns
buildPartial()
public CreateConnectivityTestRequest buildPartial()
Returns
clear()
public CreateConnectivityTestRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateConnectivityTestRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateConnectivityTestRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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];
Returns
clearResource()
public CreateConnectivityTestRequest.Builder clearResource()
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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];
Returns
clone()
public CreateConnectivityTestRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateConnectivityTestRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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];
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];
Returns
getResource()
public ConnectivityTest getResource()
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getResourceBuilder()
public ConnectivityTest.Builder getResourceBuilder()
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getResourceOrBuilder()
public ConnectivityTestOrBuilder getResourceOrBuilder()
Required. A ConnectivityTest
resource
.google.cloud.networkmanagement.v1.ConnectivityTest resource = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateConnectivityTestRequest other)
public CreateConnectivityTestRequest.Builder mergeFrom(CreateConnectivityTestRequest other)
Parameter
Returns
public CreateConnectivityTestRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateConnectivityTestRequest.Builder mergeFrom(Message other)
Parameter
Returns
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];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectivityTestRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateConnectivityTestRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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];
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
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];
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateConnectivityTestRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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];
Parameter
Returns
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];
Parameter
Returns
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.
|
Returns
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.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateConnectivityTestRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides