public static final class Provider.Builder extends GeneratedMessage.Builder<Provider.Builder> implements ProviderOrBuilderA representation of the Provider resource.
Protobuf type google.cloud.eventarc.v1.Provider
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Provider.BuilderImplements
ProviderOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllEventTypes(Iterable<? extends EventType> values)
public Provider.Builder addAllEventTypes(Iterable<? extends EventType> values)Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.eventarc.v1.EventType> |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
addEventTypes(EventType value)
public Provider.Builder addEventTypes(EventType value)Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
EventType |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
addEventTypes(EventType.Builder builderForValue)
public Provider.Builder addEventTypes(EventType.Builder builderForValue)Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EventType.Builder |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
addEventTypes(int index, EventType value)
public Provider.Builder addEventTypes(int index, EventType value)Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EventType |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
addEventTypes(int index, EventType.Builder builderForValue)
public Provider.Builder addEventTypes(int index, EventType.Builder builderForValue)Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EventType.Builder |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
addEventTypesBuilder()
public EventType.Builder addEventTypesBuilder()Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
EventType.Builder |
|
addEventTypesBuilder(int index)
public EventType.Builder addEventTypesBuilder(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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EventType.Builder |
|
build()
public Provider build()| Returns | |
|---|---|
| Type | Description |
Provider |
|
buildPartial()
public Provider buildPartial()| Returns | |
|---|---|
| Type | Description |
Provider |
|
clear()
public Provider.Builder clear()| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
clearDisplayName()
public Provider.Builder clearDisplayName()Output only. Human friendly name for the Provider. For example "Cloud Storage".
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
This builder for chaining. |
clearEventTypes()
public Provider.Builder clearEventTypes()Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
clearName()
public Provider.Builder clearName() Output only. In
projects/{project}/locations/{location}/providers/{provider_id} format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Provider getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Provider |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EventType |
|
getEventTypesBuilder(int index)
public EventType.Builder getEventTypesBuilder(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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EventType.Builder |
|
getEventTypesBuilderList()
public List<EventType.Builder> getEventTypesBuilderList()Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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(Provider other)
public Provider.Builder mergeFrom(Provider other)| Parameter | |
|---|---|
| Name | Description |
other |
Provider |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Provider.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Provider.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
removeEventTypes(int index)
public Provider.Builder removeEventTypes(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 | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
setDisplayName(String value)
public Provider.Builder setDisplayName(String value)Output only. Human friendly name for the Provider. For example "Cloud Storage".
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Provider.Builder setDisplayNameBytes(ByteString value)Output only. Human friendly name for the Provider. For example "Cloud Storage".
string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
This builder for chaining. |
setEventTypes(int index, EventType value)
public Provider.Builder setEventTypes(int index, EventType value)Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EventType |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
setEventTypes(int index, EventType.Builder builderForValue)
public Provider.Builder setEventTypes(int index, EventType.Builder builderForValue)Output only. Event types for this provider.
repeated .google.cloud.eventarc.v1.EventType event_types = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EventType.Builder |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
|
setName(String value)
public Provider.Builder setName(String value) Output only. In
projects/{project}/locations/{location}/providers/{provider_id} format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Provider.Builder setNameBytes(ByteString value) Output only. In
projects/{project}/locations/{location}/providers/{provider_id} format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Provider.Builder |
This builder for chaining. |