public static final class AgentInterface.Builder extends GeneratedMessage.Builder<AgentInterface.Builder> implements AgentInterfaceOrBuilderDefines additional transport information for the agent.
Protobuf type google.cloud.geminidataanalytics.v1beta.AgentInterface
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentInterface.BuilderImplements
AgentInterfaceOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentInterface.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentInterface.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
AgentInterface.Builder |
This builder for chaining. |