public static final class FleetPackage.CloudBuildRepository.Builder extends GeneratedMessageV3.Builder<FleetPackage.CloudBuildRepository.Builder> implements FleetPackage.CloudBuildRepositoryOrBuilder
CloudBuildRepository contains information about fetching Kubernetes
configuration from a CloudBuildRepository
.
Protobuf type google.cloud.configdelivery.v1beta.FleetPackage.CloudBuildRepository
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FleetPackage.CloudBuildRepository.BuilderImplements
FleetPackage.CloudBuildRepositoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FleetPackage.CloudBuildRepository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
build()
public FleetPackage.CloudBuildRepository build()
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository |
buildPartial()
public FleetPackage.CloudBuildRepository buildPartial()
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository |
clear()
public FleetPackage.CloudBuildRepository.Builder clear()
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
clearField(Descriptors.FieldDescriptor field)
public FleetPackage.CloudBuildRepository.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
clearName()
public FleetPackage.CloudBuildRepository.Builder clearName()
Required. Name of the cloud build repository. Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FleetPackage.CloudBuildRepository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
clearPath()
public FleetPackage.CloudBuildRepository.Builder clearPath()
Optional. path to the directory or file within the repository that contains the kubernetes configuration. If unspecified, path is assumed to the top level root directory of the repository.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
clearServiceAccount()
public FleetPackage.CloudBuildRepository.Builder clearServiceAccount()
Required. Google service account to use in CloudBuild triggers to fetch and store kubernetes configuration.
string service_account = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
clearTag()
public FleetPackage.CloudBuildRepository.Builder clearTag()
Required. git tag of the underlying git repository.
The git tag must be in the semantic version format vX.Y.Z
.
string tag = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
clearVariants()
public FleetPackage.CloudBuildRepository.Builder clearVariants()
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
clearVariantsPattern()
public FleetPackage.CloudBuildRepository.Builder clearVariantsPattern()
Optional. variants_pattern is a glob pattern that will be used to find
variants in the repository. Examples: variants/*.yaml
, us-*
string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
clone()
public FleetPackage.CloudBuildRepository.Builder clone()
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
getDefaultInstanceForType()
public FleetPackage.CloudBuildRepository getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Required. Name of the cloud build repository. Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Name of the cloud build repository. Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPath()
public String getPath()
Optional. path to the directory or file within the repository that contains the kubernetes configuration. If unspecified, path is assumed to the top level root directory of the repository.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The path. |
getPathBytes()
public ByteString getPathBytes()
Optional. path to the directory or file within the repository that contains the kubernetes configuration. If unspecified, path is assumed to the top level root directory of the repository.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for path. |
getServiceAccount()
public String getServiceAccount()
Required. Google service account to use in CloudBuild triggers to fetch and store kubernetes configuration.
string service_account = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()
Required. Google service account to use in CloudBuild triggers to fetch and store kubernetes configuration.
string service_account = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for serviceAccount. |
getTag()
public String getTag()
Required. git tag of the underlying git repository.
The git tag must be in the semantic version format vX.Y.Z
.
string tag = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The tag. |
getTagBytes()
public ByteString getTagBytes()
Required. git tag of the underlying git repository.
The git tag must be in the semantic version format vX.Y.Z
.
string tag = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for tag. |
getVariantsCase()
public FleetPackage.CloudBuildRepository.VariantsCase getVariantsCase()
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.VariantsCase |
getVariantsPattern()
public String getVariantsPattern()
Optional. variants_pattern is a glob pattern that will be used to find
variants in the repository. Examples: variants/*.yaml
, us-*
string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The variantsPattern. |
getVariantsPatternBytes()
public ByteString getVariantsPatternBytes()
Optional. variants_pattern is a glob pattern that will be used to find
variants in the repository. Examples: variants/*.yaml
, us-*
string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for variantsPattern. |
hasVariantsPattern()
public boolean hasVariantsPattern()
Optional. variants_pattern is a glob pattern that will be used to find
variants in the repository. Examples: variants/*.yaml
, us-*
string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the variantsPattern field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(FleetPackage.CloudBuildRepository other)
public FleetPackage.CloudBuildRepository.Builder mergeFrom(FleetPackage.CloudBuildRepository other)
Parameter | |
---|---|
Name | Description |
other |
FleetPackage.CloudBuildRepository |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FleetPackage.CloudBuildRepository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FleetPackage.CloudBuildRepository.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FleetPackage.CloudBuildRepository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public FleetPackage.CloudBuildRepository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
setName(String value)
public FleetPackage.CloudBuildRepository.Builder setName(String value)
Required. Name of the cloud build repository. Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FleetPackage.CloudBuildRepository.Builder setNameBytes(ByteString value)
Required. Name of the cloud build repository. Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
setPath(String value)
public FleetPackage.CloudBuildRepository.Builder setPath(String value)
Optional. path to the directory or file within the repository that contains the kubernetes configuration. If unspecified, path is assumed to the top level root directory of the repository.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The path to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public FleetPackage.CloudBuildRepository.Builder setPathBytes(ByteString value)
Optional. path to the directory or file within the repository that contains the kubernetes configuration. If unspecified, path is assumed to the top level root directory of the repository.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for path to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FleetPackage.CloudBuildRepository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
setServiceAccount(String value)
public FleetPackage.CloudBuildRepository.Builder setServiceAccount(String value)
Required. Google service account to use in CloudBuild triggers to fetch and store kubernetes configuration.
string service_account = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The serviceAccount to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
setServiceAccountBytes(ByteString value)
public FleetPackage.CloudBuildRepository.Builder setServiceAccountBytes(ByteString value)
Required. Google service account to use in CloudBuild triggers to fetch and store kubernetes configuration.
string service_account = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serviceAccount to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
setTag(String value)
public FleetPackage.CloudBuildRepository.Builder setTag(String value)
Required. git tag of the underlying git repository.
The git tag must be in the semantic version format vX.Y.Z
.
string tag = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The tag to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
setTagBytes(ByteString value)
public FleetPackage.CloudBuildRepository.Builder setTagBytes(ByteString value)
Required. git tag of the underlying git repository.
The git tag must be in the semantic version format vX.Y.Z
.
string tag = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for tag to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final FleetPackage.CloudBuildRepository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
setVariantsPattern(String value)
public FleetPackage.CloudBuildRepository.Builder setVariantsPattern(String value)
Optional. variants_pattern is a glob pattern that will be used to find
variants in the repository. Examples: variants/*.yaml
, us-*
string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The variantsPattern to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |
setVariantsPatternBytes(ByteString value)
public FleetPackage.CloudBuildRepository.Builder setVariantsPatternBytes(ByteString value)
Optional. variants_pattern is a glob pattern that will be used to find
variants in the repository. Examples: variants/*.yaml
, us-*
string variants_pattern = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for variantsPattern to set. |
Returns | |
---|---|
Type | Description |
FleetPackage.CloudBuildRepository.Builder |
This builder for chaining. |