Class GetPublicDelegatedPrefixeRequest.Builder (1.55.0)

public static final class GetPublicDelegatedPrefixeRequest.Builder extends GeneratedMessageV3.Builder<GetPublicDelegatedPrefixeRequest.Builder> implements GetPublicDelegatedPrefixeRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetPublicDelegatedPrefixeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetPublicDelegatedPrefixeRequest build()
Returns
Type Description
GetPublicDelegatedPrefixeRequest

buildPartial()

public GetPublicDelegatedPrefixeRequest buildPartial()
Returns
Type Description
GetPublicDelegatedPrefixeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetPublicDelegatedPrefixeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetPublicDelegatedPrefixeRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetPublicDelegatedPrefixeRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

clearPublicDelegatedPrefix()

public GetPublicDelegatedPrefixeRequest.Builder clearPublicDelegatedPrefix()

Name of the PublicDelegatedPrefix resource to return.

string public_delegated_prefix = 204238440 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

clearRegion()

public GetPublicDelegatedPrefixeRequest.Builder clearRegion()

Name of the region of this request.

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

Returns
Type Description
GetPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetPublicDelegatedPrefixeRequest getDefaultInstanceForType()
Returns
Type Description
GetPublicDelegatedPrefixeRequest

getDescriptorForType()

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

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.

getPublicDelegatedPrefix()

public String getPublicDelegatedPrefix()

Name of the PublicDelegatedPrefix resource to return.

string public_delegated_prefix = 204238440 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The publicDelegatedPrefix.

getPublicDelegatedPrefixBytes()

public ByteString getPublicDelegatedPrefixBytes()

Name of the PublicDelegatedPrefix resource to return.

string public_delegated_prefix = 204238440 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for publicDelegatedPrefix.

getRegion()

public String getRegion()

Name of the region of this request.

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

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region of 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(GetPublicDelegatedPrefixeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public GetPublicDelegatedPrefixeRequest.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
GetPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetPublicDelegatedPrefixeRequest.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
GetPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

setPublicDelegatedPrefix(String value)

public GetPublicDelegatedPrefixeRequest.Builder setPublicDelegatedPrefix(String value)

Name of the PublicDelegatedPrefix resource to return.

string public_delegated_prefix = 204238440 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The publicDelegatedPrefix to set.

Returns
Type Description
GetPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

setPublicDelegatedPrefixBytes(ByteString value)

public GetPublicDelegatedPrefixeRequest.Builder setPublicDelegatedPrefixBytes(ByteString value)

Name of the PublicDelegatedPrefix resource to return.

string public_delegated_prefix = 204238440 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for publicDelegatedPrefix to set.

Returns
Type Description
GetPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

setRegion(String value)

public GetPublicDelegatedPrefixeRequest.Builder setRegion(String value)

Name of the region of this request.

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

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetPublicDelegatedPrefixeRequest.Builder setRegionBytes(ByteString value)

Name of the region of this request.

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

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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