public static final class DestinationConfig.Destination.Builder extends GeneratedMessage.Builder<DestinationConfig.Destination.Builder> implements DestinationConfig.DestinationOrBuilderDefines a target endpoint
Protobuf type google.cloud.discoveryengine.v1.DestinationConfig.Destination
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DestinationConfig.Destination.BuilderImplements
DestinationConfig.DestinationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DestinationConfig.Destination build()| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination |
|
buildPartial()
public DestinationConfig.Destination buildPartial()| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination |
|
clear()
public DestinationConfig.Destination.Builder clear()| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
|
clearDestination()
public DestinationConfig.Destination.Builder clearDestination()| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
|
clearHost()
public DestinationConfig.Destination.Builder clearHost()Publicly routable host.
string host = 1;
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
This builder for chaining. |
clearPort()
public DestinationConfig.Destination.Builder clearPort()Optional. Target port number accepted by the destination.
int32 port = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DestinationConfig.Destination getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestinationCase()
public DestinationConfig.Destination.DestinationCase getDestinationCase()| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.DestinationCase |
|
getHost()
public String getHost()Publicly routable host.
string host = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The host. |
getHostBytes()
public ByteString getHostBytes()Publicly routable host.
string host = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for host. |
getPort()
public int getPort()Optional. Target port number accepted by the destination.
int32 port = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The port. |
hasHost()
public boolean hasHost()Publicly routable host.
string host = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the host field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DestinationConfig.Destination other)
public DestinationConfig.Destination.Builder mergeFrom(DestinationConfig.Destination other)| Parameter | |
|---|---|
| Name | Description |
other |
DestinationConfig.Destination |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DestinationConfig.Destination.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DestinationConfig.Destination.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
|
setHost(String value)
public DestinationConfig.Destination.Builder setHost(String value)Publicly routable host.
string host = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe host to set. |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
This builder for chaining. |
setHostBytes(ByteString value)
public DestinationConfig.Destination.Builder setHostBytes(ByteString value)Publicly routable host.
string host = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for host to set. |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
This builder for chaining. |
setPort(int value)
public DestinationConfig.Destination.Builder setPort(int value)Optional. Target port number accepted by the destination.
int32 port = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe port to set. |
| Returns | |
|---|---|
| Type | Description |
DestinationConfig.Destination.Builder |
This builder for chaining. |