Class Binding.Source.Builder (0.2.0)

public static final class Binding.Source.Builder extends GeneratedMessage.Builder<Binding.Source.Builder> implements Binding.SourceOrBuilder

The source of the Binding.

Protobuf type google.cloud.agentregistry.v1.Binding.Source

Static Methods

getDescriptor()

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

Methods

build()

public Binding.Source build()
Returns
Type Description
Binding.Source

buildPartial()

public Binding.Source buildPartial()
Returns
Type Description
Binding.Source

clear()

public Binding.Source.Builder clear()
Returns
Type Description
Binding.Source.Builder
Overrides

clearIdentifier()

public Binding.Source.Builder clearIdentifier()

The identifier of the source Agent. Format:

  • urn:agent:{publisher}:{namespace}:{name}

string identifier = 1;

Returns
Type Description
Binding.Source.Builder

This builder for chaining.

clearSourceType()

public Binding.Source.Builder clearSourceType()
Returns
Type Description
Binding.Source.Builder

getDefaultInstanceForType()

public Binding.Source getDefaultInstanceForType()
Returns
Type Description
Binding.Source

getDescriptorForType()

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

getIdentifier()

public String getIdentifier()

The identifier of the source Agent. Format:

  • urn:agent:{publisher}:{namespace}:{name}

string identifier = 1;

Returns
Type Description
String

The identifier.

getIdentifierBytes()

public ByteString getIdentifierBytes()

The identifier of the source Agent. Format:

  • urn:agent:{publisher}:{namespace}:{name}

string identifier = 1;

Returns
Type Description
ByteString

The bytes for identifier.

getSourceTypeCase()

public Binding.Source.SourceTypeCase getSourceTypeCase()
Returns
Type Description
Binding.Source.SourceTypeCase

hasIdentifier()

public boolean hasIdentifier()

The identifier of the source Agent. Format:

  • urn:agent:{publisher}:{namespace}:{name}

string identifier = 1;

Returns
Type Description
boolean

Whether the identifier field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Binding.Source other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setIdentifier(String value)

public Binding.Source.Builder setIdentifier(String value)

The identifier of the source Agent. Format:

  • urn:agent:{publisher}:{namespace}:{name}

string identifier = 1;

Parameter
Name Description
value String

The identifier to set.

Returns
Type Description
Binding.Source.Builder

This builder for chaining.

setIdentifierBytes(ByteString value)

public Binding.Source.Builder setIdentifierBytes(ByteString value)

The identifier of the source Agent. Format:

  • urn:agent:{publisher}:{namespace}:{name}

string identifier = 1;

Parameter
Name Description
value ByteString

The bytes for identifier to set.

Returns
Type Description
Binding.Source.Builder

This builder for chaining.