public interface CreateAttachmentRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAttachment()
public abstract Attachment getAttachment()Required. The attachment to be created.
.google.devtools.artifactregistry.v1.Attachment attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Attachment |
The attachment. |
getAttachmentId()
public abstract String getAttachmentId()Required. The attachment id to use for this attachment.
string attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The attachmentId. |
getAttachmentIdBytes()
public abstract ByteString getAttachmentIdBytes()Required. The attachment id to use for this attachment.
string attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for attachmentId. |
getAttachmentOrBuilder()
public abstract AttachmentOrBuilder getAttachmentOrBuilder()Required. The attachment to be created.
.google.devtools.artifactregistry.v1.Attachment attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AttachmentOrBuilder |
|
getParent()
public abstract String getParent()Required. The name of the parent resource where the attachment will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()Required. The name of the parent resource where the attachment will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasAttachment()
public abstract boolean hasAttachment()Required. The attachment to be created.
.google.devtools.artifactregistry.v1.Attachment attachment = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the attachment field is set. |