Class SkaffoldModules.SkaffoldGCBRepoSource.Builder (1.49.0)

public static final class SkaffoldModules.SkaffoldGCBRepoSource.Builder extends GeneratedMessageV3.Builder<SkaffoldModules.SkaffoldGCBRepoSource.Builder> implements SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder

Cloud Build V2 Repository containing Skaffold Configs.

Protobuf type google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldModules.SkaffoldGCBRepoSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public SkaffoldModules.SkaffoldGCBRepoSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SkaffoldModules.SkaffoldGCBRepoSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder
Overrides

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.

clone()

public SkaffoldModules.SkaffoldGCBRepoSource.Builder clone()
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder
Overrides

getDefaultInstanceForType()

public SkaffoldModules.SkaffoldGCBRepoSource getDefaultInstanceForType()
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldModules.SkaffoldGCBRepoSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldModules.SkaffoldGCBRepoSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for ref to set.

Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SkaffoldModules.SkaffoldGCBRepoSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder
Overrides

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 String

The 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 ByteString

The bytes for repository to set.

Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldModules.SkaffoldGCBRepoSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder
Overrides