Class GetRegionNotificationEndpointRequest.Builder (1.58.0)

public static final class GetRegionNotificationEndpointRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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