Class GetOrganizationEventRequest.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetOrganizationEventRequest build()
Returns
TypeDescription
GetOrganizationEventRequest

buildPartial()

public GetOrganizationEventRequest buildPartial()
Returns
TypeDescription
GetOrganizationEventRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetOrganizationEventRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetOrganizationEventRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetOrganizationEventRequest getDefaultInstanceForType()
Returns
TypeDescription
GetOrganizationEventRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetOrganizationEventRequest other)

public GetOrganizationEventRequest.Builder mergeFrom(GetOrganizationEventRequest other)
Parameter
NameDescription
otherGetOrganizationEventRequest
Returns
TypeDescription
GetOrganizationEventRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetOrganizationEventRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetOrganizationEventRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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