- 0.68.0 (latest)
- 0.66.0
- 0.65.0
- 0.63.0
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class CreateAnnotationRequest.Builder extends GeneratedMessage.Builder<CreateAnnotationRequest.Builder> implements CreateAnnotationRequestOrBuilderMessage for creating an AnnotationS.
Protobuf type google.cloud.rapidmigrationassessment.v1.CreateAnnotationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateAnnotationRequest.BuilderImplements
CreateAnnotationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateAnnotationRequest build()| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest |
|
buildPartial()
public CreateAnnotationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest |
|
clear()
public CreateAnnotationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
|
clearAnnotation()
public CreateAnnotationRequest.Builder clearAnnotation()Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
|
clearParent()
public CreateAnnotationRequest.Builder clearParent()Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateAnnotationRequest.Builder clearRequestId()Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
This builder for chaining. |
getAnnotation()
public Annotation getAnnotation()Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Annotation |
The annotation. |
getAnnotationBuilder()
public Annotation.Builder getAnnotationBuilder()Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Annotation.Builder |
|
getAnnotationOrBuilder()
public AnnotationOrBuilder getAnnotationOrBuilder()Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AnnotationOrBuilder |
|
getDefaultInstanceForType()
public CreateAnnotationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRequestId()
public String getRequestId()Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
hasAnnotation()
public boolean hasAnnotation()Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the annotation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAnnotation(Annotation value)
public CreateAnnotationRequest.Builder mergeAnnotation(Annotation value)Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Annotation |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
|
mergeFrom(CreateAnnotationRequest other)
public CreateAnnotationRequest.Builder mergeFrom(CreateAnnotationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAnnotationRequest |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAnnotationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateAnnotationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
|
setAnnotation(Annotation value)
public CreateAnnotationRequest.Builder setAnnotation(Annotation value)Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Annotation |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
|
setAnnotation(Annotation.Builder builderForValue)
public CreateAnnotationRequest.Builder setAnnotation(Annotation.Builder builderForValue)Required. The resource being created.
.google.cloud.rapidmigrationassessment.v1.Annotation annotation = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Annotation.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
|
setParent(String value)
public CreateAnnotationRequest.Builder setParent(String value)Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateAnnotationRequest.Builder setParentBytes(ByteString value)Required. Name of the parent (project+location).
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateAnnotationRequest.Builder setRequestId(String value)Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateAnnotationRequest.Builder setRequestIdBytes(ByteString value)Optional. An optional request ID to identify requests.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAnnotationRequest.Builder |
This builder for chaining. |