public static final class DeleteAgentGatewayRequest.Builder extends GeneratedMessage.Builder<DeleteAgentGatewayRequest.Builder> implements DeleteAgentGatewayRequestOrBuilderRequest used by the DeleteAgentGateway method.
Protobuf type google.cloud.networkservices.v1.DeleteAgentGatewayRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteAgentGatewayRequest.BuilderImplements
DeleteAgentGatewayRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteAgentGatewayRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest |
|
buildPartial()
public DeleteAgentGatewayRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest |
|
clear()
public DeleteAgentGatewayRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
|
clearEtag()
public DeleteAgentGatewayRequest.Builder clearEtag()Optional. The etag of the AgentGateway to delete.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
This builder for chaining. |
clearName()
public DeleteAgentGatewayRequest.Builder clearName() Required. A name of the AgentGateway to delete. Must be in the format
projects/*/locations/*/agentGateways/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteAgentGatewayRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEtag()
public String getEtag()Optional. The etag of the AgentGateway to delete.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The etag. |
getEtagBytes()
public ByteString getEtagBytes()Optional. The etag of the AgentGateway to delete.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for etag. |
getName()
public String getName() Required. A name of the AgentGateway to delete. Must be in the format
projects/*/locations/*/agentGateways/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. A name of the AgentGateway to delete. Must be in the format
projects/*/locations/*/agentGateways/*.
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteAgentGatewayRequest other)
public DeleteAgentGatewayRequest.Builder mergeFrom(DeleteAgentGatewayRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteAgentGatewayRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteAgentGatewayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteAgentGatewayRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
|
setEtag(String value)
public DeleteAgentGatewayRequest.Builder setEtag(String value)Optional. The etag of the AgentGateway to delete.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe etag to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
This builder for chaining. |
setEtagBytes(ByteString value)
public DeleteAgentGatewayRequest.Builder setEtagBytes(ByteString value)Optional. The etag of the AgentGateway to delete.
string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for etag to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
This builder for chaining. |
setName(String value)
public DeleteAgentGatewayRequest.Builder setName(String value) Required. A name of the AgentGateway to delete. Must be in the format
projects/*/locations/*/agentGateways/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteAgentGatewayRequest.Builder setNameBytes(ByteString value) Required. A name of the AgentGateway to delete. Must be in the format
projects/*/locations/*/agentGateways/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteAgentGatewayRequest.Builder |
This builder for chaining. |