Package com.google.cloud.clouddms.v1
Interface CreateMappingRuleRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateMappingRuleRequest
,CreateMappingRuleRequest.Builder
public interface CreateMappingRuleRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MappingRule
getMappingRule()
Required.String
getMappingRuleId()
Required.com.google.protobuf.ByteString
getMappingRuleIdBytes()
Required.MappingRuleOrBuilder
getMappingRuleOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.String
getRequestId()
A unique ID used to identify the request.com.google.protobuf.ByteString
getRequestIdBytes()
A unique ID used to identify the request.boolean
hasMappingRule()
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 which owns this collection of mapping rules.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The parent which owns this collection of mapping rules.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getMappingRuleId
String getMappingRuleId()
Required. The ID of the rule to create.
string mapping_rule_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The mappingRuleId.
-
getMappingRuleIdBytes
com.google.protobuf.ByteString getMappingRuleIdBytes()
Required. The ID of the rule to create.
string mapping_rule_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for mappingRuleId.
-
hasMappingRule
boolean hasMappingRule()
Required. Represents a [mapping rule] (https://cloud.google.com/database-migration/reference/rest/v1/projects.locations.mappingRules) object.
.google.cloud.clouddms.v1.MappingRule mapping_rule = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the mappingRule field is set.
-
getMappingRule
MappingRule getMappingRule()
Required. Represents a [mapping rule] (https://cloud.google.com/database-migration/reference/rest/v1/projects.locations.mappingRules) object.
.google.cloud.clouddms.v1.MappingRule mapping_rule = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The mappingRule.
-
getMappingRuleOrBuilder
MappingRuleOrBuilder getMappingRuleOrBuilder()
Required. Represents a [mapping rule] (https://cloud.google.com/database-migration/reference/rest/v1/projects.locations.mappingRules) object.
.google.cloud.clouddms.v1.MappingRule mapping_rule = 3 [(.google.api.field_behavior) = REQUIRED];
-
getRequestId
String getRequestId()
A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4;
- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4;
- Returns:
- The bytes for requestId.
-
-