Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

public interface AuditConfigDeltaOrBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

public interface AuditConfigOrBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

public interface AuditLogConfigOrBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

/**
Expand Down Expand Up @@ -60,6 +61,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.iam.v1.Binding.class, com.google.iam.v1.Binding.Builder.class);
}

private int bitField0_;
public static final int ROLE_FIELD_NUMBER = 1;

@SuppressWarnings("serial")
Expand Down Expand Up @@ -367,7 +369,7 @@ public com.google.protobuf.ByteString getMembersBytes(int index) {
*/
@java.lang.Override
public boolean hasCondition() {
return condition_ != null;
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
Expand Down Expand Up @@ -440,7 +442,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < members_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, members_.getRaw(i));
}
if (condition_ != null) {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(3, getCondition());
}
getUnknownFields().writeTo(output);
Expand All @@ -463,7 +465,7 @@ public int getSerializedSize() {
size += dataSize;
size += 1 * getMembersList().size();
}
if (condition_ != null) {
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCondition());
}
size += getUnknownFields().getSerializedSize();
Expand Down Expand Up @@ -633,10 +635,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}

// Construct using com.google.iam.v1.Binding.newBuilder()
private Builder() {}
private Builder() {
maybeForceBuilderInitialization();
}

private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}

private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getConditionFieldBuilder();
}
}

@java.lang.Override
Expand Down Expand Up @@ -691,9 +702,12 @@ private void buildPartial0(com.google.iam.v1.Binding result) {
members_.makeImmutable();
result.members_ = members_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}

@java.lang.Override
Expand Down Expand Up @@ -1630,8 +1644,10 @@ public Builder mergeCondition(com.google.type.Expr value) {
} else {
conditionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
onChanged();
if (condition_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

/**
Expand Down Expand Up @@ -220,6 +221,7 @@ private Action(int value) {
// @@protoc_insertion_point(enum_scope:google.iam.v1.BindingDelta.Action)
}

private int bitField0_;
public static final int ACTION_FIELD_NUMBER = 1;
private int action_ = 0;
/**
Expand Down Expand Up @@ -382,7 +384,7 @@ public com.google.protobuf.ByteString getMemberBytes() {
*/
@java.lang.Override
public boolean hasCondition() {
return condition_ != null;
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
Expand Down Expand Up @@ -436,7 +438,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(member_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, member_);
}
if (condition_ != null) {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getCondition());
}
getUnknownFields().writeTo(output);
Expand All @@ -457,7 +459,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(member_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, member_);
}
if (condition_ != null) {
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCondition());
}
size += getUnknownFields().getSerializedSize();
Expand Down Expand Up @@ -630,10 +632,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}

// Construct using com.google.iam.v1.BindingDelta.newBuilder()
private Builder() {}
private Builder() {
maybeForceBuilderInitialization();
}

private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}

private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getConditionFieldBuilder();
}
}

@java.lang.Override
Expand Down Expand Up @@ -691,9 +702,12 @@ private void buildPartial0(com.google.iam.v1.BindingDelta result) {
if (((from_bitField0_ & 0x00000004) != 0)) {
result.member_ = member_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000008) != 0)) {
result.condition_ = conditionBuilder_ == null ? condition_ : conditionBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}

@java.lang.Override
Expand Down Expand Up @@ -1251,8 +1265,10 @@ public Builder mergeCondition(com.google.type.Expr value) {
} else {
conditionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
onChanged();
if (condition_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

public interface BindingDeltaOrBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

public interface BindingOrBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/iam_policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

/**
Expand Down Expand Up @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.iam.v1.GetIamPolicyRequest.Builder.class);
}

private int bitField0_;
public static final int RESOURCE_FIELD_NUMBER = 1;

@SuppressWarnings("serial")
Expand Down Expand Up @@ -135,7 +137,7 @@ public com.google.protobuf.ByteString getResourceBytes() {
*/
@java.lang.Override
public boolean hasOptions() {
return options_ != null;
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
Expand Down Expand Up @@ -185,7 +187,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resource_);
}
if (options_ != null) {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getOptions());
}
getUnknownFields().writeTo(output);
Expand All @@ -200,7 +202,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resource_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resource_);
}
if (options_ != null) {
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOptions());
}
size += getUnknownFields().getSerializedSize();
Expand Down Expand Up @@ -368,10 +370,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}

// Construct using com.google.iam.v1.GetIamPolicyRequest.newBuilder()
private Builder() {}
private Builder() {
maybeForceBuilderInitialization();
}

private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}

private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getOptionsFieldBuilder();
}
}

@java.lang.Override
Expand Down Expand Up @@ -423,9 +434,12 @@ private void buildPartial0(com.google.iam.v1.GetIamPolicyRequest result) {
if (((from_bitField0_ & 0x00000001) != 0)) {
result.resource_ = resource_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.options_ = optionsBuilder_ == null ? options_ : optionsBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}

@java.lang.Override
Expand Down Expand Up @@ -766,8 +780,10 @@ public Builder mergeOptions(com.google.iam.v1.GetPolicyOptions value) {
} else {
optionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
onChanged();
if (options_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/iam_policy.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

public interface GetIamPolicyRequestOrBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/options.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/iam/v1/options.proto

// Protobuf Java Version: 3.25.2
package com.google.iam.v1;

public interface GetPolicyOptionsOrBuilder
Expand Down
Loading