Class GetOrganizationEventRequest.Builder (0.9.0)

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

Protobuf type google.cloud.servicehealth.v1.GetOrganizationEventRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public GetOrganizationEventRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetOrganizationEventRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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