Class ReactivateSubscriptionRequest.Builder (0.10.0)

public static final class ReactivateSubscriptionRequest.Builder extends GeneratedMessageV3.Builder<ReactivateSubscriptionRequest.Builder> implements ReactivateSubscriptionRequestOrBuilder

The request message for SubscriptionsService.ReactivateSubscription.

Protobuf type google.apps.events.subscriptions.v1.ReactivateSubscriptionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReactivateSubscriptionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides

build()

public ReactivateSubscriptionRequest build()
Returns
Type Description
ReactivateSubscriptionRequest

buildPartial()

public ReactivateSubscriptionRequest buildPartial()
Returns
Type Description
ReactivateSubscriptionRequest

clear()

public ReactivateSubscriptionRequest.Builder clear()
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReactivateSubscriptionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides

clearName()

public ReactivateSubscriptionRequest.Builder clearName()

Required. Resource name of the subscription.

Format: subscriptions/{subscription}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ReactivateSubscriptionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReactivateSubscriptionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides

clone()

public ReactivateSubscriptionRequest.Builder clone()
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides

getDefaultInstanceForType()

public ReactivateSubscriptionRequest getDefaultInstanceForType()
Returns
Type Description
ReactivateSubscriptionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the subscription.

Format: subscriptions/{subscription}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the subscription.

Format: subscriptions/{subscription}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReactivateSubscriptionRequest other)

public ReactivateSubscriptionRequest.Builder mergeFrom(ReactivateSubscriptionRequest other)
Parameter
Name Description
other ReactivateSubscriptionRequest
Returns
Type Description
ReactivateSubscriptionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReactivateSubscriptionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReactivateSubscriptionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReactivateSubscriptionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReactivateSubscriptionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides

setName(String value)

public ReactivateSubscriptionRequest.Builder setName(String value)

Required. Resource name of the subscription.

Format: subscriptions/{subscription}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ReactivateSubscriptionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ReactivateSubscriptionRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the subscription.

Format: subscriptions/{subscription}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ReactivateSubscriptionRequest.Builder

This builder for chaining.

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

public ReactivateSubscriptionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReactivateSubscriptionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReactivateSubscriptionRequest.Builder
Overrides