Class Provider (1.35.0)

public final class Provider extends GeneratedMessageV3 implements ProviderOrBuilder

A representation of the Provider resource.

Protobuf type google.cloud.eventarc.v1.Provider

Implements

ProviderOrBuilder

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_TYPES_FIELD_NUMBER

public static final int EVENT_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Provider getDefaultInstance()
Returns
TypeDescription
Provider

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Provider.Builder newBuilder()
Returns
TypeDescription
Provider.Builder

newBuilder(Provider prototype)

public static Provider.Builder newBuilder(Provider prototype)
Parameter
NameDescription
prototypeProvider
Returns
TypeDescription
Provider.Builder

parseDelimitedFrom(InputStream input)

public static Provider parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Provider
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Provider parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Provider
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Provider parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Provider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Provider parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Provider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Provider parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Provider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Provider parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Provider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Provider parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Provider
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Provider parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Provider
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Provider parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Provider
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Provider parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Provider
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Provider parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Provider
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Provider parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Provider
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Provider> parser()
Returns
TypeDescription
Parser<Provider>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Provider getDefaultInstanceForType()
Returns
TypeDescription
Provider

getDisplayName()

public String getDisplayName()

Output only. Human friendly name for the Provider. For example "Cloud Storage".

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. Human friendly name for the Provider. For example "Cloud Storage".

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for displayName.

getEventTypes(int index)

public EventType getEventTypes(int index)

Output only. Event types for this provider.

repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
EventType

getEventTypesCount()

public int getEventTypesCount()

Output only. Event types for this provider.

repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getEventTypesList()

public List<EventType> getEventTypesList()

Output only. Event types for this provider.

repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<EventType>

getEventTypesOrBuilder(int index)

public EventTypeOrBuilder getEventTypesOrBuilder(int index)

Output only. Event types for this provider.

repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
EventTypeOrBuilder

getEventTypesOrBuilderList()

public List<? extends EventTypeOrBuilder> getEventTypesOrBuilderList()

Output only. Event types for this provider.

repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.eventarc.v1.EventTypeOrBuilder>

getName()

public String getName()

Output only. In projects/{project}/locations/{location}/providers/{provider_id} format.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. In projects/{project}/locations/{location}/providers/{provider_id} format.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Provider> getParserForType()
Returns
TypeDescription
Parser<Provider>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Provider.Builder newBuilderForType()
Returns
TypeDescription
Provider.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Provider.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Provider.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Provider.Builder toBuilder()
Returns
TypeDescription
Provider.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException