Class Repository.URIs.Builder (0.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Repository.URIs build()
Returns
TypeDescription
Repository.URIs

buildPartial()

public Repository.URIs buildPartial()
Returns
TypeDescription
Repository.URIs

clear()

public Repository.URIs.Builder clear()
Returns
TypeDescription
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
TypeDescription
Repository.URIs.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Repository.URIs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Repository.URIs.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Repository.URIs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Repository.URIs.Builder
Overrides

clone()

public Repository.URIs.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for api.

getDefaultInstanceForType()

public Repository.URIs getDefaultInstanceForType()
Returns
TypeDescription
Repository.URIs

getDescriptorForType()

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

The bytes for html.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Repository.URIs other)

public Repository.URIs.Builder mergeFrom(Repository.URIs other)
Parameter
NameDescription
otherRepository.URIs
Returns
TypeDescription
Repository.URIs.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Repository.URIs.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Repository.URIs.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Repository.URIs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The api to set.

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

The bytes for api to set.

Returns
TypeDescription
Repository.URIs.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The gitHttps to set.

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

The bytes for gitHttps to set.

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

The html to set.

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

The bytes for html to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Repository.URIs.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Repository.URIs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Repository.URIs.Builder
Overrides