Class GetPublicDelegatedPrefixeRequest.Builder (1.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetPublicDelegatedPrefixeRequest build()
Returns
TypeDescription
GetPublicDelegatedPrefixeRequest

buildPartial()

public GetPublicDelegatedPrefixeRequest buildPartial()
Returns
TypeDescription
GetPublicDelegatedPrefixeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetPublicDelegatedPrefixeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetPublicDelegatedPrefixeRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetPublicDelegatedPrefixeRequest.Builder clearProject()

Project ID for this request.

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

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetPublicDelegatedPrefixeRequest getDefaultInstanceForType()
Returns
TypeDescription
GetPublicDelegatedPrefixeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getPublicDelegatedPrefix()

public String getPublicDelegatedPrefix()

Name of the PublicDelegatedPrefix resource to return.

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

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

The region.

getRegionBytes()

public ByteString getRegionBytes()

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

public GetPublicDelegatedPrefixeRequest.Builder mergeFrom(GetPublicDelegatedPrefixeRequest other)
Parameter
NameDescription
otherGetPublicDelegatedPrefixeRequest
Returns
TypeDescription
GetPublicDelegatedPrefixeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

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

The publicDelegatedPrefix to set.

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

The bytes for publicDelegatedPrefix to set.

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

The region to set.

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

The bytes for region to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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