Class SkaffoldModules.SkaffoldGitSource.Builder (1.43.0)

public static final class SkaffoldModules.SkaffoldGitSource.Builder extends GeneratedMessageV3.Builder<SkaffoldModules.SkaffoldGitSource.Builder> implements SkaffoldModules.SkaffoldGitSourceOrBuilder

Git repository containing Skaffold Config modules.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SkaffoldModules.SkaffoldGitSource build()
Returns
Type Description
SkaffoldModules.SkaffoldGitSource

buildPartial()

public SkaffoldModules.SkaffoldGitSource buildPartial()
Returns
Type Description
SkaffoldModules.SkaffoldGitSource

clear()

public SkaffoldModules.SkaffoldGitSource.Builder clear()
Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public SkaffoldModules.SkaffoldGitSource.Builder clearPath()

Optional. Relative path from the repository root to the Skaffold file.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

clearRef()

public SkaffoldModules.SkaffoldGitSource.Builder clearRef()

Optional. Git branch or tag to use when cloning the repository.

string ref = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

clearRepo()

public SkaffoldModules.SkaffoldGitSource.Builder clearRepo()

Required. Git repository the package should be cloned from.

string repo = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPath()

public String getPath()

Optional. Relative path from the repository root to the Skaffold 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 file.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for path.

getRef()

public String getRef()

Optional. Git 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. Git 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.

getRepo()

public String getRepo()

Required. Git repository the package should be cloned from.

string repo = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The repo.

getRepoBytes()

public ByteString getRepoBytes()

Required. Git repository the package should be cloned from.

string repo = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for repo.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SkaffoldModules.SkaffoldGitSource other)

public SkaffoldModules.SkaffoldGitSource.Builder mergeFrom(SkaffoldModules.SkaffoldGitSource other)
Parameter
Name Description
other SkaffoldModules.SkaffoldGitSource
Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SkaffoldModules.SkaffoldGitSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SkaffoldModules.SkaffoldGitSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(String value)

public SkaffoldModules.SkaffoldGitSource.Builder setPath(String value)

Optional. Relative path from the repository root to the Skaffold file.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

setPathBytes(ByteString value)

public SkaffoldModules.SkaffoldGitSource.Builder setPathBytes(ByteString value)

Optional. Relative path from the repository root to the Skaffold file.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

setRef(String value)

public SkaffoldModules.SkaffoldGitSource.Builder setRef(String value)

Optional. Git 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.SkaffoldGitSource.Builder

This builder for chaining.

setRefBytes(ByteString value)

public SkaffoldModules.SkaffoldGitSource.Builder setRefBytes(ByteString value)

Optional. Git 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.SkaffoldGitSource.Builder

This builder for chaining.

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

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

setRepo(String value)

public SkaffoldModules.SkaffoldGitSource.Builder setRepo(String value)

Required. Git repository the package should be cloned from.

string repo = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The repo to set.

Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

setRepoBytes(ByteString value)

public SkaffoldModules.SkaffoldGitSource.Builder setRepoBytes(ByteString value)

Required. Git repository the package should be cloned from.

string repo = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for repo to set.

Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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