public static final class HttpEndpoint.Builder extends GeneratedMessageV3.Builder<HttpEndpoint.Builder> implements HttpEndpointOrBuilder
Represents a HTTP endpoint destination.
Protobuf type google.cloud.eventarc.v1.HttpEndpoint
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HttpEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HttpEndpoint build()
buildPartial()
public HttpEndpoint buildPartial()
clear()
public HttpEndpoint.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public HttpEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HttpEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUri()
public HttpEndpoint.Builder clearUri()
Required. The URI of the HTTP enpdoint.
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];
clone()
public HttpEndpoint.Builder clone()
Overrides
getDefaultInstanceForType()
public HttpEndpoint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUri()
Required. The URI of the HTTP enpdoint.
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 enpdoint.
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HttpEndpoint other)
public HttpEndpoint.Builder mergeFrom(HttpEndpoint other)
public HttpEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HttpEndpoint.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HttpEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public HttpEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HttpEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HttpEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUri(String value)
public HttpEndpoint.Builder setUri(String value)
Required. The URI of the HTTP enpdoint.
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 |
String
The uri to set.
|
setUriBytes(ByteString value)
public HttpEndpoint.Builder setUriBytes(ByteString value)
Required. The URI of the HTTP enpdoint.
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 |
ByteString
The bytes for uri to set.
|