public static final class HttpRouteEventData.Builder extends GeneratedMessageV3.Builder<HttpRouteEventData.Builder> implements HttpRouteEventDataOrBuilder
The data within all HttpRoute events.
Protobuf type google.events.cloud.networkservices.v1.HttpRouteEventData
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HttpRouteEventData.BuilderImplements
HttpRouteEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HttpRouteEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
build()
public HttpRouteEventData build()
Returns | |
---|---|
Type | Description |
HttpRouteEventData |
buildPartial()
public HttpRouteEventData buildPartial()
Returns | |
---|---|
Type | Description |
HttpRouteEventData |
clear()
public HttpRouteEventData.Builder clear()
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
clearField(Descriptors.FieldDescriptor field)
public HttpRouteEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public HttpRouteEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
clearPayload()
public HttpRouteEventData.Builder clearPayload()
Optional. The HttpRoute event payload. Unset for deletion events.
optional .google.events.cloud.networkservices.v1.HttpRoute payload = 1;
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
clone()
public HttpRouteEventData.Builder clone()
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
getDefaultInstanceForType()
public HttpRouteEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
HttpRouteEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPayload()
public HttpRoute getPayload()
Optional. The HttpRoute event payload. Unset for deletion events.
optional .google.events.cloud.networkservices.v1.HttpRoute payload = 1;
Returns | |
---|---|
Type | Description |
HttpRoute |
The payload. |
getPayloadBuilder()
public HttpRoute.Builder getPayloadBuilder()
Optional. The HttpRoute event payload. Unset for deletion events.
optional .google.events.cloud.networkservices.v1.HttpRoute payload = 1;
Returns | |
---|---|
Type | Description |
HttpRoute.Builder |
getPayloadOrBuilder()
public HttpRouteOrBuilder getPayloadOrBuilder()
Optional. The HttpRoute event payload. Unset for deletion events.
optional .google.events.cloud.networkservices.v1.HttpRoute payload = 1;
Returns | |
---|---|
Type | Description |
HttpRouteOrBuilder |
hasPayload()
public boolean hasPayload()
Optional. The HttpRoute event payload. Unset for deletion events.
optional .google.events.cloud.networkservices.v1.HttpRoute payload = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the payload field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(HttpRouteEventData other)
public HttpRouteEventData.Builder mergeFrom(HttpRouteEventData other)
Parameter | |
---|---|
Name | Description |
other |
HttpRouteEventData |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HttpRouteEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public HttpRouteEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
mergePayload(HttpRoute value)
public HttpRouteEventData.Builder mergePayload(HttpRoute value)
Optional. The HttpRoute event payload. Unset for deletion events.
optional .google.events.cloud.networkservices.v1.HttpRoute payload = 1;
Parameter | |
---|---|
Name | Description |
value |
HttpRoute |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HttpRouteEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HttpRouteEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
setPayload(HttpRoute value)
public HttpRouteEventData.Builder setPayload(HttpRoute value)
Optional. The HttpRoute event payload. Unset for deletion events.
optional .google.events.cloud.networkservices.v1.HttpRoute payload = 1;
Parameter | |
---|---|
Name | Description |
value |
HttpRoute |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
setPayload(HttpRoute.Builder builderForValue)
public HttpRouteEventData.Builder setPayload(HttpRoute.Builder builderForValue)
Optional. The HttpRoute event payload. Unset for deletion events.
optional .google.events.cloud.networkservices.v1.HttpRoute payload = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
HttpRoute.Builder |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HttpRouteEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final HttpRouteEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
HttpRouteEventData.Builder |