publicstaticfinalclass CreateRepositoryRequest.BuilderextendsGeneratedMessageV3.Builder<CreateRepositoryRequest.Builder>implementsCreateRepositoryRequestOrBuilder
Message for creating a Repository.
Protobuf type google.devtools.cloudbuild.v2.CreateRepositoryRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicCreateRepositoryRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicCreateRepositoryRequestbuild()
buildPartial()
publicCreateRepositoryRequestbuildPartial()
clear()
publicCreateRepositoryRequest.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicCreateRepositoryRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicCreateRepositoryRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearParent()
publicCreateRepositoryRequest.BuilderclearParent()
Required. The connection to contain the repository. If the request is part
of a BatchCreateRepositoriesRequest, this field should be empty or match
the parent specified there.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearRepository()
publicCreateRepositoryRequest.BuilderclearRepository()
Required. The repository to create.
.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
clearRepositoryId()
publicCreateRepositoryRequest.BuilderclearRepositoryId()
Required. The ID to use for the repository, which will become the final
component of the repository's resource name. This ID should be unique in
the connection. Allows alphanumeric characters and any of
-._~%!$&'()*+,;=@.
string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
clone()
publicCreateRepositoryRequest.Builderclone()
Overrides
getDefaultInstanceForType()
publicCreateRepositoryRequestgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getParent()
Required. The connection to contain the repository. If the request is part
of a BatchCreateRepositoriesRequest, this field should be empty or match
the parent specified there.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The parent.
|
getParentBytes()
publicByteStringgetParentBytes()
Required. The connection to contain the repository. If the request is part
of a BatchCreateRepositoriesRequest, this field should be empty or match
the parent specified there.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for parent.
|
getRepository()
publicRepositorygetRepository()
Required. The repository to create.
.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
Repository |
The repository.
|
getRepositoryBuilder()
publicRepository.BuildergetRepositoryBuilder()
Required. The repository to create.
.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
getRepositoryId()
publicStringgetRepositoryId()
Required. The ID to use for the repository, which will become the final
component of the repository's resource name. This ID should be unique in
the connection. Allows alphanumeric characters and any of
-._~%!$&'()*+,;=@.
string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The repositoryId.
|
getRepositoryIdBytes()
publicByteStringgetRepositoryIdBytes()
Required. The ID to use for the repository, which will become the final
component of the repository's resource name. This ID should be unique in
the connection. Allows alphanumeric characters and any of
-._~%!$&'()*+,;=@.
string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for repositoryId.
|
getRepositoryOrBuilder()
publicRepositoryOrBuildergetRepositoryOrBuilder()
Required. The repository to create.
.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
hasRepository()
publicbooleanhasRepository()
Required. The repository to create.
.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the repository field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(CreateRepositoryRequest other)
publicCreateRepositoryRequest.BuildermergeFrom(CreateRepositoryRequestother)
publicCreateRepositoryRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicCreateRepositoryRequest.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeRepository(Repository value)
publicCreateRepositoryRequest.BuildermergeRepository(Repositoryvalue)
Required. The repository to create.
.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateRepositoryRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicCreateRepositoryRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setParent(String value)
publicCreateRepositoryRequest.BuildersetParent(Stringvalue)
Required. The connection to contain the repository. If the request is part
of a BatchCreateRepositoriesRequest, this field should be empty or match
the parent specified there.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
publicCreateRepositoryRequest.BuildersetParentBytes(ByteStringvalue)
Required. The connection to contain the repository. If the request is part
of a BatchCreateRepositoriesRequest, this field should be empty or match
the parent specified there.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicCreateRepositoryRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setRepository(Repository value)
publicCreateRepositoryRequest.BuildersetRepository(Repositoryvalue)
Required. The repository to create.
.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
setRepository(Repository.Builder builderForValue)
publicCreateRepositoryRequest.BuildersetRepository(Repository.BuilderbuilderForValue)
Required. The repository to create.
.google.devtools.cloudbuild.v2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED];
setRepositoryId(String value)
publicCreateRepositoryRequest.BuildersetRepositoryId(Stringvalue)
Required. The ID to use for the repository, which will become the final
component of the repository's resource name. This ID should be unique in
the connection. Allows alphanumeric characters and any of
-._~%!$&'()*+,;=@.
string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The repositoryId to set.
|
setRepositoryIdBytes(ByteString value)
publicCreateRepositoryRequest.BuildersetRepositoryIdBytes(ByteStringvalue)
Required. The ID to use for the repository, which will become the final
component of the repository's resource name. This ID should be unique in
the connection. Allows alphanumeric characters and any of
-._~%!$&'()*+,;=@.
string repository_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for repositoryId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateRepositoryRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides