Class AgentInterface.Builder (0.27.0)

public static final class AgentInterface.Builder extends GeneratedMessage.Builder<AgentInterface.Builder> implements AgentInterfaceOrBuilder

Defines additional transport information for the agent.

Protobuf type google.cloud.geminidataanalytics.v1beta.AgentInterface

Static Methods

getDescriptor()

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

Methods

build()

public AgentInterface build()
Returns
Type Description
AgentInterface

buildPartial()

public AgentInterface buildPartial()
Returns
Type Description
AgentInterface

clear()

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

clearTenant()

public AgentInterface.Builder clearTenant()

Optional. Tenant to be set in the request when calling the agent.

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

Returns
Type Description
AgentInterface.Builder

This builder for chaining.

clearTransport()

public AgentInterface.Builder clearTransport()

Optional. The transport supported at this url.

string transport = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentInterface.Builder

This builder for chaining.

clearUrl()

public AgentInterface.Builder clearUrl()

Optional. The url this interface is found at.

string url = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentInterface.Builder

This builder for chaining.

getDefaultInstanceForType()

public AgentInterface getDefaultInstanceForType()
Returns
Type Description
AgentInterface

getDescriptorForType()

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

getTenant()

public String getTenant()

Optional. Tenant to be set in the request when calling the agent.

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

Returns
Type Description
String

The tenant.

getTenantBytes()

public ByteString getTenantBytes()

Optional. Tenant to be set in the request when calling the agent.

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

Returns
Type Description
ByteString

The bytes for tenant.

getTransport()

public String getTransport()

Optional. The transport supported at this url.

string transport = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The transport.

getTransportBytes()

public ByteString getTransportBytes()

Optional. The transport supported at this url.

string transport = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for transport.

getUrl()

public String getUrl()

Optional. The url this interface is found at.

string url = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Optional. The url this interface is found at.

string url = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for url.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AgentInterface other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setTenant(String value)

public AgentInterface.Builder setTenant(String value)

Optional. Tenant to be set in the request when calling the agent.

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

Parameter
Name Description
value String

The tenant to set.

Returns
Type Description
AgentInterface.Builder

This builder for chaining.

setTenantBytes(ByteString value)

public AgentInterface.Builder setTenantBytes(ByteString value)

Optional. Tenant to be set in the request when calling the agent.

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

Parameter
Name Description
value ByteString

The bytes for tenant to set.

Returns
Type Description
AgentInterface.Builder

This builder for chaining.

setTransport(String value)

public AgentInterface.Builder setTransport(String value)

Optional. The transport supported at this url.

string transport = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The transport to set.

Returns
Type Description
AgentInterface.Builder

This builder for chaining.

setTransportBytes(ByteString value)

public AgentInterface.Builder setTransportBytes(ByteString value)

Optional. The transport supported at this url.

string transport = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for transport to set.

Returns
Type Description
AgentInterface.Builder

This builder for chaining.

setUrl(String value)

public AgentInterface.Builder setUrl(String value)

Optional. The url this interface is found at.

string url = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The url to set.

Returns
Type Description
AgentInterface.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public AgentInterface.Builder setUrlBytes(ByteString value)

Optional. The url this interface is found at.

string url = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
AgentInterface.Builder

This builder for chaining.