Interface CreateRepositoryRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateRepositoryRequest,CreateRepositoryRequest.Builder
@Generated
public interface CreateRepositoryRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Required.com.google.protobuf.ByteStringRequired.Required.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 project in which to create the repository. Values are of the form `projects/{project_number}/locations/{location_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The project in which to create the repository. Values are of the form `projects/{project_number}/locations/{location_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasRepository
boolean hasRepository()Required. The resource being created.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the repository field is set.
-
getRepository
Repository getRepository()Required. The resource being created.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The repository.
-
getRepositoryOrBuilder
RepositoryOrBuilder getRepositoryOrBuilder()Required. The resource being created.
.google.cloud.securesourcemanager.v1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; -
getRepositoryId
String getRepositoryId()Required. The ID to use for the repository, which will become the final component of the repository's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The repositoryId.
-
getRepositoryIdBytes
com.google.protobuf.ByteString getRepositoryIdBytes()Required. The ID to use for the repository, which will become the final component of the repository's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.
string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for repositoryId.
-