Class SkaffoldModules.SkaffoldGCBRepoSource (1.40.0)

public static final class SkaffoldModules.SkaffoldGCBRepoSource extends GeneratedMessageV3 implements SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder

Cloud Build V2 Repository containing Skaffold Configs.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SkaffoldModules.SkaffoldGCBRepoSource

Static Fields

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

REF_FIELD_NUMBER

public static final int REF_FIELD_NUMBER
Field Value
Type Description
int

REPOSITORY_FIELD_NUMBER

public static final int REPOSITORY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SkaffoldModules.SkaffoldGCBRepoSource getDefaultInstance()
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource

getDescriptor()

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

newBuilder()

public static SkaffoldModules.SkaffoldGCBRepoSource.Builder newBuilder()
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder

newBuilder(SkaffoldModules.SkaffoldGCBRepoSource prototype)

public static SkaffoldModules.SkaffoldGCBRepoSource.Builder newBuilder(SkaffoldModules.SkaffoldGCBRepoSource prototype)
Parameter
Name Description
prototype SkaffoldModules.SkaffoldGCBRepoSource
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder

parseDelimitedFrom(InputStream input)

public static SkaffoldModules.SkaffoldGCBRepoSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules.SkaffoldGCBRepoSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules.SkaffoldGCBRepoSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SkaffoldModules.SkaffoldGCBRepoSource> parser()
Returns
Type Description
Parser<SkaffoldGCBRepoSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<SkaffoldModules.SkaffoldGCBRepoSource> getParserForType()
Returns
Type Description
Parser<SkaffoldGCBRepoSource>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SkaffoldModules.SkaffoldGCBRepoSource.Builder newBuilderForType()
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SkaffoldModules.SkaffoldGCBRepoSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SkaffoldModules.SkaffoldGCBRepoSource.Builder toBuilder()
Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException