Class GrpcRouteEventData.Builder (0.15.0)

public static final class GrpcRouteEventData.Builder extends GeneratedMessageV3.Builder<GrpcRouteEventData.Builder> implements GrpcRouteEventDataOrBuilder

The data within all GrpcRoute events.

Protobuf type google.events.cloud.networkservices.v1.GrpcRouteEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GrpcRouteEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GrpcRouteEventData.Builder
Overrides

build()

public GrpcRouteEventData build()
Returns
Type Description
GrpcRouteEventData

buildPartial()

public GrpcRouteEventData buildPartial()
Returns
Type Description
GrpcRouteEventData

clear()

public GrpcRouteEventData.Builder clear()
Returns
Type Description
GrpcRouteEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GrpcRouteEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GrpcRouteEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GrpcRouteEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GrpcRouteEventData.Builder
Overrides

clearPayload()

public GrpcRouteEventData.Builder clearPayload()

Optional. The GrpcRoute event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.GrpcRoute payload = 1;

Returns
Type Description
GrpcRouteEventData.Builder

clone()

public GrpcRouteEventData.Builder clone()
Returns
Type Description
GrpcRouteEventData.Builder
Overrides

getDefaultInstanceForType()

public GrpcRouteEventData getDefaultInstanceForType()
Returns
Type Description
GrpcRouteEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPayload()

public GrpcRoute getPayload()

Optional. The GrpcRoute event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.GrpcRoute payload = 1;

Returns
Type Description
GrpcRoute

The payload.

getPayloadBuilder()

public GrpcRoute.Builder getPayloadBuilder()

Optional. The GrpcRoute event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.GrpcRoute payload = 1;

Returns
Type Description
GrpcRoute.Builder

getPayloadOrBuilder()

public GrpcRouteOrBuilder getPayloadOrBuilder()

Optional. The GrpcRoute event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.GrpcRoute payload = 1;

Returns
Type Description
GrpcRouteOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The GrpcRoute event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.GrpcRoute payload = 1;

Returns
Type Description
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GrpcRouteEventData other)

public GrpcRouteEventData.Builder mergeFrom(GrpcRouteEventData other)
Parameter
Name Description
other GrpcRouteEventData
Returns
Type Description
GrpcRouteEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GrpcRouteEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GrpcRouteEventData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GrpcRouteEventData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GrpcRouteEventData.Builder
Overrides

mergePayload(GrpcRoute value)

public GrpcRouteEventData.Builder mergePayload(GrpcRoute value)

Optional. The GrpcRoute event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.GrpcRoute payload = 1;

Parameter
Name Description
value GrpcRoute
Returns
Type Description
GrpcRouteEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GrpcRouteEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GrpcRouteEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GrpcRouteEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GrpcRouteEventData.Builder
Overrides

setPayload(GrpcRoute value)

public GrpcRouteEventData.Builder setPayload(GrpcRoute value)

Optional. The GrpcRoute event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.GrpcRoute payload = 1;

Parameter
Name Description
value GrpcRoute
Returns
Type Description
GrpcRouteEventData.Builder

setPayload(GrpcRoute.Builder builderForValue)

public GrpcRouteEventData.Builder setPayload(GrpcRoute.Builder builderForValue)

Optional. The GrpcRoute event payload. Unset for deletion events.

optional .google.events.cloud.networkservices.v1.GrpcRoute payload = 1;

Parameter
Name Description
builderForValue GrpcRoute.Builder
Returns
Type Description
GrpcRouteEventData.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GrpcRouteEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GrpcRouteEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GrpcRouteEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GrpcRouteEventData.Builder
Overrides