Class GetSACAttachmentRequest.Builder (0.96.0)

public static final class GetSACAttachmentRequest.Builder extends GeneratedMessage.Builder<GetSACAttachmentRequest.Builder> implements GetSACAttachmentRequestOrBuilder

Request for GetSACAttachment method.

Protobuf type google.cloud.networksecurity.v1.GetSACAttachmentRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetSACAttachmentRequest build()
Returns
Type Description
GetSACAttachmentRequest

buildPartial()

public GetSACAttachmentRequest buildPartial()
Returns
Type Description
GetSACAttachmentRequest

clear()

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

clearName()

public GetSACAttachmentRequest.Builder clearName()

Required. Name of the resource, in the form projects/{project}/locations/{location}/sacAttachments/{sac_attachment}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetSACAttachmentRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetSACAttachmentRequest getDefaultInstanceForType()
Returns
Type Description
GetSACAttachmentRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the resource, in the form projects/{project}/locations/{location}/sacAttachments/{sac_attachment}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the resource, in the form projects/{project}/locations/{location}/sacAttachments/{sac_attachment}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetSACAttachmentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetSACAttachmentRequest.Builder setName(String value)

Required. Name of the resource, in the form projects/{project}/locations/{location}/sacAttachments/{sac_attachment}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetSACAttachmentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetSACAttachmentRequest.Builder setNameBytes(ByteString value)

Required. Name of the resource, in the form projects/{project}/locations/{location}/sacAttachments/{sac_attachment}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetSACAttachmentRequest.Builder

This builder for chaining.