public static final class HttpEndpoint.Builder extends GeneratedMessage.Builder<HttpEndpoint.Builder> implements HttpEndpointOrBuilderRepresents a HTTP endpoint destination.
Protobuf type google.cloud.eventarc.v1.HttpEndpoint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HttpEndpoint.BuilderImplements
HttpEndpointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HttpEndpoint build()| Returns | |
|---|---|
| Type | Description |
HttpEndpoint |
|
buildPartial()
public HttpEndpoint buildPartial()| Returns | |
|---|---|
| Type | Description |
HttpEndpoint |
|
clear()
public HttpEndpoint.Builder clear()| Returns | |
|---|---|
| Type | Description |
HttpEndpoint.Builder |
|
clearUri()
public HttpEndpoint.Builder clearUri()Required. The URI of the HTTP endpoint.
The value must be a RFC2396 URI string.
Examples: http://10.10.10.8:80/route,
http://svc.us-central1.p.local:8080/.
Only HTTP and HTTPS protocols are supported. The host can be either a
static IP addressable from the VPC specified by the network config, or
an internal DNS hostname of the service resolvable via Cloud DNS.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
HttpEndpoint.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public HttpEndpoint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HttpEndpoint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUri()
public String getUri()Required. The URI of the HTTP endpoint.
The value must be a RFC2396 URI string.
Examples: http://10.10.10.8:80/route,
http://svc.us-central1.p.local:8080/.
Only HTTP and HTTPS protocols are supported. The host can be either a
static IP addressable from the VPC specified by the network config, or
an internal DNS hostname of the service resolvable via Cloud DNS.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()Required. The URI of the HTTP endpoint.
The value must be a RFC2396 URI string.
Examples: http://10.10.10.8:80/route,
http://svc.us-central1.p.local:8080/.
Only HTTP and HTTPS protocols are supported. The host can be either a
static IP addressable from the VPC specified by the network config, or
an internal DNS hostname of the service resolvable via Cloud DNS.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(HttpEndpoint other)
public HttpEndpoint.Builder mergeFrom(HttpEndpoint other)| Parameter | |
|---|---|
| Name | Description |
other |
HttpEndpoint |
| Returns | |
|---|---|
| Type | Description |
HttpEndpoint.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HttpEndpoint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HttpEndpoint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HttpEndpoint.Builder |
|
setUri(String value)
public HttpEndpoint.Builder setUri(String value)Required. The URI of the HTTP endpoint.
The value must be a RFC2396 URI string.
Examples: http://10.10.10.8:80/route,
http://svc.us-central1.p.local:8080/.
Only HTTP and HTTPS protocols are supported. The host can be either a
static IP addressable from the VPC specified by the network config, or
an internal DNS hostname of the service resolvable via Cloud DNS.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
HttpEndpoint.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public HttpEndpoint.Builder setUriBytes(ByteString value)Required. The URI of the HTTP endpoint.
The value must be a RFC2396 URI string.
Examples: http://10.10.10.8:80/route,
http://svc.us-central1.p.local:8080/.
Only HTTP and HTTPS protocols are supported. The host can be either a
static IP addressable from the VPC specified by the network config, or
an internal DNS hostname of the service resolvable via Cloud DNS.
string uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
HttpEndpoint.Builder |
This builder for chaining. |