Interface CreateAttachmentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateAttachmentRequest,CreateAttachmentRequest.Builder
@Generated
public interface CreateAttachmentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.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. 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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
getAttachmentId
String getAttachmentId()Required. The attachment id to use for this attachment.
string attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The attachmentId.
-
getAttachmentIdBytes
com.google.protobuf.ByteString getAttachmentIdBytes()Required. The attachment id to use for this attachment.
string attachment_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for attachmentId.
-
hasAttachment
boolean hasAttachment()Required. The attachment to be created.
.google.devtools.artifactregistry.v1.Attachment attachment = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the attachment field is set.
-
getAttachment
Attachment getAttachment()Required. The attachment to be created.
.google.devtools.artifactregistry.v1.Attachment attachment = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The attachment.
-
getAttachmentOrBuilder
AttachmentOrBuilder getAttachmentOrBuilder()Required. The attachment to be created.
.google.devtools.artifactregistry.v1.Attachment attachment = 3 [(.google.api.field_behavior) = REQUIRED];
-