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