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