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