Interface CreateAnnotationRequestOrBuilder (0.10.0)

public interface CreateAnnotationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotation()

public abstract Annotation getAnnotation()

Required. The resource being created.

.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Annotation

The annotation.

getAnnotationOrBuilder()

public abstract AnnotationOrBuilder getAnnotationOrBuilder()

Required. The resource being created.

.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AnnotationOrBuilder

getParent()

public abstract String getParent()

Required. Name of the parent (project+location).

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Name of the parent (project+location).

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

Optional. An optional request ID to identify requests.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for requestId.

hasAnnotation()

public abstract boolean hasAnnotation()

Required. The resource being created.

.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the annotation field is set.