public static final class SkaffoldModules.SkaffoldGCBRepoSource.Builder extends GeneratedMessage.Builder<SkaffoldModules.SkaffoldGCBRepoSource.Builder> implements SkaffoldModules.SkaffoldGCBRepoSourceOrBuilderCloud Build V2 Repository containing Skaffold Configs.
Protobuf type google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SkaffoldModules.SkaffoldGCBRepoSource.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SkaffoldModules.SkaffoldGCBRepoSource build()| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource |
|
buildPartial()
public SkaffoldModules.SkaffoldGCBRepoSource buildPartial()| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource |
|
clear()
public SkaffoldModules.SkaffoldGCBRepoSource.Builder clear()| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
|
clearPath()
public SkaffoldModules.SkaffoldGCBRepoSource.Builder clearPath()Optional. Relative path from the repository root to the Skaffold Config file.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
This builder for chaining. |
clearRef()
public SkaffoldModules.SkaffoldGCBRepoSource.Builder clearRef()Optional. Branch or tag to use when cloning the repository.
string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
This builder for chaining. |
clearRepository()
public SkaffoldModules.SkaffoldGCBRepoSource.Builder clearRepository()Required. Name of the Cloud Build V2 Repository. Format is projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SkaffoldModules.SkaffoldGCBRepoSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPath()
public String getPath()Optional. Relative path from the repository root to the Skaffold Config file.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public ByteString getPathBytes()Optional. Relative path from the repository root to the Skaffold Config file.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for path. |
getRef()
public String getRef()Optional. Branch or tag to use when cloning the repository.
string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The ref. |
getRefBytes()
public ByteString getRefBytes()Optional. Branch or tag to use when cloning the repository.
string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ref. |
getRepository()
public String getRepository()Required. Name of the Cloud Build V2 Repository. Format is projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The repository. |
getRepositoryBytes()
public ByteString getRepositoryBytes()Required. Name of the Cloud Build V2 Repository. Format is projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repository. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SkaffoldModules.SkaffoldGCBRepoSource other)
public SkaffoldModules.SkaffoldGCBRepoSource.Builder mergeFrom(SkaffoldModules.SkaffoldGCBRepoSource other)| Parameter | |
|---|---|
| Name | Description |
other |
SkaffoldModules.SkaffoldGCBRepoSource |
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SkaffoldModules.SkaffoldGCBRepoSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SkaffoldModules.SkaffoldGCBRepoSource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
|
setPath(String value)
public SkaffoldModules.SkaffoldGCBRepoSource.Builder setPath(String value)Optional. Relative path from the repository root to the Skaffold Config file.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public SkaffoldModules.SkaffoldGCBRepoSource.Builder setPathBytes(ByteString value)Optional. Relative path from the repository root to the Skaffold Config file.
string path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
This builder for chaining. |
setRef(String value)
public SkaffoldModules.SkaffoldGCBRepoSource.Builder setRef(String value)Optional. Branch or tag to use when cloning the repository.
string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ref to set. |
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
This builder for chaining. |
setRefBytes(ByteString value)
public SkaffoldModules.SkaffoldGCBRepoSource.Builder setRefBytes(ByteString value)Optional. Branch or tag to use when cloning the repository.
string ref = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for ref to set. |
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
This builder for chaining. |
setRepository(String value)
public SkaffoldModules.SkaffoldGCBRepoSource.Builder setRepository(String value)Required. Name of the Cloud Build V2 Repository. Format is projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe repository to set. |
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
This builder for chaining. |
setRepositoryBytes(ByteString value)
public SkaffoldModules.SkaffoldGCBRepoSource.Builder setRepositoryBytes(ByteString value)Required. Name of the Cloud Build V2 Repository. Format is projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for repository to set. |
| Returns | |
|---|---|
| Type | Description |
SkaffoldModules.SkaffoldGCBRepoSource.Builder |
This builder for chaining. |