Class GetRegionNotificationEndpointRequest.Builder (1.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionNotificationEndpointRequest build()
Returns
TypeDescription
GetRegionNotificationEndpointRequest

buildPartial()

public GetRegionNotificationEndpointRequest buildPartial()
Returns
TypeDescription
GetRegionNotificationEndpointRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionNotificationEndpointRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
GetRegionNotificationEndpointRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionNotificationEndpointRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionNotificationEndpointRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNotificationEndpoint()

public String getNotificationEndpoint()

Name of the NotificationEndpoint resource to return.

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

Returns
TypeDescription
String

The notificationEndpoint.

getNotificationEndpointBytes()

public ByteString getNotificationEndpointBytes()

Name of the NotificationEndpoint resource to return.

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

Returns
TypeDescription
ByteString

The bytes for notificationEndpoint.

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

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

Returns
TypeDescription
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetRegionNotificationEndpointRequest other)

public GetRegionNotificationEndpointRequest.Builder mergeFrom(GetRegionNotificationEndpointRequest other)
Parameter
NameDescription
otherGetRegionNotificationEndpointRequest
Returns
TypeDescription
GetRegionNotificationEndpointRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The notificationEndpoint to set.

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

The bytes for notificationEndpoint to set.

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

The project to set.

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

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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