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