public static final class DeleteChannelRequest.Builder extends GeneratedMessage.Builder<DeleteChannelRequest.Builder> implements DeleteChannelRequestOrBuilderThe request message for the DeleteChannel method.
Protobuf type google.cloud.eventarc.v1.DeleteChannelRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteChannelRequest.BuilderImplements
DeleteChannelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteChannelRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest |
|
buildPartial()
public DeleteChannelRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest |
|
clear()
public DeleteChannelRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest.Builder |
|
clearName()
public DeleteChannelRequest.Builder clearName()Required. The name of the channel to be deleted.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public DeleteChannelRequest.Builder clearValidateOnly()Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteChannelRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the channel to be deleted.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the channel to be deleted.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getValidateOnly()
public boolean getValidateOnly()Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteChannelRequest other)
public DeleteChannelRequest.Builder mergeFrom(DeleteChannelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteChannelRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteChannelRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest.Builder |
|
setName(String value)
public DeleteChannelRequest.Builder setName(String value)Required. The name of the channel to be deleted.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteChannelRequest.Builder setNameBytes(ByteString value)Required. The name of the channel to be deleted.
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 |
DeleteChannelRequest.Builder |
This builder for chaining. |
setValidateOnly(boolean value)
public DeleteChannelRequest.Builder setValidateOnly(boolean value)Optional. If set, validate the request and preview the review, but do not post it.
bool validate_only = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteChannelRequest.Builder |
This builder for chaining. |