Class GetOrganizationEventRequest.Builder (0.50.0)

public static final class GetOrganizationEventRequest.Builder extends GeneratedMessage.Builder<GetOrganizationEventRequest.Builder> implements GetOrganizationEventRequestOrBuilder

Gets information about a specific event affecting an organization.

Protobuf type google.cloud.servicehealth.v1.GetOrganizationEventRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetOrganizationEventRequest build()
Returns
Type Description
GetOrganizationEventRequest

buildPartial()

public GetOrganizationEventRequest buildPartial()
Returns
Type Description
GetOrganizationEventRequest

clear()

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

clearName()

public GetOrganizationEventRequest.Builder clearName()

Required. Unique name of the event in this scope including organization and event ID using the form organizations/{organization_id}/locations/locations/global/organizationEvents/{event_id}.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource ID.<br> event_id - Organization event ID to retrieve.

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

Returns
Type Description
GetOrganizationEventRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetOrganizationEventRequest getDefaultInstanceForType()
Returns
Type Description
GetOrganizationEventRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Unique name of the event in this scope including organization and event ID using the form organizations/{organization_id}/locations/locations/global/organizationEvents/{event_id}.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource ID.<br> event_id - Organization event ID to retrieve.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Unique name of the event in this scope including organization and event ID using the form organizations/{organization_id}/locations/locations/global/organizationEvents/{event_id}.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource ID.<br> event_id - Organization event ID to retrieve.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetOrganizationEventRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetOrganizationEventRequest.Builder setName(String value)

Required. Unique name of the event in this scope including organization and event ID using the form organizations/{organization_id}/locations/locations/global/organizationEvents/{event_id}.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource ID.<br> event_id - Organization event ID to retrieve.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetOrganizationEventRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetOrganizationEventRequest.Builder setNameBytes(ByteString value)

Required. Unique name of the event in this scope including organization and event ID using the form organizations/{organization_id}/locations/locations/global/organizationEvents/{event_id}.

organization_id - ID (number) of the project that contains the event. To get your organization_id, see Getting your organization resource ID.<br> event_id - Organization event ID to retrieve.

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
GetOrganizationEventRequest.Builder

This builder for chaining.