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