Class GetGlobalPublicDelegatedPrefixeRequest.Builder (1.21.0)

public static final class GetGlobalPublicDelegatedPrefixeRequest.Builder extends GeneratedMessageV3.Builder<GetGlobalPublicDelegatedPrefixeRequest.Builder> implements GetGlobalPublicDelegatedPrefixeRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetGlobalPublicDelegatedPrefixeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetGlobalPublicDelegatedPrefixeRequest build()
Returns
TypeDescription
GetGlobalPublicDelegatedPrefixeRequest

buildPartial()

public GetGlobalPublicDelegatedPrefixeRequest buildPartial()
Returns
TypeDescription
GetGlobalPublicDelegatedPrefixeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetGlobalPublicDelegatedPrefixeRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetGlobalPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

clearPublicDelegatedPrefix()

public GetGlobalPublicDelegatedPrefixeRequest.Builder clearPublicDelegatedPrefix()

Name of the PublicDelegatedPrefix resource to return.

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

Returns
TypeDescription
GetGlobalPublicDelegatedPrefixeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetGlobalPublicDelegatedPrefixeRequest getDefaultInstanceForType()
Returns
TypeDescription
GetGlobalPublicDelegatedPrefixeRequest

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetGlobalPublicDelegatedPrefixeRequest other)

public GetGlobalPublicDelegatedPrefixeRequest.Builder mergeFrom(GetGlobalPublicDelegatedPrefixeRequest other)
Parameter
NameDescription
otherGetGlobalPublicDelegatedPrefixeRequest
Returns
TypeDescription
GetGlobalPublicDelegatedPrefixeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

setPublicDelegatedPrefix(String value)

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

This builder for chaining.

setPublicDelegatedPrefixBytes(ByteString value)

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

This builder for chaining.

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

public GetGlobalPublicDelegatedPrefixeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetGlobalPublicDelegatedPrefixeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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