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