Interface CreateAnnotationRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateAnnotationRequest,CreateAnnotationRequest.Builder
@Generated
public interface CreateAnnotationRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasAnnotation
boolean hasAnnotation()Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the annotation field is set.
-
getAnnotation
Annotation getAnnotation()Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The annotation.
-
getAnnotationOrBuilder
AnnotationOrBuilder getAnnotationOrBuilder()Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED]; -
getRequestId
String getRequestId()Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for requestId.
-