Class CreateSupportEventSubscriptionRequest.Builder (0.78.0)

public static final class CreateSupportEventSubscriptionRequest.Builder extends GeneratedMessage.Builder<CreateSupportEventSubscriptionRequest.Builder> implements CreateSupportEventSubscriptionRequestOrBuilder

Request message for CreateSupportEventSubscription.

Protobuf type google.cloud.support.v2beta.CreateSupportEventSubscriptionRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateSupportEventSubscriptionRequest build()
Returns
Type Description
CreateSupportEventSubscriptionRequest

buildPartial()

public CreateSupportEventSubscriptionRequest buildPartial()
Returns
Type Description
CreateSupportEventSubscriptionRequest

clear()

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

clearParent()

public CreateSupportEventSubscriptionRequest.Builder clearParent()

Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id}

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

Returns
Type Description
CreateSupportEventSubscriptionRequest.Builder

This builder for chaining.

clearSupportEventSubscription()

public CreateSupportEventSubscriptionRequest.Builder clearSupportEventSubscription()

Required. The Pub/Sub configuration to create.

.google.cloud.support.v2beta.SupportEventSubscription support_event_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateSupportEventSubscriptionRequest.Builder

getDefaultInstanceForType()

public CreateSupportEventSubscriptionRequest getDefaultInstanceForType()
Returns
Type Description
CreateSupportEventSubscriptionRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id}

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

Returns
Type Description
ByteString

The bytes for parent.

getSupportEventSubscription()

public SupportEventSubscription getSupportEventSubscription()

Required. The Pub/Sub configuration to create.

.google.cloud.support.v2beta.SupportEventSubscription support_event_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SupportEventSubscription

The supportEventSubscription.

getSupportEventSubscriptionBuilder()

public SupportEventSubscription.Builder getSupportEventSubscriptionBuilder()

Required. The Pub/Sub configuration to create.

.google.cloud.support.v2beta.SupportEventSubscription support_event_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SupportEventSubscription.Builder

getSupportEventSubscriptionOrBuilder()

public SupportEventSubscriptionOrBuilder getSupportEventSubscriptionOrBuilder()

Required. The Pub/Sub configuration to create.

.google.cloud.support.v2beta.SupportEventSubscription support_event_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SupportEventSubscriptionOrBuilder

hasSupportEventSubscription()

public boolean hasSupportEventSubscription()

Required. The Pub/Sub configuration to create.

.google.cloud.support.v2beta.SupportEventSubscription support_event_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the supportEventSubscription field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateSupportEventSubscriptionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSupportEventSubscription(SupportEventSubscription value)

public CreateSupportEventSubscriptionRequest.Builder mergeSupportEventSubscription(SupportEventSubscription value)

Required. The Pub/Sub configuration to create.

.google.cloud.support.v2beta.SupportEventSubscription support_event_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SupportEventSubscription
Returns
Type Description
CreateSupportEventSubscriptionRequest.Builder

setParent(String value)

public CreateSupportEventSubscriptionRequest.Builder setParent(String value)

Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateSupportEventSubscriptionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateSupportEventSubscriptionRequest.Builder setParentBytes(ByteString value)

Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id}

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateSupportEventSubscriptionRequest.Builder

This builder for chaining.

setSupportEventSubscription(SupportEventSubscription value)

public CreateSupportEventSubscriptionRequest.Builder setSupportEventSubscription(SupportEventSubscription value)

Required. The Pub/Sub configuration to create.

.google.cloud.support.v2beta.SupportEventSubscription support_event_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SupportEventSubscription
Returns
Type Description
CreateSupportEventSubscriptionRequest.Builder

setSupportEventSubscription(SupportEventSubscription.Builder builderForValue)

public CreateSupportEventSubscriptionRequest.Builder setSupportEventSubscription(SupportEventSubscription.Builder builderForValue)

Required. The Pub/Sub configuration to create.

.google.cloud.support.v2beta.SupportEventSubscription support_event_subscription = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SupportEventSubscription.Builder
Returns
Type Description
CreateSupportEventSubscriptionRequest.Builder