Class RemoteRepositoryConfig.CommonRemoteRepository.Builder (1.52.0)

public static final class RemoteRepositoryConfig.CommonRemoteRepository.Builder extends GeneratedMessageV3.Builder<RemoteRepositoryConfig.CommonRemoteRepository.Builder> implements RemoteRepositoryConfig.CommonRemoteRepositoryOrBuilder

Common remote repository settings type.

Protobuf type google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoteRepositoryConfig.CommonRemoteRepository build()
Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepository

buildPartial()

public RemoteRepositoryConfig.CommonRemoteRepository buildPartial()
Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepository

clear()

public RemoteRepositoryConfig.CommonRemoteRepository.Builder clear()
Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepository.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public RemoteRepositoryConfig.CommonRemoteRepository.Builder clearUri()

Required. A common public repository base for remote repository.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepository.Builder

This builder for chaining.

clone()

public RemoteRepositoryConfig.CommonRemoteRepository.Builder clone()
Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepository.Builder
Overrides

getDefaultInstanceForType()

public RemoteRepositoryConfig.CommonRemoteRepository getDefaultInstanceForType()
Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepository

getDescriptorForType()

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

getUri()

public String getUri()

Required. A common public repository base for remote repository.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Required. A common public repository base for remote repository.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoteRepositoryConfig.CommonRemoteRepository other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public RemoteRepositoryConfig.CommonRemoteRepository.Builder setUri(String value)

Required. A common public repository base for remote repository.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepository.Builder

This builder for chaining.

setUriBytes(ByteString value)

public RemoteRepositoryConfig.CommonRemoteRepository.Builder setUriBytes(ByteString value)

Required. A common public repository base for remote repository.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepository.Builder

This builder for chaining.