public static final class NotificationConfig.PubSub extends GeneratedMessageV3 implements NotificationConfig.PubSubOrBuilder
Pub/Sub specific notification config.
Protobuf type google.container.v1beta1.NotificationConfig.PubSub
Static Fields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Field Value
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NotificationConfig.PubSub getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NotificationConfig.PubSub.Builder newBuilder()
Returns
newBuilder(NotificationConfig.PubSub prototype)
public static NotificationConfig.PubSub.Builder newBuilder(NotificationConfig.PubSub prototype)
Parameter
Returns
public static NotificationConfig.PubSub parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NotificationConfig.PubSub parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NotificationConfig.PubSub parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NotificationConfig.PubSub parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NotificationConfig.PubSub parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NotificationConfig.PubSub parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NotificationConfig.PubSub parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NotificationConfig.PubSub parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NotificationConfig.PubSub parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NotificationConfig.PubSub parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NotificationConfig.PubSub parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NotificationConfig.PubSub parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NotificationConfig.PubSub> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public NotificationConfig.PubSub getDefaultInstanceForType()
Returns
getEnabled()
public boolean getEnabled()
Enable notifications for Pub/Sub.
bool enabled = 1;
Returns
getFilter()
public NotificationConfig.Filter getFilter()
Allows filtering to one or more specific event types. If no filter is
specified, or if a filter is specified with no event types, all event
types will be sent
.google.container.v1beta1.NotificationConfig.Filter filter = 3;
Returns
getFilterOrBuilder()
public NotificationConfig.FilterOrBuilder getFilterOrBuilder()
Allows filtering to one or more specific event types. If no filter is
specified, or if a filter is specified with no event types, all event
types will be sent
.google.container.v1beta1.NotificationConfig.Filter filter = 3;
Returns
getParserForType()
public Parser<NotificationConfig.PubSub> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTopic()
The desired Pub/Sub topic to which notifications will be
sent by GKE. Format is projects/{project}/topics/{topic}
.
string topic = 2 [(.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The topic.
|
getTopicBytes()
public ByteString getTopicBytes()
The desired Pub/Sub topic to which notifications will be
sent by GKE. Format is projects/{project}/topics/{topic}
.
string topic = 2 [(.google.api.resource_reference) = { ... }
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasFilter()
public boolean hasFilter()
Allows filtering to one or more specific event types. If no filter is
specified, or if a filter is specified with no event types, all event
types will be sent
.google.container.v1beta1.NotificationConfig.Filter filter = 3;
Returns
Type | Description |
boolean | Whether the filter field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NotificationConfig.PubSub.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NotificationConfig.PubSub.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NotificationConfig.PubSub.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions