public static final class Provider.Builder extends GeneratedMessageV3.Builder<Provider.Builder> implements ProviderOrBuilder
A representation of the Provider resource.
Protobuf type google.cloud.eventarc.v1.Provider
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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];
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];
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];
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];
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];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Provider.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Provider buildPartial()
clear()
public Provider.Builder clear()
Overrides
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];
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];
clearField(Descriptors.FieldDescriptor field)
public Provider.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public Provider.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Provider.Builder clone()
Overrides
getDefaultInstanceForType()
public Provider getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
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];
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];
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
|
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()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Provider other)
public Provider.Builder mergeFrom(Provider other)
Parameter |
Name |
Description |
other |
Provider
|
public Provider.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Provider.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Provider.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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 |
String
The displayName to set.
|
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 |
ByteString
The bytes for displayName to set.
|
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public Provider.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The name to set.
|
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 |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Provider.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Provider.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides