Class Repository.URIs.Builder (0.22.0)

public static final class Repository.URIs.Builder extends GeneratedMessageV3.Builder<Repository.URIs.Builder> implements Repository.URIsOrBuilder

URIs for the repository.

Protobuf type google.cloud.securesourcemanager.v1.Repository.URIs

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Repository.URIs build()
Returns
Type Description
Repository.URIs

buildPartial()

public Repository.URIs buildPartial()
Returns
Type Description
Repository.URIs

clear()

public Repository.URIs.Builder clear()
Returns
Type Description
Repository.URIs.Builder
Overrides

clearApi()

public Repository.URIs.Builder clearApi()

Output only. API is the URI for API access.

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

Returns
Type Description
Repository.URIs.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGitHttps()

public Repository.URIs.Builder clearGitHttps()

Output only. git_https is the git HTTPS URI for git operations.

string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Repository.URIs.Builder

This builder for chaining.

clearHtml()

public Repository.URIs.Builder clearHtml()

Output only. HTML is the URI for user to view the repository in a browser.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Repository.URIs.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Repository.URIs.Builder clone()
Returns
Type Description
Repository.URIs.Builder
Overrides

getApi()

public String getApi()

Output only. API is the URI for API access.

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

Returns
Type Description
String

The api.

getApiBytes()

public ByteString getApiBytes()

Output only. API is the URI for API access.

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

Returns
Type Description
ByteString

The bytes for api.

getDefaultInstanceForType()

public Repository.URIs getDefaultInstanceForType()
Returns
Type Description
Repository.URIs

getDescriptorForType()

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

getGitHttps()

public String getGitHttps()

Output only. git_https is the git HTTPS URI for git operations.

string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The gitHttps.

getGitHttpsBytes()

public ByteString getGitHttpsBytes()

Output only. git_https is the git HTTPS URI for git operations.

string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for gitHttps.

getHtml()

public String getHtml()

Output only. HTML is the URI for user to view the repository in a browser.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The html.

getHtmlBytes()

public ByteString getHtmlBytes()

Output only. HTML is the URI for user to view the repository in a browser.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for html.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Repository.URIs other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setApi(String value)

public Repository.URIs.Builder setApi(String value)

Output only. API is the URI for API access.

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

Parameter
Name Description
value String

The api to set.

Returns
Type Description
Repository.URIs.Builder

This builder for chaining.

setApiBytes(ByteString value)

public Repository.URIs.Builder setApiBytes(ByteString value)

Output only. API is the URI for API access.

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

Parameter
Name Description
value ByteString

The bytes for api to set.

Returns
Type Description
Repository.URIs.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGitHttps(String value)

public Repository.URIs.Builder setGitHttps(String value)

Output only. git_https is the git HTTPS URI for git operations.

string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The gitHttps to set.

Returns
Type Description
Repository.URIs.Builder

This builder for chaining.

setGitHttpsBytes(ByteString value)

public Repository.URIs.Builder setGitHttpsBytes(ByteString value)

Output only. git_https is the git HTTPS URI for git operations.

string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for gitHttps to set.

Returns
Type Description
Repository.URIs.Builder

This builder for chaining.

setHtml(String value)

public Repository.URIs.Builder setHtml(String value)

Output only. HTML is the URI for user to view the repository in a browser.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The html to set.

Returns
Type Description
Repository.URIs.Builder

This builder for chaining.

setHtmlBytes(ByteString value)

public Repository.URIs.Builder setHtmlBytes(ByteString value)

Output only. HTML is the URI for user to view the repository in a browser.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for html to set.

Returns
Type Description
Repository.URIs.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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