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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GrpcRouteEventData.BuilderImplements
GrpcRouteEventDataOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public GrpcRouteEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GrpcRouteEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GrpcRouteEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GrpcRouteEventData.Builder |
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 |
getDefaultInstanceForType()
public GrpcRouteEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GrpcRouteEventData |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GrpcRouteEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GrpcRouteEventData.Builder |
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 |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final GrpcRouteEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GrpcRouteEventData.Builder |