public static final class CloudScope.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder> implements CloudScopeOrBuilder
auditlog.v2.CloudScope
Modifier and Type | Method and Description |
---|---|
CloudScope.Builder |
addAllResources(Iterable<? extends TypedCloudResourceRef> values)
The list of cloud resources involved in the scope of an action.
|
CloudScope.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudScope.Builder |
addResources(int index,
TypedCloudResourceRef.Builder builderForValue)
The list of cloud resources involved in the scope of an action.
|
CloudScope.Builder |
addResources(int index,
TypedCloudResourceRef value)
The list of cloud resources involved in the scope of an action.
|
CloudScope.Builder |
addResources(TypedCloudResourceRef.Builder builderForValue)
The list of cloud resources involved in the scope of an action.
|
CloudScope.Builder |
addResources(TypedCloudResourceRef value)
The list of cloud resources involved in the scope of an action.
|
TypedCloudResourceRef.Builder |
addResourcesBuilder()
The list of cloud resources involved in the scope of an action.
|
TypedCloudResourceRef.Builder |
addResourcesBuilder(int index)
The list of cloud resources involved in the scope of an action.
|
CloudScope |
build() |
CloudScope |
buildPartial() |
CloudScope.Builder |
clear() |
CloudScope.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudScope.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudScope.Builder |
clearResources()
The list of cloud resources involved in the scope of an action.
|
CloudScope.Builder |
clone() |
CloudScope |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
TypedCloudResourceRef |
getResources(int index)
The list of cloud resources involved in the scope of an action.
|
TypedCloudResourceRef.Builder |
getResourcesBuilder(int index)
The list of cloud resources involved in the scope of an action.
|
List<TypedCloudResourceRef.Builder> |
getResourcesBuilderList()
The list of cloud resources involved in the scope of an action.
|
int |
getResourcesCount()
The list of cloud resources involved in the scope of an action.
|
List<TypedCloudResourceRef> |
getResourcesList()
The list of cloud resources involved in the scope of an action.
|
TypedCloudResourceRefOrBuilder |
getResourcesOrBuilder(int index)
The list of cloud resources involved in the scope of an action.
|
List<? extends TypedCloudResourceRefOrBuilder> |
getResourcesOrBuilderList()
The list of cloud resources involved in the scope of an action.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CloudScope.Builder |
mergeFrom(CloudScope other) |
CloudScope.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudScope.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudScope.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudScope.Builder |
removeResources(int index)
The list of cloud resources involved in the scope of an action.
|
CloudScope.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudScope.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudScope.Builder |
setResources(int index,
TypedCloudResourceRef.Builder builderForValue)
The list of cloud resources involved in the scope of an action.
|
CloudScope.Builder |
setResources(int index,
TypedCloudResourceRef value)
The list of cloud resources involved in the scope of an action.
|
CloudScope.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public CloudScope.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public CloudScope getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CloudScope build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CloudScope buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CloudScope.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public CloudScope.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public CloudScope.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public CloudScope.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public CloudScope.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public CloudScope.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public CloudScope.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CloudScope.Builder>
public CloudScope.Builder mergeFrom(CloudScope other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public CloudScope.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CloudScope.Builder>
IOException
public List<TypedCloudResourceRef> getResourcesList()
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
getResourcesList
in interface CloudScopeOrBuilder
public int getResourcesCount()
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
getResourcesCount
in interface CloudScopeOrBuilder
public TypedCloudResourceRef getResources(int index)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
getResources
in interface CloudScopeOrBuilder
public CloudScope.Builder setResources(int index, TypedCloudResourceRef value)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public CloudScope.Builder setResources(int index, TypedCloudResourceRef.Builder builderForValue)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public CloudScope.Builder addResources(TypedCloudResourceRef value)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public CloudScope.Builder addResources(int index, TypedCloudResourceRef value)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public CloudScope.Builder addResources(TypedCloudResourceRef.Builder builderForValue)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public CloudScope.Builder addResources(int index, TypedCloudResourceRef.Builder builderForValue)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public CloudScope.Builder addAllResources(Iterable<? extends TypedCloudResourceRef> values)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public CloudScope.Builder clearResources()
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public CloudScope.Builder removeResources(int index)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public TypedCloudResourceRef.Builder getResourcesBuilder(int index)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public TypedCloudResourceRefOrBuilder getResourcesOrBuilder(int index)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
getResourcesOrBuilder
in interface CloudScopeOrBuilder
public List<? extends TypedCloudResourceRefOrBuilder> getResourcesOrBuilderList()
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
getResourcesOrBuilderList
in interface CloudScopeOrBuilder
public TypedCloudResourceRef.Builder addResourcesBuilder()
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public TypedCloudResourceRef.Builder addResourcesBuilder(int index)
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public List<TypedCloudResourceRef.Builder> getResourcesBuilderList()
The list of cloud resources involved in the scope of an action. For example, an action on a kafka topic may involve a change on an organization resource, an environment resource, a cloud cluster resource and the kafka cluster resource The corresponding resource list would look like [ { type: ORGANIZATION, resource_id: "abc123def456ghi789" }, { type: ENVIRONMENT, resource_id: "env-foo808" }, { type: CLOUD_CLUSTER, resource_id: "lkc-a1b2c3" }, { type: KAFKA_CLUSTER, resource_id: "lkc-a1b2c3" }, ] Resources should be ordered in terms of broadest to narrowest. For example, an organization contains many environments, so organization is broader and hence appears before environment.
repeated .auditlog.v2.TypedCloudResourceRef resources = 1;
public final CloudScope.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>
public final CloudScope.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CloudScope.Builder>