Class GetRegionNotificationEndpointRequest.Builder (1.93.0)

public static final class GetRegionNotificationEndpointRequest.Builder extends GeneratedMessage.Builder<GetRegionNotificationEndpointRequest.Builder> implements GetRegionNotificationEndpointRequestOrBuilder

A request message for RegionNotificationEndpoints.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetRegionNotificationEndpointRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetRegionNotificationEndpointRequest build()
Returns
Type Description
GetRegionNotificationEndpointRequest

buildPartial()

public GetRegionNotificationEndpointRequest buildPartial()
Returns
Type Description
GetRegionNotificationEndpointRequest

clear()

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

clearNotificationEndpoint()

public GetRegionNotificationEndpointRequest.Builder clearNotificationEndpoint()

Name of the NotificationEndpoint resource to return.

string notification_endpoint = 376807017 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.

clearProject()

public GetRegionNotificationEndpointRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionNotificationEndpointRequest.Builder clearRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetRegionNotificationEndpointRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionNotificationEndpointRequest

getDescriptorForType()

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

getNotificationEndpoint()

public String getNotificationEndpoint()

Name of the NotificationEndpoint resource to return.

string notification_endpoint = 376807017 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The notificationEndpoint.

getNotificationEndpointBytes()

public ByteString getNotificationEndpointBytes()

Name of the NotificationEndpoint resource to return.

string notification_endpoint = 376807017 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for notificationEndpoint.

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getRegion()

public String getRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetRegionNotificationEndpointRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setNotificationEndpoint(String value)

public GetRegionNotificationEndpointRequest.Builder setNotificationEndpoint(String value)

Name of the NotificationEndpoint resource to return.

string notification_endpoint = 376807017 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The notificationEndpoint to set.

Returns
Type Description
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.

setNotificationEndpointBytes(ByteString value)

public GetRegionNotificationEndpointRequest.Builder setNotificationEndpointBytes(ByteString value)

Name of the NotificationEndpoint resource to return.

string notification_endpoint = 376807017 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for notificationEndpoint to set.

Returns
Type Description
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.

setProject(String value)

public GetRegionNotificationEndpointRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetRegionNotificationEndpointRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.

setRegion(String value)

public GetRegionNotificationEndpointRequest.Builder setRegion(String value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionNotificationEndpointRequest.Builder setRegionBytes(ByteString value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.