Class ScopeEventData.Builder (0.14.1)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScopeEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ScopeEventData.Builder
Overrides

build()

public ScopeEventData build()
Returns
TypeDescription
ScopeEventData

buildPartial()

public ScopeEventData buildPartial()
Returns
TypeDescription
ScopeEventData

clear()

public ScopeEventData.Builder clear()
Returns
TypeDescription
ScopeEventData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ScopeEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ScopeEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ScopeEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ScopeEventData.Builder
Overrides

clearPayload()

public ScopeEventData.Builder clearPayload()

Optional. The Scope event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Scope payload = 1;

Returns
TypeDescription
ScopeEventData.Builder

clone()

public ScopeEventData.Builder clone()
Returns
TypeDescription
ScopeEventData.Builder
Overrides

getDefaultInstanceForType()

public ScopeEventData getDefaultInstanceForType()
Returns
TypeDescription
ScopeEventData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPayload()

public Scope getPayload()

Optional. The Scope event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Scope payload = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ScopeOrBuilder

hasPayload()

public boolean hasPayload()

Optional. The Scope event payload. Unset for deletion events.

optional .google.events.cloud.gkehub.v1.Scope payload = 1;

Returns
TypeDescription
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ScopeEventData other)

public ScopeEventData.Builder mergeFrom(ScopeEventData other)
Parameter
NameDescription
otherScopeEventData
Returns
TypeDescription
ScopeEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScopeEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScopeEventData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ScopeEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ScopeEventData.Builder
Overrides

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
NameDescription
valueScope
Returns
TypeDescription
ScopeEventData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScopeEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ScopeEventData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ScopeEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ScopeEventData.Builder
Overrides

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
NameDescription
valueScope
Returns
TypeDescription
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
NameDescription
builderForValueScope.Builder
Returns
TypeDescription
ScopeEventData.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ScopeEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ScopeEventData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ScopeEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ScopeEventData.Builder
Overrides