Class SkaffoldModules.SkaffoldGitSource.Builder (1.32.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldModules.SkaffoldGitSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder
Overrides

build()

public SkaffoldModules.SkaffoldGitSource build()
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource

buildPartial()

public SkaffoldModules.SkaffoldGitSource buildPartial()
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource

clear()

public SkaffoldModules.SkaffoldGitSource.Builder clear()
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SkaffoldModules.SkaffoldGitSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SkaffoldModules.SkaffoldGitSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

clearRef()

public SkaffoldModules.SkaffoldGitSource.Builder clearRef()

Optional. Git ref the package should be cloned from.

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

Returns
TypeDescription
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
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

clone()

public SkaffoldModules.SkaffoldGitSource.Builder clone()
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder
Overrides

getDefaultInstanceForType()

public SkaffoldModules.SkaffoldGitSource getDefaultInstanceForType()
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for path.

getRef()

public String getRef()

Optional. Git ref the package should be cloned from.

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

Returns
TypeDescription
String

The ref.

getRefBytes()

public ByteString getRefBytes()

Optional. Git ref the package should be cloned from.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for repo.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SkaffoldModules.SkaffoldGitSource other)

public SkaffoldModules.SkaffoldGitSource.Builder mergeFrom(SkaffoldModules.SkaffoldGitSource other)
Parameter
NameDescription
otherSkaffoldModules.SkaffoldGitSource
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SkaffoldModules.SkaffoldGitSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SkaffoldModules.SkaffoldGitSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldModules.SkaffoldGitSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldModules.SkaffoldGitSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The path to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

setRef(String value)

public SkaffoldModules.SkaffoldGitSource.Builder setRef(String value)

Optional. Git ref the package should be cloned from.

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

Parameter
NameDescription
valueString

The ref to set.

Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

setRefBytes(ByteString value)

public SkaffoldModules.SkaffoldGitSource.Builder setRefBytes(ByteString value)

Optional. Git ref the package should be cloned from.

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

Parameter
NameDescription
valueByteString

The bytes for ref to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The repo to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for repo to set.

Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldModules.SkaffoldGitSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource.Builder
Overrides