Class LinkableGitRepository.Builder (0.1.0)

public static final class LinkableGitRepository.Builder extends GeneratedMessageV3.Builder<LinkableGitRepository.Builder> implements LinkableGitRepositoryOrBuilder

LinkableGitRepository represents a git repository that can be linked to a connection.

Protobuf type google.cloud.developerconnect.v1.LinkableGitRepository

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LinkableGitRepository build()
Returns
Type Description
LinkableGitRepository

buildPartial()

public LinkableGitRepository buildPartial()
Returns
Type Description
LinkableGitRepository

clear()

public LinkableGitRepository.Builder clear()
Returns
Type Description
LinkableGitRepository.Builder
Overrides

clearCloneUri()

public LinkableGitRepository.Builder clearCloneUri()

The clone uri of the repository.

string clone_uri = 1;

Returns
Type Description
LinkableGitRepository.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public LinkableGitRepository.Builder clone()
Returns
Type Description
LinkableGitRepository.Builder
Overrides

getCloneUri()

public String getCloneUri()

The clone uri of the repository.

string clone_uri = 1;

Returns
Type Description
String

The cloneUri.

getCloneUriBytes()

public ByteString getCloneUriBytes()

The clone uri of the repository.

string clone_uri = 1;

Returns
Type Description
ByteString

The bytes for cloneUri.

getDefaultInstanceForType()

public LinkableGitRepository getDefaultInstanceForType()
Returns
Type Description
LinkableGitRepository

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LinkableGitRepository other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCloneUri(String value)

public LinkableGitRepository.Builder setCloneUri(String value)

The clone uri of the repository.

string clone_uri = 1;

Parameter
Name Description
value String

The cloneUri to set.

Returns
Type Description
LinkableGitRepository.Builder

This builder for chaining.

setCloneUriBytes(ByteString value)

public LinkableGitRepository.Builder setCloneUriBytes(ByteString value)

The clone uri of the repository.

string clone_uri = 1;

Parameter
Name Description
value ByteString

The bytes for cloneUri to set.

Returns
Type Description
LinkableGitRepository.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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