public static final class UnregisterSubscriberRequest.Builder extends GeneratedMessage.Builder<UnregisterSubscriberRequest.Builder> implements UnregisterSubscriberRequestOrBuilderRequest Message for UnregisterSubscriber.
Protobuf type google.cloud.channel.v1.UnregisterSubscriberRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UnregisterSubscriberRequest.BuilderImplements
UnregisterSubscriberRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UnregisterSubscriberRequest build()| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest |
|
buildPartial()
public UnregisterSubscriberRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest |
|
clear()
public UnregisterSubscriberRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
|
clearAccount()
public UnregisterSubscriberRequest.Builder clearAccount()Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.
string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
This builder for chaining. |
clearIntegrator()
public UnregisterSubscriberRequest.Builder clearIntegrator()Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
optional string integrator = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
This builder for chaining. |
clearServiceAccount()
public UnregisterSubscriberRequest.Builder clearServiceAccount()Required. Service account to unregister from subscriber access to the topic.
string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
This builder for chaining. |
getAccount()
public String getAccount()Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.
string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The account. |
getAccountBytes()
public ByteString getAccountBytes()Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.
string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for account. |
getDefaultInstanceForType()
public UnregisterSubscriberRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIntegrator()
public String getIntegrator()Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
optional string integrator = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The integrator. |
getIntegratorBytes()
public ByteString getIntegratorBytes()Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
optional string integrator = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for integrator. |
getServiceAccount()
public String getServiceAccount()Required. Service account to unregister from subscriber access to the topic.
string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()Required. Service account to unregister from subscriber access to the topic.
string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccount. |
hasIntegrator()
public boolean hasIntegrator()Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
optional string integrator = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the integrator field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UnregisterSubscriberRequest other)
public UnregisterSubscriberRequest.Builder mergeFrom(UnregisterSubscriberRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UnregisterSubscriberRequest |
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UnregisterSubscriberRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UnregisterSubscriberRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
|
setAccount(String value)
public UnregisterSubscriberRequest.Builder setAccount(String value)Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.
string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe account to set. |
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
This builder for chaining. |
setAccountBytes(ByteString value)
public UnregisterSubscriberRequest.Builder setAccountBytes(ByteString value)Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.
string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for account to set. |
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
This builder for chaining. |
setIntegrator(String value)
public UnregisterSubscriberRequest.Builder setIntegrator(String value)Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
optional string integrator = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe integrator to set. |
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
This builder for chaining. |
setIntegratorBytes(ByteString value)
public UnregisterSubscriberRequest.Builder setIntegratorBytes(ByteString value)Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
optional string integrator = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for integrator to set. |
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
This builder for chaining. |
setServiceAccount(String value)
public UnregisterSubscriberRequest.Builder setServiceAccount(String value)Required. Service account to unregister from subscriber access to the topic.
string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
This builder for chaining. |
setServiceAccountBytes(ByteString value)
public UnregisterSubscriberRequest.Builder setServiceAccountBytes(ByteString value)Required. Service account to unregister from subscriber access to the topic.
string service_account = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
UnregisterSubscriberRequest.Builder |
This builder for chaining. |